annotate templates.martin/navbar.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
1 <ul>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
2 <!-- Display the links used to navigate on different views -->
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
3 <TMPL_IF NAME="UP_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
4 <li onClick="location.href='<TMPL_VAR NAME="UP_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
5 <a href="<TMPL_VAR NAME="UP_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
6 <img src="<TMPL_VAR NAME="STATIC_PATH">/up.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
7 alt="<TMPL_VAR NAME="STRING_UP">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
8 <a id='up' href="<TMPL_VAR NAME="UP_LINK">"><TMPL_VAR NAME="STRING_UP"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
9 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
10 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
11
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
12 <TMPL_LOOP NAME="NAV_BAR_TABLE">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
13 <TMPL_IF NAME="NAV_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
14 <li onClick="location.href='<TMPL_VAR NAME="NAV_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
15 <a href="<TMPL_VAR NAME="NAV_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
16 <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
17 alt="<TMPL_VAR NAME="NAV_NAME">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
18 <a id="<TMPL_VAR NAME="NAV_ID">" href="<TMPL_VAR NAME="NAV_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
19 <TMPL_VAR NAME="NAV_NAME"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
20 </span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
21 </li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
22 <TMPL_ELSE>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
23 <li class="highlight"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
24 <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
25 alt="<TMPL_VAR NAME="NAV_NAME">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
26 <TMPL_VAR NAME="NAV_NAME">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
27 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
28 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
29 </TMPL_LOOP>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
30
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
31 <li onClick="location.href='<TMPL_VAR NAME="TREE_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
32 <a href="<TMPL_VAR NAME="TREE_LINK">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
33 title="<TMPL_VAR NAME="STRING_ALBUMTREE">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
34 <img src="<TMPL_VAR NAME="STATIC_PATH">/albumtree.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
35 alt="<TMPL_VAR NAME="STRING_ALBUMTREE">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
36 <a id="tree" href="<TMPL_VAR NAME="TREE_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
37 <TMPL_VAR NAME="STRING_ALBUMTREE"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
38 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
39
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
40 <TMPL_IF NAME="FEEDBACK_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
41 <li ><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
42 <a href="mailto:<TMPL_VAR NAME="FEEDBACK_LINK">?subject=<TMPL_VAR NAME="STRING_YOURALBUM"> <TMPL_INCLUDE NAME="subjectpath.html">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
43 <img src="<TMPL_VAR NAME="STATIC_PATH">/contact.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
44 alt="<TMPL_VAR NAME="STRING_FEEDBACK">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
45 <a id="fdbk" href="mailto:<TMPL_VAR NAME="FEEDBACK_LINK">?subject=<TMPL_VAR NAME="STRING_YOURALBUM"> <TMPL_INCLUDE NAME="subjectpath.html">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
46 <TMPL_VAR NAME="STRING_FEEDBACK"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
47 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
48 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
49
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
50 <TMPL_IF NAME="HOME_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
51 <li onClick="location.href='<TMPL_VAR NAME="HOME_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
52 <a href="<TMPL_VAR NAME="HOME_LINK">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
53 title="<TMPL_VAR NAME="STRING_HOME">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
54 <img src="<TMPL_VAR NAME="STATIC_PATH">/home.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
55 alt="<TMPL_VAR NAME="STRING_HOME">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
56 <a id="home" href="<TMPL_VAR NAME="HOME_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
57 <TMPL_VAR NAME="STRING_HOME"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
58 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
59 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
60 </ul>