dokuwiki-indexmenu-plugin – Diff between revs 1 and 4
?pathlinks?
Rev 1 | Rev 4 | |||
---|---|---|---|---|
Line 33... | Line 33... | |||
33 | * @param array $values |
33 | * @param array $values |
|
34 | * @return array aligned similar to output of handle() |
34 | * @return array aligned similar to output of handle() |
|
35 | */ |
35 | */ |
|
36 | function createData($values) { |
36 | function createData($values) { |
|
Line 37... | Line 37... | |||
37 | |
37 | |
|
38 | list($ns, $theme, $identifier, $nocookie, $navbar, $noscroll, $maxjs, $notoc, $scorespace, $jsajax, $context, $nomenu, |
38 | list($ns, $theme, $identifier, $nocookie, $navbar, $noscroll, $maxjs, $notoc, $jsajax, $context, $nomenu, |
|
39 | $sort, $msort, $rsort, $nsort, $level, $nons, $nopg, $nss, $max, $js, $skipns, $skipfile, $hsort, |
39 | $sort, $msort, $rsort, $nsort, $level, $nons, $nopg, $nss, $max, $js, $skipns, $skipfile, $hsort, |
|
Line 40... | Line 40... | |||
40 | $headpage, $hide_headpage) = $values; |
40 | $headpage, $hide_headpage) = $values; |
|
41 | |
41 | |
|
Line 47... | Line 47... | |||
47 | 'nocookie' => $nocookie, |
47 | 'nocookie' => $nocookie, |
|
48 | 'navbar' => $navbar, |
48 | 'navbar' => $navbar, |
|
49 | 'noscroll' => $noscroll, |
49 | 'noscroll' => $noscroll, |
|
50 | 'maxjs' => $maxjs, |
50 | 'maxjs' => $maxjs, |
|
51 | 'notoc' => $notoc, |
51 | 'notoc' => $notoc, |
|
52 | 'scorespace' => $scorespace, |
- | ||
53 | 'jsajax' => $jsajax, |
52 | 'jsajax' => $jsajax, |
|
54 | 'context' => $context, |
53 | 'context' => $context, |
|
55 | 'nomenu' => $nomenu, |
54 | 'nomenu' => $nomenu, |
|
56 | ), |
55 | ), |
|
57 | $sort, |
56 | $sort, |
|
Line 124... | Line 123... | |||
124 | ":start:,:same:,:inside:", 1 |
123 | ":start:,:same:,:inside:", 1 |
|
125 | ), |
124 | ), |
|
126 | ), |
125 | ), |
|
127 | //root ns, #levels=1, all options |
126 | //root ns, #levels=1, all options |
|
128 | array( |
127 | array( |
|
129 | 'syntax'=> "{{indexmenu>#1|navbar context nocookie noscroll notoc scorespace nomenu dsort msort#date:modified hsort rsort nsort nons nopg max#2#4 maxjs#3 id#54321}}", |
128 | 'syntax'=> "{{indexmenu>#1|navbar context nocookie noscroll notoc nomenu dsort msort#date:modified hsort rsort nsort nons nopg max#2#4 maxjs#3 id#54321}}", |
|
130 | 'data' => array( |
129 | 'data' => array( |
|
131 | '', 'default', 'random', true, true, true, 0, true, '&sort=d&msort=date modified&rsort=1&nsort=1&hsort=1&nopg=1', true, true, |
130 | '', 'default', 'random', true, true, true, 0, true, '&sort=d&msort=date modified&rsort=1&nsort=1&hsort=1&nopg=1', true, true, |
|
132 | 'd', 'date modified', true, true, 1, true, true, array(), 0, false, array(''), array(''), true, |
131 | 'd', 'date modified', true, true, 1, true, true, array(), 0, false, array(''), array(''), true, |
|
133 | ":start:,:same:,:inside:", 1 |
132 | ":start:,:same:,:inside:", 1 |
|
134 | ) |
133 | ) |
|
135 | ), |
134 | ), |
|
136 | //root ns, #levels=1, js renderer, all options |
135 | //root ns, #levels=1, js renderer, all options |
|
137 | array( |
136 | array( |
|
138 | 'syntax'=> "{{indexmenu>#1|js#bj_ubuntu.png navbar context nocookie noscroll notoc scorespace nomenu dsort msort#date:modified hsort rsort nsort nons nopg max#2#4 maxjs#3 id#54321}}", |
137 | 'syntax'=> "{{indexmenu>#1|js#bj_ubuntu.png navbar context nocookie noscroll notoc nomenu dsort msort#date:modified hsort rsort nsort nons nopg max#2#4 maxjs#3 id#54321}}", |
|
139 | 'data' => array( |
138 | 'data' => array( |
|
140 | '', 'bj_ubuntu.png', 54321, true, true, true, 3, true, '&sort=d&msort=date modified&rsort=1&nsort=1&hsort=1&nopg=1&max=4', true, true, |
139 | '', 'bj_ubuntu.png', 54321, true, true, true, 3, true, '&sort=d&msort=date modified&rsort=1&nsort=1&hsort=1&nopg=1&max=4', true, true, |
|
141 | 'd', 'date modified', true, true, 1, true, true, array(), 2, true, array(''), array(''), true, |
140 | 'd', 'date modified', true, true, 1, true, true, array(), 2, true, array(''), array(''), true, |
|
142 | ":start:,:same:,:inside:", 1 |
141 | ":start:,:same:,:inside:", 1 |
|
143 | ) |
142 | ) |