view templates.martin/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.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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>/martin.css"
	type="text/css">
</TMPL_IF>
<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>>

<div class="path">
	<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>
</div>

<ul class="tree">
<TMPL_LOOP NAME="TREE_LOOP">
	<TMPL_IF NAME="TREE_NAME">
	<li>
	<TMPL_IF NAME="ALBUM_THUMB">
	<a href="<TMPL_VAR NAME="TREE_LINK">">
	<TMPL_VAR NAME="TREE_NAME"></a>
	(<TMPL_VAR NAME="TREE_IMAGES">)
	<br>
	<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 class="tree">
	<TMPL_ELSE>
	</li>
	</TMPL_IF>
	<TMPL_ELSE>
	</ul></li>
	</TMPL_IF>
</TMPL_LOOP>
</ul>
	
<TMPL_INCLUDE NAME="footer.html">
	
</body>
</html>