head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


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

1.1
date	2005.02.10.00.28.36;	author whmoseley;	state Exp;
branches;
next	;


desc
@@


1.2
log
@
Ok, finally a redirect script.
@
text
@[%- 
    mylist = [];  # to lazy to add a map vmethod
    FOR item = page.trail;
        SET escaped = item.name | html;
        SET tooltip = " title=\"$item.tooltip\"" IF item.tooltip;

        IF item.here;
            mylist.push( escaped  );
        ELSE;
           mylist.push( "<a href=\"$item.url\" $tooltip>$escaped</a>" );
        END;
    END;
    mylist.join(' &#187; ');
%]
@


1.1
log
@
remove extra menu I was testing with
@
text
@d13 1
a13 1
    mylist.join(' &#187 ');
@

