Revision a85900cb
Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt
templates/webpages/menu/menuv3.html | ||
---|---|---|
1 | 1 |
[%- USE L %] |
2 | 2 |
[%- USE HTML %] |
3 |
<div id="menuv3">[% FOREACH node = menu.tree %][% NEXT UNLESS node.visible %]<ul><li>[% PROCESS submenu top=1 %]</li></ul>[% END %]</div> |
|
3 |
<div id="menuv3"> |
|
4 |
[% FOREACH node = menu.tree %][% NEXT UNLESS node.visible %] |
|
5 |
<ul> |
|
6 |
<li>[% PROCESS submenu top=1 %]</li> |
|
7 |
</ul> |
|
8 |
[% END %] |
|
9 |
</div> |
|
4 | 10 |
<div style="clear: both;"></div> |
5 | 11 |
[%- %] |
6 | 12 |
[%- BLOCK submenu %] |
7 |
[%- IF top %]<h2>[% menu.name_for_node(node) | html %]</h2> |
|
8 |
[%- ELSIF node.children %]<div class="x">[% menu.name_for_node(node) | html %]</div> |
|
9 |
[%- ELSE %][% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node), target=node.target) %] |
|
13 |
[%- IF top %] |
|
14 |
[% menu.name_for_node(node) | html %] |
|
15 |
[%- ELSIF node.children %] |
|
16 |
<div class="x">[% menu.name_for_node(node) | html %]</div> |
|
17 |
[%- ELSE %] |
|
18 |
[% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node), target=node.target) %] |
|
19 |
[%- END %] |
|
20 |
[%- IF node.children %] |
|
21 |
<ul> |
|
22 |
[%- FOREACH node = node.children %] |
|
23 |
[% NEXT UNLESS node.visible %]<li>[% PROCESS submenu top=0 %]</li> |
|
24 |
[% END %] |
|
25 |
</ul> |
|
10 | 26 |
[%- END %] |
11 |
[%- IF node.children %]<ul>[%- FOREACH node = node.children %][% NEXT UNLESS node.visible %]<li>[% PROCESS submenu top=0 %]</li>[% END %]</ul>[%- END %] |
|
12 | 27 |
[%- END %] |
Auch abrufbar als: Unified diff
Preview design 4.0