Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3fc38171

Von Andreas Rudin vor etwa 6 Jahren hinzugefügt

  • ID 3fc381717c5e7f0f657f604880fac7b7be4e492b
  • Vorgänger 9439c4f2
  • Nachfolger a58ef474

HP Aenderungen bis Oktober 2018

Unterschiede anzeigen:

templates/webpages/menu/menuv3.html
1
[%- USE L %]
2
[%- USE HTML %]
1
[% USE L %]
2
[% USE HTML %]
3

  
3 4
<div id="menuv3">
4 5
  [% FOREACH node = menu.tree %][% NEXT UNLESS node.visible %]
5 6
  <ul>
......
8 9
  [% END %]
9 10
  </div>
10 11
<div style="clear: both;"></div>
11
[%- %]
12
[%- BLOCK submenu %]
13
  [%- IF top %]
12
[% %]
13
[% BLOCK submenu %]
14
  [% IF top %]
14 15
    [% menu.name_for_node(node) | html %]
15
  [%- ELSIF node.children %]
16
  [% ELSIF node.children %]
16 17
    <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 %]
18
  [% ELSE                %]
19
    [% IF node.target %]
20
      [% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node), target=node.target) %]
21
    [% ELSE %]
22
      [% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node)) %]
23
    [% END %]
24
  [% END %]
25
  [% IF node.children %]
21 26
    <ul>
22
      [%- FOREACH node = node.children %]
27
      [% FOREACH node = node.children %]
23 28
        [% NEXT UNLESS node.visible %]<li>[% PROCESS submenu top=0 %]</li>
24 29
      [% END %]
25 30
    </ul>
26
  [%- END %]
27
[%- END %]
31
  [% END %]
32
[% END %]

Auch abrufbar als: Unified diff