head	1.9;
access;
symbols
	start:1.1.1.1 swish-e:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2005.02.04.11.35.13;	author karman;	state Exp;
branches;
next	1.8;

1.8
date	2005.02.03.21.21.38;	author karman;	state Exp;
branches;
next	1.7;

1.7
date	2005.02.03.21.02.57;	author whmoseley;	state Exp;
branches;
next	1.6;

1.6
date	2005.02.03.14.55.54;	author karman;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.03.14.33.32;	author karman;	state Exp;
branches;
next	1.4;

1.4
date	2005.02.03.06.19.59;	author whmoseley;	state Exp;
branches;
next	1.3;

1.3
date	2005.02.03.04.41.33;	author karman;	state Exp;
branches;
next	1.2;

1.2
date	2005.02.02.23.55.11;	author whmoseley;	state Exp;
branches;
next	1.1;

1.1
date	2005.01.18.20.32.49;	author whmoseley;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.01.18.20.32.49;	author whmoseley;	state Exp;
branches;
next	;


desc
@@


1.9
log
@put the >> inside the <a> set for consistent color
@
text
@<!-- noindex -->
[%

DEFAULT class = 'menu';
DEFAULT liclass = '';

    "<ul class=\"$class\">";

FOREACH item = menu.items;

   IF item.subs;
     liclass = 'menuparent';
   ELSE;
     liclass = '';
   END;

    "<li class=\"$liclass\">";


    INCLUDE menu_link
      link = {
        text     = item.name
        url      = site.topdir _ item.url
        class    = item.here ? 'thisfile' : class
        title    = item.tooltip
      };

    IF item.subs;
        INCLUDE menu/ul_nest
          menu = item
          class = 'submenu';
    END;

    "</li>";

END;

-%]
</ul>
<!-- index -->


[% BLOCK menu_link %]

    <a class="[% link.class %]" 
    href="[% link.url %]"
    [% " title=\"$link.title\"" IF link.title %]>[%- link.text -%][% IF item.here; " &#187;";  END; -%]</a>

[% END -%]
@


1.8
log
@toggle submenu parent style when not selected but child is
@
text
@d45 3
a47 2
    <a class="[% link.class %]" href="[% link.url %]"[% " title=\"$link.title\"" IF link.title %]>[%- link.text -%]</a>
    [% IF item.here; "&#187;";  END; -%]
@


1.7
log
@
Try out adding name to end of footer
@
text
@d4 2
a5 1
DEFAULT class = '';
d11 7
a17 1
    "<li class=\"$class\">";
d46 1
a46 1
    [% IF item.here; "&#187;"; ELSIF item.hot;  "&#172;"; END; -%]
@


1.6
log
@fix extra menu bullet more legibly and minor html nits
@
text
@a21 1
        
a24 1
        
@


1.5
log
@valid xhtml(?) and looks nicer
@
text
@d10 3
a39 2

<li class="[% class %]">
@


1.4
log
@
Updates for xhtml validation
@
text
@d19 1
a19 1
        "<li>";
d23 1
a23 1
        "</li>";
d26 2
d41 1
a41 1
</li>
@


1.3
log
@css fixes; arrow entity changes (!); minor tweeks to html output
@
text
@d19 1
d23 1
@


1.2
log
@*** empty log message ***
@
text
@d14 1
a14 1
        class    = item.hot ? 'thisfile' : class
d35 2
a36 2
    <a href="[% link.url %]"[% " title=\"$link.title\"" IF link.title %]>[%- link.text -%]</a>
    [% IF item.here; "&#187;"; ELSIF item.hot;  "&#165;"; END; -%]
@


1.1
log
@Initial revision
@
text
@d36 1
a36 1
    [% IF item.here; "&#8658;"; ELSIF item.hot;  "&#8659;"; END; -%]
@


1.1.1.1
log
@Initial import
@
text
@@
