From c69534d490d446200a70cac57ac202974409a8bc Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 17 Jan 2009 00:50:51 +0100 Subject: adjusted config manager for new config option 'tocminheads' darcs-hash:20090116235051-f7d6d-8898c5f3433c701191bfd8652bdccb6d46a8ce6b.gz --- lib/plugins/config/lang/de/lang.php | 1 + lib/plugins/config/lang/en/lang.php | 1 + lib/plugins/config/settings/config.metadata.php | 1 + 3 files changed, 3 insertions(+) (limited to 'lib/plugins') diff --git a/lib/plugins/config/lang/de/lang.php b/lib/plugins/config/lang/de/lang.php index 9cffedda8..ca46e041d 100644 --- a/lib/plugins/config/lang/de/lang.php +++ b/lib/plugins/config/lang/de/lang.php @@ -56,6 +56,7 @@ $lang['phpok'] = 'PHP erlauben'; $lang['dformat'] = 'Datumsformat (Siehe PHP strftime Funktion)'; $lang['signature'] = 'Signatur'; $lang['toptoclevel'] = 'Inhaltsverzeichnis bei dieser Überschriftsgröße beginnen'; +$lang['tocminheads'] = 'Mindestanzahl der Überschriften, die entscheidet ob ein Inhaltsverzeichnis erscheinen soll'; $lang['maxtoclevel'] = 'Maximale Überschriftsgröße für Inhaltsverzeichnis'; $lang['maxseclevel'] = 'Abschnitte bis zu dieser Stufe einzeln editierbar machen'; $lang['camelcase'] = 'CamelCase-Verlinkungen verwenden'; diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php index 85317251a..11d77c800 100644 --- a/lib/plugins/config/lang/en/lang.php +++ b/lib/plugins/config/lang/en/lang.php @@ -68,6 +68,7 @@ $lang['phpok'] = 'Allow embedded PHP'; $lang['dformat'] = 'Date format (see PHP\'s strftime function)'; $lang['signature'] = 'Signature'; $lang['toptoclevel'] = 'Top level for table of contents'; +$lang['tocminheads'] = 'Minimum amount of headlines that determines whether the TOC is built'; $lang['maxtoclevel'] = 'Maximum level for table of contents'; $lang['maxseclevel'] = 'Maximum section edit level'; $lang['camelcase'] = 'Use CamelCase for links'; diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php index 12795d1bb..dbca49f84 100644 --- a/lib/plugins/config/settings/config.metadata.php +++ b/lib/plugins/config/settings/config.metadata.php @@ -102,6 +102,7 @@ $meta['dformat'] = array('string'); $meta['signature'] = array('string'); $meta['showuseras'] = array('multichoice','_choices' => array('loginname','username','email','email_link')); $meta['toptoclevel'] = array('multichoice','_choices' => array(1,2,3,4,5)); // 5 toc levels +$meta['tocminheads'] = array('multichoice','_choices' => array(0,1,2,3,4,5,10,15,20)); $meta['maxtoclevel'] = array('multichoice','_choices' => array(0,1,2,3,4,5)); $meta['maxseclevel'] = array('multichoice','_choices' => array(0,1,2,3,4,5)); // 0 for no sec edit buttons $meta['camelcase'] = array('onoff'); -- cgit v1.2.3