summaryrefslogtreecommitdiff
path: root/lib/plugins/config/lang
diff options
context:
space:
mode:
authorBen Coburn <btcoburn@silicodon.net>2006-05-20 12:37:18 +0200
committerBen Coburn <btcoburn@silicodon.net>2006-05-20 12:37:18 +0200
commit685bdd2e6c508c47a360b2dbf1beea318f7f99cd (patch)
tree5ea2b62309bfbdbb34552708363700a09901fb05 /lib/plugins/config/lang
parent3138b5c7607b434fa9b1b8c563ad461985d5b5c8 (diff)
downloadrpg-685bdd2e6c508c47a360b2dbf1beea318f7f99cd.tar.gz
rpg-685bdd2e6c508c47a360b2dbf1beea318f7f99cd.tar.bz2
config plugin ui update 20060520
This patch hides settings that are missing config metadata and optionally provides a list of warnings about settings that are not properly configured. - Warnings about settings are listed if $conf['allowdebug'] is true. - Warnings are listed by the $conf string as it appears in local.php. - Warnings show the $meta string as it would appear in the correct settings metadata file. - There are 3 kinds of warnings. - undefined There is no $meta information defined for this setting. - no class The setting class specified in $meta can not be found. This setting does have a $meta entry. - no default The setting is missing a default value. The setting does have a $meta entry with a valid setting class. - Note: Settings with metadata but other warnings are allowed to appear in the normal config settings list. Also... - Templates can now define their own settings classes. - Removed an XHTML validation error from the first patch. - More language strings to go with the new warnings. The warnings under the 'Undefined Settings' heading are intended to provide developers with a list of any settings that they have forgotten to finish preparing for the config plugin. This list should be blank for stable releases. darcs-hash:20060520103718-05dcb-6d4e6bce78498cbf9d087e27d52e4aa30917b0a5.gz
Diffstat (limited to 'lib/plugins/config/lang')
-rw-r--r--lib/plugins/config/lang/en/lang.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php
index 5e2599419..dce4b0faf 100644
--- a/lib/plugins/config/lang/en/lang.php
+++ b/lib/plugins/config/lang/en/lang.php
@@ -22,6 +22,7 @@ $lang['_configuration_manager'] = 'Configuration Manager'; //same as heading in
$lang['_header_dokuwiki'] = 'DokuWiki Settings';
$lang['_header_plugin'] = 'Plugin Settings';
$lang['_header_template'] = 'Template Settings';
+$lang['_header_undefined'] = 'Undefined Settings';
/* --- Config Setting Groups --- */
$lang['_basic'] = 'Basic Settings';
@@ -40,6 +41,11 @@ $lang['_network'] = 'Network Settings';
$lang['_plugin_sufix'] = 'Plugin Settings';
$lang['_template_sufix'] = 'Template Settings';
+/* --- Undefined Setting Messages --- */
+$lang['_msg_setting_undefined'] = 'No setting metadata.';
+$lang['_msg_setting_no_class'] = 'No setting class.';
+$lang['_msg_setting_no_default'] = 'No default value.';
+
/* -------------------- Config Options --------------------------- */
$lang['fmode'] = 'File creation mode';