Mercurial > bins
view templates.martin/details.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.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <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="TITLE"></title> <TMPL_IF NAME=CUSTOM_CSS> <link rel="stylesheet" href="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=CUSTOM_CSS>" type="text/css"> <TMPL_ELSE> <link rel="stylesheet" href="<TMPL_VAR NAME=STATIC_PATH>/martin.css" type="text/css"> </TMPL_IF> </head> <TMPL_VAR NAME=BINS_ID> <body> <div class="path"> <TMPL_INCLUDE NAME="path.html"> </div> <div class="navbar"> <TMPL_INCLUDE NAME="navbar.html"> </div> <div class="detail"> <table> <!-- TMPL_LOOP NAME=DESC_TABLE --> <!-- TMPL_IF NAME=SECTION_TITLE --> <TMPL_UNLESS NAME=__FIRST__> <tr><td colspan="2"> </td></tr> </TMPL_UNLESS> <tr><td align="left" colspan="2" class="contentBG"> <!-- TMPL_VAR NAME=SECTION_TITLE --> </td></tr> <!-- TMPL_ELSE --> <tr><td align="left"> <!-- TMPL_IF NAME=FIELD_TIP --> <abbr title="<TMPL_VAR NAME=FIELD_TIP>"> <!-- /TMPL_IF --> <!-- TMPL_VAR NAME=FIELD_NAME --> <!-- TMPL_IF NAME=FIELD_TIP --> </abbr> <!-- /TMPL_IF --> </td> <td align="right"> <!-- TMPL_VAR NAME=FIELD_VALUE --> </td></tr> <!-- /TMPL_IF --> <!-- /TMPL_LOOP --> </table> </div> <TMPL_INCLUDE NAME="footer.html"> </body> </html>