comparison templates.mwolson/thumbnail.html @ 0:a84c32f131df 1.1.29

Import vendor version
author Peter Gervai <grin@grin.hu>
date Wed, 15 Oct 2008 23:28:56 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a84c32f131df
1 <!-- TMPL_INCLUDE NAME="header.html" -->
2
3 <!-- TMPL_IF NAME=PRELOAD_IMAGES -->
4 <!-- preload thumnails of the next page to speed up the album
5 browsing -->
6 <script type="text/javascript" language="javascript">
7 <!-- hide from non JavaScript Browsers
8 function PreloadNextImages() {
9 <!-- TMPL_LOOP NAME=PRELOAD_IMAGES -->
10 img<!-- TMPL_VAR NAME=PRELOAD_IMAGE_NB --> =
11 new Image(<!-- TMPL_VAR NAME=PRELOAD_IMAGE_WIDTH -->,
12 <!-- TMPL_VAR NAME=PRELOAD_IMAGE_HEIGHT -->);
13 img<!-- TMPL_VAR NAME=PRELOAD_IMAGE_NB -->.src =
14 "<!-- TMPL_VAR NAME=PRELOAD_IMAGE_NAME -->";
15 <!-- /TMPL_LOOP -->
16 }
17 // End hiding -->
18 </script>
19 <!-- /TMPL_IF -->
20 <!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
21 <link
22 rel="next"
23 href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>"
24 title="<TMPL_VAR NAME=STRING_NEXT>">
25 <link
26 rel="last"
27 href="<TMPL_VAR NAME=LAST_PAGE>"
28 title="<TMPL_VAR NAME=STRING_LAST>">
29 <!-- /TMPL_IF -->
30 <!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
31 <link
32 rel="prev"
33 href="<TMPL_VAR NAME=PREV_THUMB_PAGE>"
34 title="<TMPL_VAR NAME=STRING_PREV>">
35 <link
36 rel="first"
37 href="<TMPL_VAR NAME=FIRST_PAGE>"
38 title="<TMPL_VAR NAME=STRING_FIRST>">
39 <!-- /TMPL_IF -->
40 <!-- TMPL_IF NAME=UP_LINK -->
41 <link
42 rel="up"
43 href="<TMPL_VAR NAME=UP_LINK>"
44 title="<TMPL_VAR NAME=UP_TITLE>">
45 <link
46 rel="Start"
47 href="<TMPL_VAR NAME=STATIC_PATH>/.."
48 title="<TMPL_VAR NAME=STRING_HOME>">
49 <!-- /TMPL_IF -->
50 <link
51 rel="Index"
52 href="<TMPL_VAR NAME=TREE_LINK>"
53 title="<TMPL_VAR NAME=TREE_TITLE>">
54 </head>
55
56 <body
57 <!-- TMPL_IF NAME=PRELOAD_IMAGES -->
58 onload="PreloadNextImages()"<!-- /TMPL_IF -->>
59
60
61 <!-- TMPL_INCLUDE NAME="bodyheader.html" -->
62
63 <!-- TMPL_INCLUDE NAME="thheader.html" -->
64
65 <p />
66
67 <table class="thnav" align="center" border="0">
68 <col width="33%"><col width="33%"><col width="34%">
69 <tr>
70
71 <td align="left">
72 <!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
73 <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>">
74 <!-- TMPL_VAR NAME=STRING_PREV -->
75 </a>
76 <!-- /TMPL_IF -->
77 &nbsp;
78 </td>
79 <td align="center">
80
81 <!-- TMPL_VAR NAME=STRING_THUMBNAILS -->
82
83 <!-- TMPL_VAR NAME=THUMB_PAGE_NUMBER -->
84
85 </td>
86 <td align="right">
87 &nbsp;
88 <!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
89 <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>">
90 <!-- TMPL_VAR NAME=STRING_NEXT -->
91 </a>
92 <!-- /TMPL_IF -->
93
94 </td>
95 </tr>
96 </table>
97
98
99 <!-- Thumbnails Table -->
100
101 <table border="0" align="center" cellpadding="0" cellspacing="8">
102 <tr>
103
104 <!-- TMPL_LOOP NAME=THUMBS_TABLE -->
105
106 <td align="center" class="thumbnail">
107
108 <table border="0" cellspacing="0" cellpadding="2">
109 <tr><td>
110 <!-- TMPL_IF NAME=THUMB_TITLE -->
111 <!-- TMPL_VAR NAME=THUMB_TITLE -->
112 <!-- /TMPL_IF -->
113
114 </td></tr><tr><td>
115
116 <!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE -->
117 <a href="<TMPL_VAR NAME=THUMB_DEFAULT_SIZE>">
118 <!-- /TMPL_IF -->
119
120 <img src="<TMPL_VAR NAME=THUMB_LINK>"
121 width="<TMPL_VAR NAME=THUMB_WIDTH>"
122 height="<TMPL_VAR NAME=THUMB_HEIGHT>"
123 border="0"
124 alt="<TMPL_VAR NAME=THUMB_ALT>"
125 title="<TMPL_VAR NAME=THUMB_LINK_TITLE>"><!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE --></a>
126 <!-- /TMPL_IF -->
127
128 </td></tr><tr><td>
129
130 <!-- Sizes -->
131
132 <!-- TMPL_LOOP NAME=THUMB_SIZES -->
133 <a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>">
134 <!-- TMPL_VAR NAME=SIZE_NAME -->
135 </a>
136 <!-- TMPL_UNLESS NAME="__LAST__" -->
137 &nbsp;
138 <!-- /TMPL_UNLESS -->
139 <!-- /TMPL_LOOP -->
140
141 <!-- End of Sizes -->
142
143 </td></tr></table>
144
145 </td>
146
147 <!-- TMPL_IF NAME=THUMB_NEW_LINE -->
148 </tr><tr>
149
150 <!-- /TMPL_IF -->
151 <!-- /TMPL_LOOP -->
152
153 </tr>
154 </table>
155
156 <!-- End of Thumbnails Table -->
157
158
159 <table border="0" align="center" class="thnav">
160 <col width="33%"><col width="33%"><col width="34%">
161
162 <tr>
163 <td align="left">
164 <!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
165 <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>">
166 <!-- TMPL_VAR NAME=STRING_PREV -->
167 <!-- /TMPL_IF -->
168
169 &nbsp;
170 </td><td align="center">
171
172 <!-- List of thumbnail page numbers -->
173
174 <!-- TMPL_LOOP NAME=THUMB_NUMBER_LINKS -->
175
176 <!-- TMPL_UNLESS NAME="__FIRST__" -->
177 &nbsp;
178 <!-- /TMPL_UNLESS -->
179
180 <!-- TMPL_IF NAME=NUM_LINK -->
181 <a href=<!-- TMPL_VAR NAME=NUM_LINK -->>
182 <!-- TMPL_VAR NAME=NUMBER -->
183 </a>
184 <!-- TMPL_ELSE -->
185 <!-- TMPL_VAR NAME=NUMBER -->
186 <!-- /TMPL_IF -->
187 <!-- /TMPL_LOOP -->
188
189 </td>
190 <td align="right">
191 &nbsp;
192
193 <!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
194 <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>">
195 <!-- TMPL_VAR NAME=STRING_NEXT -->
196 </a>
197 <!-- /TMPL_IF -->
198
199 </td>
200 </tr>
201 </table>
202
203 <!-- TMPL_INCLUDE NAME="footer.html" -->