view templates.marc/subalbum.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/)">
<title><TMPL_VAR NAME="ALBUM_TITLE"></title>
<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>

    <!-- TMPL_IF NAME=UP_LINK -->
    <link
	  rel="up"
	  href="<TMPL_VAR NAME=UP_LINK>"
	  title="<TMPL_VAR NAME=UP_TITLE>">
    <link
	  rel="Start"
	  href="<TMPL_VAR NAME=STATIC_PATH>/.."
	  title="<TMPL_VAR NAME=STRING_HOME>">
    <!-- /TMPL_IF -->
    <link
	  rel="Index"
	  href="<TMPL_VAR NAME=TREE_LINK>"
	  title="<TMPL_VAR NAME=TREE_TITLE>">

<script language="JavaScript"
	type="text/javascript"
	src="<TMPL_VAR NAME=STATIC_PATH>/joi.js">
</script>
</head>

<TMPL_VAR NAME=BINS_ID>

<body <TMPL_IF NAME="BG_IMAGE">
	background="<TMPL_VAR NAME="BG_IMAGE">"
</TMPL_IF>>

<div class="path">		<TMPL_INCLUDE NAME="path.html">	</div>
<div class="albumdesc">	<TMPL_VAR NAME=ALBUM_DESC>	</div>
<div class="numinfo">	<TMPL_VAR NAME=NUM_INFO>		</div>
<div class="navbar">		<TMPL_INCLUDE NAME="navbar.html">	</div>


	<!-- Current Album Thumbnail -->
	<TMPL_IF NAME="ALBUM_THUMB">
	<div class=desccard>
		<h3><TMPL_VAR NAME=TITLE></h3>
		<div width="1"
		align="center"
		class="contentBG"
		id="thact"
		onMouseOver="hlon(this, 'baract', 'lact');"
		onMouseOut="hloff();"
		onClick="location.href='<TMPL_VAR NAME="LINK">';">
		<a href="<TMPL_VAR NAME=LINK>">
		<img src="<TMPL_VAR NAME=THUMB_LINK>"
		alt="<TMPL_VAR NAME=THUMB_ALT>"
		title="<TMPL_VAR NAME=THUMB_LINK_TITLE>">
		<TMPL_VAR NAME=IMAGE_LINK></a>
		</div>
		<div align="left" rowspan="2">
		<TMPL_VAR NAME=DESC>
		</div>
		<div id="baract"
		class="contentBG"
		onMouseOver="hlon(this, 'thact', 'lact');"
		onMouseOut="hloff();"
		onClick="location.href='<TMPL_VAR NAME="LINK">';"
		align="center">
		<a id="lact" href="<TMPL_VAR NAME=LINK>">
		<TMPL_VAR NAME=CURRENT_NUM_INFO></a>
		</div>
		
		<div colspan="2"><TMPL_VAR NAME=STRING_SUBALBUMS></div>
	
	</div>
	</TMPL_IF>
	<!-- End Current Album Thumbnail -->
	
	<!--  SubAlbums Table  -->
	<TMPL_LOOP NAME="SUBALBUMS_TABLE">
	<div class="desccard">
		<h3><TMPL_VAR NAME=TITLE></h3>
		<div class="descimg" id="th<TMPL_VAR NAME=THUMB_NUM>"
			onMouseOver="hlon(this, 'bar<TMPL_VAR NAME=THUMB_NUM>', 'li<TMPL_VAR NAME=THUMB_NUM>');"
			onMouseOut="hloff();"
			onClick="location.href='<TMPL_VAR NAME="LINK">';">
		<a href="<TMPL_VAR NAME=LINK>">
		<img class="descimg" src="<TMPL_VAR NAME=THUMB_LINK>"
		alt="<TMPL_VAR NAME=THUMB_ALT>"
		title="<TMPL_VAR NAME=THUMB_LINK_TITLE>">
		</a>
		</div>
		<p><TMPL_VAR NAME=DESC></p>
		<div id="bar<TMPL_VAR NAME=THUMB_NUM>"
		onMouseOver="hlon(this, 'th<TMPL_VAR NAME=THUMB_NUM>', 'li<TMPL_VAR NAME=THUMB_NUM>');"
		onMouseOut="hloff();"
		onClick="location.href='<TMPL_VAR NAME="LINK">';"
		class="imthumb">
		<a id="li<TMPL_VAR NAME=THUMB_NUM>" href="<TMPL_VAR NAME=LINK>">
		<TMPL_VAR NAME=NUM_INFO></a>
		</div>
	</div>
	</TMPL_LOOP>
	<!--  End of SubAlbum Table  -->
	
<TMPL_INCLUDE NAME="footer.html">

</body>
</html>