view templates.petrus/thumbnavrow.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="MULTIPLE_PAGES">
  <table cellpadding="0" cellspacing="0" width="100%" border="0">
    <tr class="contentBG">
      <td align="left">
        <TMPL_INCLUDE NAME="thumbnav.html">
      </td>
      <td align="center">
        <!-- List of thumbnail page numbers -->
        <TMPL_LOOP NAME=THUMB_NUMBER_LINKS>
          <!--<TMPL_UNLESS NAME="__FIRST__">
            &nbsp;
          </TMPL_UNLESS>-->
          <TMPL_IF NAME=NUM_LINK>
            <a href="<TMPL_VAR NAME=NUM_LINK>">&nbsp;<TMPL_VAR NAME=NUMBER>&nbsp;</a>
          <TMPL_ELSE>
            <span class="highlight">&nbsp;<TMPL_VAR NAME=NUMBER>&nbsp;</span>
          </TMPL_IF>
        </TMPL_LOOP>
      </td>
      <td align="right">
        <TMPL_INCLUDE NAME="thumbnav.html">
      </td>
    </tr>
  </table>
</TMPL_IF>