view templates.petrus/xlink.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="XLINK">
  <br>
  <table cellpadding="0" cellspacing="0" width="100%" border="0" class="contentBG">
    <tr>
      <td align="left" colspan="2">
        Additional Media-Files in this album:
      </td>
    </tr>
    <TMPL_LOOP NAME="XLINK">
      <tr>
        <td align="left">
	  <a href="<TMPL_VAR NAME="link">">
	    <img src="<TMPL_VAR NAME=STATIC_PATH>/media.png"
	         alt="<TMPL_VAR NAME=SIZE_TITLE>"
	         title="<TMPL_VAR NAME=SIZE_TITLE>"></a>

	</td>
        <td align="left" width="100%">
          <a href="<TMPL_VAR NAME="link">"><TMPL_VAR NAME="link"></a>
        </td>
      </tr>
    </TMPL_LOOP>
  </table>
</TMPL_IF>