Mercurial > bins
view templates.mwolson/imagelist.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_INCLUDE NAME="header.html" --> </head> <body> <!-- TMPL_INCLUDE NAME="bodyheader.html" --> <!-- TMPL_INCLUDE NAME="thheader.html" --> <table align="center" class="subheader" border="0"> <tr><td> <!-- TMPL_VAR NAME=STRING_IMAGELIST --> </td></tr> </table> <!-- Image List Page --> <table border="0" align="center" cellspacing="6" cellpadding="6"> <!-- TMPL_LOOP NAME=IMAGE_LIST_TABLE --> <tr valign="top"> <td> <!-- TMPL_IF NAME=THUMB_LINK --> <!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE --> <a href="<TMPL_VAR NAME=THUMB_DEFAULT_SIZE>"> <!-- /TMPL_IF --> <img src="<TMPL_VAR NAME=THUMB_LINK>" width="<TMPL_VAR NAME=THUMB_WIDTH>" height="<TMPL_VAR NAME=THUMB_HEIGHT>" border="0" alt="<TMPL_VAR NAME=THUMB_ALT>" title="<TMPL_VAR NAME=THUMB_LINK_TITLE>"><!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE --></a> <!-- /TMPL_IF --> <!-- /TMPL_IF --> </td> <td> <!-- TMPL_VAR NAME=TITLE --> <br /> <!-- Size Names --> <!-- TMPL_LOOP NAME=SIZE_LINKS --> <a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>"> <!-- TMPL_VAR NAME=SIZE_TITLE --> </a> <br /> <!-- /TMPL_LOOP --> <!-- End of Size Names --> </td> <td> <!-- TMPL_LOOP NAME=DESC_TABLE --> <!-- TMPL_VAR NAME=DESC_FIELD_NAME -->: <!-- TMPL_VAR NAME=DESC_FIELD_VALUE --> <br /> <!-- /TMPL_LOOP --> </td> </tr> <!-- /TMPL_LOOP --> </tr> </tbody> </table> <!-- End of Image List Page --> <!-- TMPL_INCLUDE NAME="footer.html" -->