Mercurial > bins
view templates.joi/thumbnav.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
<TMPL_IF NAME=PREV_THUMB_PAGE> <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>" accesskey="p"> <img src="<TMPL_VAR NAME=STATIC_PATH>/prev.png" alt="<TMPL_VAR NAME=THUMB_ALT>"></a> <TMPL_ELSE> <TMPL_IF NAME=NEXT_THUMB_PAGE> <img src="<TMPL_VAR NAME=STATIC_PATH>/prevInactive.png" alt="<TMPL_VAR NAME=THUMB_ALT>"> </TMPL_IF> </TMPL_IF> <TMPL_IF NAME=NEXT_THUMB_PAGE> <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>" accesskey="n"> <img src="<TMPL_VAR NAME=STATIC_PATH>/next.png" alt="<TMPL_VAR NAME=THUMB_ALT>"></a> <TMPL_ELSE> <TMPL_IF NAME=PREV_THUMB_PAGE> <img src="<TMPL_VAR NAME=STATIC_PATH>/nextInactive.png" alt="<TMPL_VAR NAME=THUMB_ALT>"> </TMPL_IF> </TMPL_IF>