Mercurial > bins
view templates.swigs/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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=<TMPL_VAR NAME=ENCODING>"> <meta name="GENERATOR" content="BINS <TMPL_VAR NAME=BINS_VERSION> (http://bins.sautret.org/)"> <title><!-- TMPL_VAR NAME=ALBUM_TITLE --></title> </head> <!--$Id: imagelist.html,v 1.17 2002/07/17 23:47:03 jerome Exp $--> <!-- TMPL_VAR NAME=BINS_ID --> <body bgcolor="<!-- TMPL_VAR NAME=PAGE_BACKCOLOR -->" vlink="#000000" link="#002085" alink="0000FF"> <table border="0" cellpadding="0" cellspacing="0" align="center" width="600"> <tr> <td> <table cellpadding="6" cellspacing="0" width="100%" border="0" bgcolor="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->" > <tr> <td> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td valign="middle" align="left"> <font size="4" color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->"> <!-- TMPL_VAR NAME=ALBUM_TITLE --></font> </td> <td align="right"> <font size="2" color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->"> <!-- TMPL_VAR NAME=NUM_INFO --></font> </td> </tr> <tr> <td colspan="2"> <!-- TMPL_INCLUDE NAME="path.html" --> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> <table border="0" cellpadding="4" cellspacing="0" align="left" > <tr> <td valign="top" bgcolor="<!-- TMPL_VAR NAME=SUBBAR_BACKCOLOR -->"> <table cellpadding="1" cellspacing="0" border="0"> <tr> <td colspan="2"> <!-- TMPL_VAR NAME=STRING_INTHISALBUM -->: </td> </tr> <tr> <td> </td> <td> <table cellpadding="1" cellspacing="0" bgcolor="<TMPL_VAR NAME=SUBBAR_BACKCOLOR>" border="0"> <!-- TMPL_INCLUDE NAME="navbar.html" --> </table> </td> </tr> </table> </td><td> </td> <td valign="top"> <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>"> <!-- TMPL_VAR NAME=ALBUM_DESC --> </font> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td bgcolor ="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->"> <table> <tr> <td> <font size="3" color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->"> <b><!-- TMPL_VAR NAME=STRING_IMAGELIST --></b> </font> </td> </tr> </table> </td> </tr> <tr> <td> <br> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr><td> </td> <td> <!-- Image List Page --> <table border="0" cellpadding="2" cellspacing=0> <!-- TMPL_LOOP NAME=IMAGE_LIST_TABLE --> <tr> <td colspan="2" bgcolor="<TMPL_VAR NAME=SUBBAR_BACKCOLOR>"> <font color="<TMPL_VAR NAME=SUBBAR_TITLECOLOR>"> <!-- TMPL_VAR NAME=TITLE --> </font> </td> <!-- Size Names --> <td align="right" bgcolor="<TMPL_VAR NAME=SUBBAR_BACKCOLOR>"> <!-- TMPL_LOOP NAME=SIZE_LINKS --> <a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>"> <font color="<TMPL_VAR NAME=SUBBAR_LINKCOLOR>"> <!-- TMPL_VAR NAME=SIZE_NAME --></font></a><!-- TMPL_UNLESS NAME="__LAST__" --> <!-- /TMPL_UNLESS --> <!-- /TMPL_LOOP --> </td> <!-- End of Size Names --> </tr> <!-- TMPL_IF NAME=THUMB_LINK --> <tr valign="top"> <td> <table border="0" cellpadding="2" cellspacing="0"> <!-- /TMPL_IF --> <!-- TMPL_LOOP NAME=DESC_TABLE --> <tr> <td valign="top"> <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>"> <b> <!-- TMPL_VAR NAME=DESC_FIELD_NAME --> : </b> </font> </td> <td> <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>"> <!-- TMPL_VAR NAME=DESC_FIELD_VALUE --> </font> </td> </tr> <!-- /TMPL_LOOP --> <!-- TMPL_UNLESS NAME=DESC_TABLE --> <!-- to prevent the table to be empty (not accepted by HTML 4) --> <tr><td> </td></tr> <!-- /TMPL_UNLESS --> <!-- TMPL_IF NAME=THUMB_LINK --> </table> </td> <td></td> <td align="right"> <!-- 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 --></td> </tr> <!-- /TMPL_IF --> <tr><td> </td></tr> <!-- /TMPL_LOOP --> </table> <!-- End of Image List Page --> </td> </tr> </table> <br> </td> </tr> <tr> <td bgcolor ="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->"> <table cellpadding="0"><tr><td> <font size="4"> </font> </td></tr> </table> </td> </tr> </table> <!-- TMPL_INCLUDE NAME="footer.html" --> </body> </html>