Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use getConf() to access configuration options / added en language files
- Loading branch information
Showing
4 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
<?php | |||
$conf['numerical_index'] = '0-9'; | |||
$conf['articles_deletion'] = ''; | |||
$conf['articles_moving'] = 1; | |||
$conf['empty_msg'] = 'No index for <b>{{ns}}</b>'; | |||
$conf['title_tpl'] = '===== Index ====='; | |||
$conf['begin_letter_tpl'] = '==== {{letter}} ===='; | |||
$conf['entry_tpl'] = ' * [[{{link}}|{{name}}]]'; | |||
$conf['end_letter_tpl'] = ''; | |||
$conf['hidepages'] = ''; | |||
$conf['metadata_title'] = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
<?php | |||
$meta['numerical_index'] = array('string'); | |||
$meta['articles_deletion'] = array('string'); | |||
$meta['articles_moving'] = array('multichoice', '_choices' => array('0', '1' ,'2')); | |||
$meta['empty_msg'] = array('string'); | |||
$meta['title_tpl'] = array('string'); | |||
$meta['begin_letter_tpl'] = array('string'); | |||
$meta['entry_tpl'] = array('string'); | |||
$meta['end_letter_tpl'] = array('string'); | |||
$meta['hidepages'] = array('string'); | |||
$meta['metadata_title'] = array('onoff'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
<?php | |||
$lang['numerical_index'] = 'Text display in block letter title for the page title beginning with a numerical value.'; | |||
$lang['articles_deletion'] = "List of article treated by the plugin. Each article is separated with a '|'. Example: <strong>^the +|^a +|^an +</strong>"; | |||
$lang['articles_moving'] = 'Management of the articles when the article_deletion option is active:<ul><li>0 : No change</li><li>1 : The article is move to the end of the page name inside brackets</li><li>2 or more : The article is deleted</li></ul>'; | |||
$lang['empty_msg'] = 'Message shown in your page when the index is empty.<br>Note : {{ns}} is an alias for the requested namespace.'; | |||
$lang['title_tpl'] = 'Template (in dokuwiki syntax) for the index title.'; | |||
$lang['begin_letter_tpl'] = "Template (in dokuwiki syntax) at the beginning of each letter's blok.<br>Note : the {{letter}} pattern is mandatory. It's an alias for the current letter."; | |||
$lang['entry_tpl'] = "Template (in dokuwiki syntax) for each letter's entry.<br>Note : the {{link}} and {{name}} patterns are mandatory.They are aliases for the page link and the page name."; | |||
$lang['end_letter_tpl'] = "Template (in dokuwiki syntax) at the end of each letter's block."; | |||
$lang['hidepages'] = "Name of pages not displayed in the index. Each page name is separated with a '|'."; | |||
$lang['metadata_title'] = "Use first heading for pagenames"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters