view templates.joi/tree.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/)">
    <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="Start"
	  href="<TMPL_VAR NAME=STATIC_PATH>/.."
	  title="<TMPL_VAR NAME=STRING_HOME>">
    <TMPL_IF NAME="ALBUM_THUMB">
      <script language="JavaScript"
              type="text/javascript"
	      src="<TMPL_VAR NAME=STATIC_PATH>/joi.js">
    </TMPL_IF>
    </script>
    <title><TMPL_VAR NAME="STRING_ALBUMTREE"></title>
  </head>

  <TMPL_VAR NAME="BINS_ID">

  <body <TMPL_IF NAME="BG_IMAGE">
        background="<TMPL_VAR NAME="BG_IMAGE">"
      </TMPL_IF>>
    <table cellpadding="5" border="0" width="100%">
      <tr class="path">
        <td align="left">
	  <span class="actPath">
	    <TMPL_IF NAME="PATH_SHOW_ICON">
              <img src="<TMPL_VAR NAME="STATIC_PATH">/albumtree.png"
	           alt="<TMPL_VAR NAME="STRING_ALBUMTREE">">&nbsp;<TMPL_VAR NAME="STRING_ALBUMTREE">
	    <TMPL_ELSE>
	      <TMPL_VAR NAME="STRING_ALBUMTREE">
	    </TMPL_IF>
	  </span>
        </td>
      </tr>
    </table>
    <ul>
      <TMPL_LOOP NAME="TREE_LOOP">
        <TMPL_IF NAME="TREE_NAME">
	<li>
          <TMPL_IF NAME="ALBUM_THUMB">
            <a href="<TMPL_VAR NAME="TREE_LINK">"
               onMouseOver="showTree('<TMPL_VAR NAME="TREE_SAMPLEID">', 'nw');"
               onMouseOut="hideTree();">
              <TMPL_VAR NAME="TREE_NAME"></a>
            (<TMPL_VAR NAME="TREE_IMAGES">)
            <br>
            <div style="position:relative;">
	      <script type="text/javascript">
	        makePreview("<TMPL_VAR NAME="TREE_SAMPLEID">", "<TMPL_VAR NAME="TREE_SAMPLE">", false);
	      </script>
            </div>
          <TMPL_ELSE>
            <a href="<TMPL_VAR NAME="TREE_LINK">">
              <TMPL_VAR NAME="TREE_NAME"></a>
            <span class="numImg">(<TMPL_VAR NAME="TREE_IMAGES">)</span>
          </TMPL_IF>
	  <TMPL_IF NAME="TREE_HASCHILD">
	    <ul>
	  <TMPL_ELSE>
	    </li>
	  </TMPL_IF>
	<TMPL_ELSE>
	  </ul></li>
	</TMPL_IF>
      </TMPL_LOOP>
    </ul>
    <table cellpadding="5" border="0" width="100%">
      <tr class="footer">
        <td align="left">
	  <TMPL_INCLUDE NAME="footer.html">
        </td>
      </tr>
    </table>
  </body>
</html>