Show
Ignore:
Timestamp:
11/13/08 11:53:39 (16 months ago)
Author:
JensDiemer
Message:

Add splitting function for the main_menu. Contributed by Manuel Herzog, see: http://www.pylucid.org/phpBB2/viewtopic.php?t=254 (de)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid_project/media/PyLucid/internal_page/main_menu/main_menu_li.html

    r1449 r1792  
    11<li> 
    2   <a href="{{ href }}" title="{{ title }}" {% if is_current %}class="current"{% endif %}>{{ name }}</a> 
    3   {{ submenu }} 
    4 </li> 
     2<a href="{{ href }}" title="{{ title }}"{% if is_current or active %} class="{% if active %}active{% endif %}{% if is_current %} current{% endif %}"{% endif %}>{{ name }}</a> 
     3  {% if submenu %} 
     4  <ul> 
     5    {{ submenu }} 
     6  </ul> 
     7  {% endif %} 
     8</li>