Mercurial > bins
view templates.petrus/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
<div id="leftMenu"> <h1>Menu de navigation</h1> <!-- Display the links used to navigate on different views --> <TMPL_IF NAME="UP_LINK"> <a href="<TMPL_VAR NAME="UP_LINK">" title="<TMPL_VAR NAME="STRING_UP">"> <img src="<TMPL_VAR NAME="STATIC_PATH">/up.png" alt="<TMPL_VAR NAME="STRING_UP">"> <TMPL_VAR NAME="STRING_UP"> </a> </TMPL_IF> <TMPL_LOOP NAME="NAV_BAR_TABLE"> <TMPL_IF NAME="NAV_LINK"> <a href="<TMPL_VAR NAME="NAV_LINK">" title="<TMPL_VAR NAME="NAV_NAME">"> <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">" alt="<TMPL_VAR NAME="NAV_NAME">"> <TMPL_VAR NAME="NAV_NAME"> </a> <TMPL_ELSE> <a class="highlight" title="<TMPL_VAR NAME="NAV_NAME">"> <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">" alt="<TMPL_VAR NAME="NAV_NAME">"> <TMPL_VAR NAME="NAV_NAME"> </a> </TMPL_IF> </TMPL_LOOP> <a href="<TMPL_VAR NAME="TREE_LINK">" title="<TMPL_VAR NAME="STRING_ALBUMTREE">"> <img src="<TMPL_VAR NAME="STATIC_PATH">/albumtree.png" alt="<TMPL_VAR NAME="STRING_ALBUMTREE">"><TMPL_VAR NAME="STRING_ALBUMTREE"></a> <TMPL_IF NAME="FEEDBACK_LINK"> <br /> <a href="mailto:<TMPL_VAR NAME="FEEDBACK_LINK">?subject=<TMPL_VAR NAME="STRING_YOURALBUM"> <TMPL_INCLUDE NAME="subjectpath.html">"> <img src="<TMPL_VAR NAME="STATIC_PATH">/contact.png" alt="<TMPL_VAR NAME="STRING_FEEDBACK">"><TMPL_VAR NAME="STRING_FEEDBACK"></a> </TMPL_IF> <TMPL_IF NAME="HOME_LINK"> <a href="<TMPL_VAR NAME="HOME_LINK">" title="<TMPL_VAR NAME="STRING_HOME">"> <img src="<TMPL_VAR NAME="STATIC_PATH">/home.png" alt="<TMPL_VAR NAME="STRING_HOME">"><TMPL_VAR NAME="STRING_HOME"></a> </TMPL_IF> </div>