summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuy Brand <gb@isis.u-strasbg.fr>2008-03-09 21:15:27 +0100
committerGuy Brand <gb@isis.u-strasbg.fr>2008-03-09 21:15:27 +0100
commitada32d75817221b0570a12ffe885830dc7d19554 (patch)
treea25a4b628248f9ba025f09824fd60605de366b6f /lib
parenta0fed8ac0087b2df2ae74f037b7ffd679f86174e (diff)
downloadrpg-ada32d75817221b0570a12ffe885830dc7d19554.tar.gz
rpg-ada32d75817221b0570a12ffe885830dc7d19554.tar.bz2
Make config plugin aware of NS subscriptions and superuser/manager's list
darcs-hash:20080309201527-19e2d-35f2f183214981ee3532e210f68fe8a5d6121c36.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/config/lang/en/lang.php5
-rw-r--r--lib/plugins/config/settings/config.metadata.php4
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php
index 28aefaa59..ad6480bb4 100644
--- a/lib/plugins/config/lang/en/lang.php
+++ b/lib/plugins/config/lang/en/lang.php
@@ -88,12 +88,13 @@ $lang['autopasswd'] = 'Autogenerate passwords';
$lang['authtype'] = 'Authentication backend';
$lang['passcrypt'] = 'Password encryption method';
$lang['defaultgroup']= 'Default group';
-$lang['superuser'] = 'Superuser - a group or user with full access to all pages and functions regardless of the ACL settings';
-$lang['manager'] = 'Manager - a group or user with access to certain management functions';
+$lang['superuser'] = 'Superuser - group, user or comma separated list user1,@group1,user2 with full access to all pages and functions regardless of the ACL settings';
+$lang['manager'] = 'Manager - group, user or comma separated list user1,@group1,user2 with access to certain management functions';
$lang['profileconfirm'] = 'Confirm profile changes with password';
$lang['disableactions'] = 'Disable DokuWiki actions';
$lang['disableactions_check'] = 'Check';
$lang['disableactions_subscription'] = 'Subscribe/Unsubscribe';
+$lang['disableactions_nssubscription'] = 'Namespace Subscribe /Unsubscribe';
$lang['disableactions_wikicode'] = 'View source/Export Raw';
$lang['disableactions_other'] = 'Other actions (comma separated)';
$lang['sneaky_index'] = 'By default, DokuWiki will show all namespaces in the index view. Enabling this option will hide those where the user doesn\'t have read permissions. This might result in hiding of accessable subnamespaces. This may make the index unusable with certain ACL setups.';
diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php
index 1d235d45e..9bb37d2ef 100644
--- a/lib/plugins/config/settings/config.metadata.php
+++ b/lib/plugins/config/settings/config.metadata.php
@@ -116,8 +116,8 @@ $meta['manager'] = array('string');
$meta['profileconfirm'] = array('onoff');
$meta['registernotify'] = array('email');
$meta['disableactions'] = array('disableactions',
- '_choices' => array('backlink','index','recent','revisions','search','subscription','register','resendpwd','profile','edit','wikicode','check'),
- '_combine' => array('subscription' => array('subscribe','unsubscribe'), 'wikicode' => array('source','export_raw')));
+ '_choices' => array('backlink','index','recent','revisions','search','subscription','nssubscription','register','resendpwd','profile','edit','wikicode','check'),
+ '_combine' => array('subscription' => array('subscribe','unsubscribe'), 'wikicode' => array('source','export_raw'), 'nssubscription' => array('subscribens','unsubscribens')));
$meta['sneaky_index'] = array('onoff');
$meta['auth_security_timeout'] = array('numeric');