view templates.mwolson/navbar.html @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02:14 +0200
parents a84c32f131df
children
line wrap: on
line source

<!-- Display the links used to navigate on different pages -->

<!-- TMPL_LOOP NAME=NAV_BAR_TABLE -->
    <!-- TMPL_UNLESS NAME=__FIRST__ -->
        |
    <!-- /TMPL_UNLESS -->
    <!-- TMPL_IF NAME=NAV_LINK -->
        <a href=<!-- TMPL_VAR NAME=NAV_LINK -->>
            <!-- TMPL_VAR NAME=NAV_NAME -->
        </a>
    <!-- TMPL_ELSE -->
	    <!-- TMPL_VAR NAME=NAV_NAME -->
    <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->

<!-- TMPL_LOOP NAME=XLINK -->
    <a href="<TMPL_VAR NAME="link">">
        <TMPL_VAR NAME="link">
    </a>
<!-- /TMPL_LOOP -->