view templates.martin/imagelist.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/)">
<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>/martin.css"
	type="text/css">
</TMPL_IF>
</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>

<!-- Content Area -->
<div class="albdesc">
<TMPL_LOOP NAME=IMAGE_LIST_TABLE>

	<div class="desccard" >
		<h3><TMPL_VAR NAME=TITLE></h3>
					
					<!-- J'ai toujours pas compris a quoi servait ce tag -->
					<!-- TM  PL_IF NAME=THUMB_LINK -->
					
		<div class="descimg" 
			<TMPL_IF NAME=THUMB_DEFAULT_SIZE>>
			<a href="<TMPL_VAR NAME=THUMB_DEFAULT_SIZE>">
			<TMPL_ELSE-->
				>
			</TMPL_IF-->
			
			<img class="descimg" src="<TMPL_VAR NAME=THUMB_LINK>"
				width="<TMPL_VAR NAME=THUMB_WIDTH>"
				height="<TMPL_VAR NAME=THUMB_HEIGHT>"
				alt="<TMPL_VAR NAME=THUMB_ALT>"
				title="<TMPL_VAR NAME=THUMB_LINK_TITLE>">

			<TMPL_IF NAME=THUMB_DEFAULT_SIZE>
			</a>
			</TMPL_IF-->
		</div>

		<TMPL_LOOP NAME=DESC_TABLE>
			<p style="margin-left:<TMPL_VAR NAME=THUMB_WIDTH>px;" >
				<h4><TMPL_VAR NAME=DESC_FIELD_NAME></h4>:<TMPL_VAR NAME=DESC_FIELD_VALUE>
			</p>
		</TMPL_LOOP>

	<!-- Size Names -->
		<div class="imthumbs">
		<TMPL_LOOP NAME=SIZE_LINKS>
			<span 
			<TMPL_IF NAME=SIZE_DFLT> id="dflt<TMPL_VAR NAME=THUMB_ID>" </TMPL_IF>
                        >
			<a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>">
			<img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=SIZE_FILE>"
				alt="<TMPL_VAR NAME=SIZE_TITLE>"
				title="<TMPL_VAR NAME=SIZE_TITLE>">
			</a>
			</span>
		</TMPL_LOOP>
		</div>

	</div>

</TMPL_LOOP>
<!-- pas sur que ce soit le meilleur moyen, mais sans ca, ma section ne grandit pas jusqu'en bas-->
<div style="clear:both;">&nbsp;</div>
</div>

<TMPL_INCLUDE NAME="xlink.html">
<TMPL_INCLUDE NAME="footer.html">

</body>
</html>