Mercurial > bins
view templates.martin/xlink.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="XLINK"> <div class="xlink"> <h2> Additional Media-Files in this album: </h2> <ul class="xlink"> <TMPL_LOOP NAME="XLINK"> <li class="xlink"> <a href="<TMPL_VAR NAME="link">"> <img src="<TMPL_VAR NAME=STATIC_PATH>/media.png" alt="<TMPL_VAR NAME=SIZE_TITLE>" title="<TMPL_VAR NAME=SIZE_TITLE>"></a> <a href="<TMPL_VAR NAME="link">"><TMPL_VAR NAME="link"></a> </li> </TMPL_LOOP> </ul> </div> </TMPL_IF>