Mercurial > bins
view templates.petrus/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.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/)"> <meta name="template" content="details.html"> <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>/joi.css" type="text/css"> </TMPL_IF> <link rel="stylesheet" href="<TMPL_VAR NAME=STATIC_PATH>/petrus.css" type="text/css"> <script language="JavaScript" type="text/javascript" src="<TMPL_VAR NAME=STATIC_PATH>/joi.js"> </script> </head> <TMPL_VAR NAME=BINS_ID> <!-- details.html --> <body> <!-- Menu Title --> <TMPL_INCLUDE NAME="title1.html"> <!-- Navigation box --> <TMPL_INCLUDE NAME="navbar.html"> <!-- Navigation bar --> <TMPL_INCLUDE NAME="path.html"> <div id="mainBody"> <table border="0" cellpadding="5" cellspacing="2" width="100%"> <tr> <td width="100%"> <table border="0" cellpadding="5" cellspacing="2" align="left"> <!-- 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"> <tt> <!-- TMPL_VAR NAME=FIELD_VALUE --> </tt> </td> </tr> <!-- /TMPL_IF --> <!-- /TMPL_LOOP --> </table> </td> </tr> </table> </div> <TMPL_INCLUDE NAME="footer.html"> </body> </html>