view templates.swigs/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=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>">
  </head>

  <!--$Id: subalbum.html,v 1.18 2004/05/08 20:18:28 jerome Exp $-->
  <!-- TMPL_VAR NAME=BINS_ID -->

  <body bgcolor="<!-- TMPL_VAR NAME=PAGE_BACKCOLOR -->"
	vlink="#000000" link="#002085" alink="0000FF">
    <table border="0" cellpadding="0" cellspacing="0"
	   align="center" width="90%">
	<tr>
	  <td>
	    <table cellpadding="6" cellspacing="0" width="100%"
		   border="0" 
		   bgcolor="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->" >
		<tr><td>
		    <table cellpadding="0" cellspacing="0"
			   border="0"  width="100%">
			<tr>
			  <td valign="middle" align="left">
			    <font size="4"
				  color="<!-- TMPL_VAR
				  NAME=MAINBAR_TITLECOLOR -->">
			      <!-- TMPL_VAR NAME=ALBUM_TITLE --></font>
			  </td>
			  <td align="right">
			    <font size="2" color="<!-- TMPL_VAR
				  NAME=MAINBAR_TITLECOLOR -->">
			      <!-- TMPL_VAR NAME=NUM_INFO --></font>
			  </td>
			</tr>
			<tr>
			  <td colspan="2">
			    <!-- TMPL_INCLUDE NAME="path.html" -->
			  </td>
			</tr>
		    </table>
		  </td>
		</tr>
	    </table>
	  </td>
	</tr>
	
	<tr>
	  <td>
	    <table border="0" cellpadding="4" cellspacing="0" align="left" >
		<tr>
		  <td valign="top" width="200"
		      bgcolor="<!-- TMPL_VAR NAME=SUBBAR_BACKCOLOR -->">
		    <table cellpadding="1" cellspacing="0"  border="0">
			<tr>
			  <td colspan="2">
			    <!-- TMPL_VAR NAME=STRING_INTHISALBUM -->:
			  </td>
			</tr>
			<tr>
			  <td>&nbsp; &nbsp;</td>
			  <td>
			    <table cellpadding="1" cellspacing="0"
				   bgcolor="<!-- TMPL_VAR 
				   NAME=SUBBAR_BACKCOLOR -->"
				   border="0">
			      <!-- TMPL_INCLUDE NAME="navbar.html" -->
			    </table>
			  </td>
			</tr>
		    </table>
		  </td><td>&nbsp; &nbsp;</td>
		  <td valign="top">
		    <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
		    <!-- TMPL_VAR NAME=ALBUM_DESC -->
		    </font>
		  </td>
		</tr>
	    </table>
	  </td>
	</tr>

	<!-- Current Album Thumbnail -->
	<!-- TMPL_IF NAME="ALBUM_THUMB" -->
	<tr>
	  <td>
	    <table border="0" width="100%">
		<tr>
		  <td>
		    <table border="0" width="100%">
			<tr>
			  <td width="1" align="left">
			    <a href="<TMPL_VAR NAME=LINK>">
			      <img src="<TMPL_VAR NAME=THUMB_LINK>"
				   border="0"
				   alt="<TMPL_VAR NAME=THUMB_ALT>"
				   title="<TMPL_VAR NAME=THUMB_LINK_TITLE>">
			      <!-- TMPL_VAR NAME=IMAGE_LINK --></a>
			  </td>
			  <td align="left" valign="top">
			    <table width="100%" border="0">
				<tr>
				  <td colspan="2">
				    <a href="<!-- TMPL_VAR NAME=LINK -->"><b>
					<font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
					<!-- TMPL_VAR NAME=TITLE --></font></b></a>
				  </td>
				  <td width="25%" align="right">
				    <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
				    <!-- TMPL_VAR NAME=CURRENT_NUM_INFO -->
				    </font>
				  </td>
				</tr>
				<tr>
				  <td width="1"> &nbsp; &nbsp; </td>
				  <td align="left" valign="top">
				    <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
				    <!-- TMPL_VAR NAME=DESC -->
				    </font>
				  </td>
				</tr>
			    </table>
			  </td>
			</tr>
		    </table>
		  </td>
		</tr>
	    </table>
	  </td>
	</tr>
	<!-- /TMPL_IF -->
	<!-- End Current Album Thumbnail -->
	<tr>
	  <td>&nbsp;</td>
	</tr>
	<tr>
	  <td bgcolor ="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->">
	    <table ><tr><td>
		    <font size="3" 
			  color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->">
		      <b><!-- TMPL_VAR NAME=STRING_SUBALBUMS --></b></font>
		  </td></tr>
	    </table>
	  </td> 
	</tr>
	<tr>
	  <td>
	    <!--  SubAlbums Table  -->
	    <table border="0" width="100%">
		<tr>
		  <td>
		    <table border="0" width="100%">
		      <!-- TMPL_LOOP NAME="SUBALBUMS_TABLE" -->
		      <!-- TMPL_UNLESS NAME="__FIRST__" -->
			<tr>
			  <td>&nbsp;</td>
			</tr>
		      <!-- /TMPL_UNLESS -->
			<tr>
			  <td width="1" align="left">
			    <a href="<!-- TMPL_VAR NAME=LINK -->">
			      <img src="<TMPL_VAR NAME=THUMB_LINK>"
				   border="0"
				   alt="<TMPL_VAR NAME=THUMB_ALT>"
				   title="<TMPL_VAR NAME=THUMB_LINK_TITLE>"></a>
			  </td>
			  <td align="left" valign="top">
			    <table width="100%" border="0">
				<tr>
				  <td colspan="2">
				    <a href="<!-- TMPL_VAR NAME=LINK -->"><b>
					<font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
					<!-- TMPL_VAR NAME=TITLE --></font></b></a>
				  </td>
				  <td width="25%" align="right">
				    <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
				    <!-- TMPL_VAR NAME=NUM_INFO -->
				    </font>
				  </td>
				</tr>
				<tr>
				  <td width="1"> &nbsp; &nbsp; </td>
				  <td align="left" valign="top">
				    <font color="<TMPL_VAR NAME=PAGE_TITLECOLOR>">
				    <!-- TMPL_VAR NAME=DESC -->
				    </font>
				  </td>
				</tr>
			    </table>
			  </td>
			</tr>
			<!-- /TMPL_LOOP -->
		    </table>
		  </td>
		</tr>
	    </table>
	    <!--  End of SubAlbum Table  -->
	  </td>
	</tr>
	<tr>
	  <td bgcolor ="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->">
	    <table cellpadding="0"><tr><td>
		    <font size="4">&nbsp;</font>
		  </td></tr>
	    </table>
	  </td>
	</tr>
    </table>
    <!-- TMPL_INCLUDE NAME="footer.html" -->
  </body>
</html>