annotate templates.marc/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 onMouseOver="hlon(this, null, 'up');"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
5 onMouseOut="hloff();"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
6 onClick="location.href='<TMPL_VAR NAME="UP_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
7 <a href="<TMPL_VAR NAME="UP_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
8 <img src="<TMPL_VAR NAME="STATIC_PATH">/up.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
9 alt="<TMPL_VAR NAME="STRING_UP">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
10 <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
11 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
12 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
13
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
14 <TMPL_LOOP NAME="NAV_BAR_TABLE">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
15 <TMPL_IF NAME="NAV_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
16 <li onMouseOver="hlon(this, null, '<TMPL_VAR NAME="NAV_ID">');"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
17 onMouseOut="hloff();"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
18 onClick="location.href='<TMPL_VAR NAME="NAV_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
19 <a href="<TMPL_VAR NAME="NAV_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
20 <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
21 alt="<TMPL_VAR NAME="NAV_NAME">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
22 <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
23 <TMPL_VAR NAME="NAV_NAME"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
24 </span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
25 </li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
26 <TMPL_ELSE>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
27 <li class="highlight"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
28 <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
29 alt="<TMPL_VAR NAME="NAV_NAME">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
30 <TMPL_VAR NAME="NAV_NAME">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
31 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
32 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
33 </TMPL_LOOP>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
34
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
35 <li onMouseOver="hlon(this, null, 'tree');"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
36 onMouseOut="hloff();"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
37 onClick="location.href='<TMPL_VAR NAME="TREE_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
38 <a href="<TMPL_VAR NAME="TREE_LINK">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
39 title="<TMPL_VAR NAME="STRING_ALBUMTREE">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
40 <img src="<TMPL_VAR NAME="STATIC_PATH">/albumtree.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
41 alt="<TMPL_VAR NAME="STRING_ALBUMTREE">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
42 <a id="tree" href="<TMPL_VAR NAME="TREE_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
43 <TMPL_VAR NAME="STRING_ALBUMTREE"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
44 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
45
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
46 <TMPL_IF NAME="FEEDBACK_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
47 <li onMouseOver="hlon(this, null, 'fdbk');"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
48 onMouseOut="hloff();"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
49 <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
50 <img src="<TMPL_VAR NAME="STATIC_PATH">/contact.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
51 alt="<TMPL_VAR NAME="STRING_FEEDBACK">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
52 <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
53 <TMPL_VAR NAME="STRING_FEEDBACK"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
54 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
55 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
56
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
57 <TMPL_IF NAME="HOME_LINK">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
58 <li onMouseOver="hlon(this, null, 'home');"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
59 onMouseOut="hloff();"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
60 onClick="location.href='<TMPL_VAR NAME="HOME_LINK">';"><span>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
61 <a href="<TMPL_VAR NAME="HOME_LINK">"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
62 title="<TMPL_VAR NAME="STRING_HOME">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
63 <img src="<TMPL_VAR NAME="STATIC_PATH">/home.png"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
64 alt="<TMPL_VAR NAME="STRING_HOME">"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
65 <a id="home" href="<TMPL_VAR NAME="HOME_LINK">">
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
66 <TMPL_VAR NAME="STRING_HOME"></a>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
67 </span></li>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
68 </TMPL_IF>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
69 </ul>