view templates.martin/imagenavbar.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

<ul>
<li>
<a href="<TMPL_VAR NAME=THUMB_PAGE>">
	<img src="<TMPL_VAR NAME=STATIC_PATH>/actthumb.png"
	alt="<TMPL_VAR NAME=STRING_ALBUMTREE>"
	title="<TMPL_VAR NAME=STRING_ALBUMTREE>"></a>
</li>
<TMPL_LOOP NAME=NAV_BAR_TABLE>
<li>
	<TMPL_IF NAME=NAV_LINK>
	<a href="<TMPL_VAR NAME=NAV_LINK>">
	<img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=NAV_ICON>"
		alt="<TMPL_VAR NAME=NAV_NAME>"
		title="<TMPL_VAR NAME=NAV_NAME>"></a>
	<TMPL_ELSE>
	<img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=NAV_ICON>"
	alt="<TMPL_VAR NAME=NAV_NAME>"
	title="<TMPL_VAR NAME=NAV_NAME>">
	</TMPL_IF>
</li>
</TMPL_LOOP>
<li>
<a href="<TMPL_VAR NAME=TREE_LINK>">
	<img src="<TMPL_VAR NAME=STATIC_PATH>/albumtree.png"
	alt="<TMPL_VAR NAME=STRING_ALBUMTREE>"
	title="<TMPL_VAR NAME=STRING_ALBUMTREE>"></a>
</li>
</li>
<TMPL_IF NAME=FEEDBACK_LINK>
<li>
<a href="mailto:<TMPL_VAR NAME=FEEDBACK_LINK>?subject=<TMPL_VAR NAME=STRING_YOURIMAGE> <TMPL_INCLUDE NAME=subjectpath.html>">
	<img src="<TMPL_VAR NAME=STATIC_PATH>/contact.png"
	alt="<TMPL_VAR NAME=STRING_FEEDBACK>"
	title="<TMPL_VAR NAME=STRING_FEEDBACK>"></a>
</li>
</TMPL_IF>
<TMPL_IF NAME=HOME_LINK>
<li>
	<a href="<TMPL_VAR NAME=HOME_LINK>">
	<img src="<TMPL_VAR NAME=STATIC_PATH>/home.png"
	alt="<TMPL_VAR NAME=STRING_HOME>"
	title="<TMPL_VAR NAME=STRING_HOME>"></a>
</li>
</TMPL_IF>
</ul>