view templates.petrus/imagenavbar.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

<table border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td>
      <a href="<TMPL_VAR NAME=THUMB_PAGE>">
        <img src="<TMPL_VAR NAME=STATIC_PATH>/actthumb.png"
             alt=""
             title=""></a>
    </td>
  </tr>
  <TMPL_LOOP NAME=NAV_BAR_TABLE>
    <tr>
      <td align="left">
        <TMPL_IF NAME=NAV_LINK>
          <a href="<TMPL_VAR NAME=NAV_LINK>">
            <img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=NAV_ICON>"
                 alt="<TMPL_VAR NAME=NAV_NAME>"
                 title="<TMPL_VAR NAME=NAV_NAME>"></a>
        <TMPL_ELSE>
          <img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=NAV_ICON>"
               alt="<TMPL_VAR NAME=NAV_NAME>"
               title="<TMPL_VAR NAME=NAV_NAME>">
        </TMPL_IF>
      </td>
    </tr>
  </TMPL_LOOP>
  <tr>
    <td>
      &nbsp;
    </td>
  </tr>
  <tr>
    <td>
      <a href="<TMPL_VAR NAME=TREE_LINK>">
        <img src="<TMPL_VAR NAME=STATIC_PATH>/albumtree.png"
             alt="<TMPL_VAR NAME=STRING_ALBUMTREE>"
             title="<TMPL_VAR NAME=STRING_ALBUMTREE>"></a>
    </td>
  </tr>
  <TMPL_IF NAME=FEEDBACK_LINK>
    <tr>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
      <a href="mailto:<TMPL_VAR NAME=FEEDBACK_LINK>?subject=<TMPL_VAR NAME=STRING_YOURIMAGE> <TMPL_INCLUDE NAME=subjectpath.html>">
        <img src="<TMPL_VAR NAME=STATIC_PATH>/contact.png"
             alt="<TMPL_VAR NAME=STRING_FEEDBACK>"
             title="<TMPL_VAR NAME=STRING_FEEDBACK>"></a>
      </td>
    </tr>
  </TMPL_IF>
  <TMPL_IF NAME=HOME_LINK>
    <tr>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        <a href="<TMPL_VAR NAME=HOME_LINK>">
          <img src="<TMPL_VAR NAME=STATIC_PATH>/home.png"
               alt="<TMPL_VAR NAME=STRING_HOME>"
               title="<TMPL_VAR NAME=STRING_HOME>"></a>
      </td>
    </tr>
  </TMPL_IF>
</table>