view templates.mwolson/path.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

 <!-- Here we display the path to current album or image in form like
 tree: album1 -> album2 -> current_album
 -->

<span class="pathstyle">

<a href="<!-- TMPL_VAR NAME=STATIC_PATH -->/../">root</a>:&nbsp;<!--
TMPL_LOOP NAME=ALBUM_PATH_LINKS --><!-- TMPL_IF NAME="PATH_LINK" --><a
title="<!-- TMPL_VAR NAME=PATH_TITLE -->" href ="<!-- TMPL_VAR
NAME=PATH_LINK -->"><!-- /TMPL_IF --><!-- TMPL_VAR NAME=PATH_NAME
--><!-- TMPL_IF NAME="PATH_LINK" --></a><!-- /TMPL_IF --><!-- TMPL_IF
NAME="__FIRST__" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="__INNER__"
-->&nbsp;-&gt;&nbsp;<!-- /TMPL_IF --><!-- /TMPL_LOOP -->

</span>