Revision a6174079
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
templates/webpages/menu/menunew.html | ||
---|---|---|
42 | 42 |
[%- HTML.escape(mainitem.title) %] |
43 | 43 |
</a> |
44 | 44 |
[%- IF mainitem.subitems %] |
45 |
<ul[%- IF force_ul_width %] width="[% mainitem.max_width * 12 %]"[% END %]>
|
|
45 |
<ul[%- IF force_ul_width %] width="[% mainitem.max_width * 10 %]"[% END %]>
|
|
46 | 46 |
[%- SET sub1_id = main_id * 100 %] |
47 | 47 |
[%- FOREACH sub1item = mainitem.subitems %] |
48 | 48 |
[%- SET sub1_id = sub1_id + 1 %] |
... | ... | |
51 | 51 |
[%- HTML.escape(sub1item.title) %] |
52 | 52 |
</a> |
53 | 53 |
[%- IF sub1item.subitems %] |
54 |
<ul[%- IF force_ul_width %] width="[% sub1item.max_width * 12 %]"[% END %]>
|
|
54 |
<ul[%- IF force_ul_width %] width="[% sub1item.max_width * 10 %]"[% END %]>
|
|
55 | 55 |
[%- SET sub2_id = sub1_id * 100 %] |
56 | 56 |
[%- FOREACH sub2item = sub1item.subitems %] |
57 | 57 |
[%- SET sub2_id = sub2_id + 1 %] |
Auch abrufbar als: Unified diff
JS-Menü-Einträge schmaler rendern
Getestet mit Chrome auf Linux/Windows; Firefox 14 auf Linux/Windows;
Internet Explorer 9.