Make sidebar toggle elements configurable
Current options are h1, h1 and h2, h1-h5, top-level list items SPR-754
This commit is contained in:
parent
26a5535e70
commit
cb7cc643bf
7 changed files with 31 additions and 30 deletions
|
@ -4,13 +4,5 @@
|
|||
*
|
||||
*/
|
||||
|
||||
$conf['logo'] = 'wiki:logo.png';
|
||||
$conf['mobile_logo'] = 'images/fav/favicon-32x32.png';
|
||||
$conf['sidebar_sections'] = 'h1,h2,h3,h4,h5';
|
||||
|
||||
$conf['logo_spacer'] = 'logo_spacer.png';
|
||||
|
||||
$conf['discussionPage'] = 'discussion:@ID@';
|
||||
$conf['userPage'] = 'user:@USER@:';
|
||||
$conf['user_ns'] = 'user';
|
||||
$conf['hideTools'] = 0;
|
||||
$conf['tasks_page'] = 'dashboard';
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
<?php
|
||||
/*
|
||||
* configuration metadata
|
||||
*
|
||||
*/
|
||||
|
||||
$meta['logo'] = array('string');
|
||||
$conf['logo_spacer'] = array('string');
|
||||
|
||||
$meta['discussionPage'] = array('string');
|
||||
$meta['userPage'] = array('string');
|
||||
$conf['user_ns'] = array('string');
|
||||
$meta['hideTools'] = array('onoff');
|
||||
$meta['tasks_page'] = array('string');
|
||||
$meta['sidebar_sections'] = array(
|
||||
'multichoice',
|
||||
'_choices' => array(
|
||||
'h1',
|
||||
'h1,h2',
|
||||
'h1,h2,h3,h4,h5',
|
||||
'li.level1 > .li',
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue