Mercurial > bins
comparison templates.satyap/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 <tr> | |
69 | |
70 <td align="left"> | |
71 <!-- TMPL_IF NAME=PREV_THUMB_PAGE --> | |
72 <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>"> | |
73 <!-- TMPL_VAR NAME=STRING_PREV --> | |
74 </a> | |
75 <!-- /TMPL_IF --> | |
76 | |
77 </td> | |
78 <td align="center"> | |
79 | |
80 <!-- TMPL_VAR NAME=STRING_THUMBNAILS --> | |
81 | |
82 <!-- TMPL_VAR NAME=THUMB_PAGE_NUMBER --> | |
83 | |
84 </td> | |
85 <td align="right"> | |
86 | |
87 <!-- TMPL_IF NAME=NEXT_THUMB_PAGE --> | |
88 <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>"> | |
89 <!-- TMPL_VAR NAME=STRING_NEXT --> | |
90 </a> | |
91 <!-- /TMPL_IF --> | |
92 | |
93 </td> | |
94 </tr> | |
95 </table> | |
96 | |
97 | |
98 <!-- Thumbnails Table --> | |
99 | |
100 <table border="0" align="center" cellpadding="0" cellspacing="8"> | |
101 <tr> | |
102 | |
103 <!-- TMPL_LOOP NAME=THUMBS_TABLE --> | |
104 | |
105 <td align="center" class="thumbnail"> | |
106 | |
107 <table border="0" cellspacing="0" cellpadding="2"> | |
108 <tr><td> | |
109 <!-- TMPL_IF NAME=THUMB_TITLE --> | |
110 <!-- TMPL_VAR NAME=THUMB_TITLE --> | |
111 <!-- /TMPL_IF --> | |
112 | |
113 </td></tr><tr><td> | |
114 | |
115 <!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE --> | |
116 <a href="<TMPL_VAR NAME=THUMB_DEFAULT_SIZE>"> | |
117 <!-- /TMPL_IF --> | |
118 | |
119 <img src="<TMPL_VAR NAME=THUMB_LINK>" | |
120 width="<TMPL_VAR NAME=THUMB_WIDTH>" | |
121 height="<TMPL_VAR NAME=THUMB_HEIGHT>" | |
122 border="0" | |
123 alt="<TMPL_VAR NAME=THUMB_ALT>" | |
124 title="<TMPL_VAR NAME=THUMB_LINK_TITLE>"><!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE --></a> | |
125 <!-- /TMPL_IF --> | |
126 | |
127 </td></tr><tr><td> | |
128 | |
129 <!-- Sizes --> | |
130 | |
131 <!-- TMPL_LOOP NAME=THUMB_SIZES --> | |
132 <a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>"> | |
133 <!-- TMPL_VAR NAME=SIZE_NAME --> | |
134 </a> | |
135 <!-- TMPL_UNLESS NAME="__LAST__" --> | |
136 | |
137 <!-- /TMPL_UNLESS --> | |
138 <!-- /TMPL_LOOP --> | |
139 | |
140 <!-- End of Sizes --> | |
141 | |
142 </td></tr></table> | |
143 | |
144 </td> | |
145 | |
146 <!-- TMPL_IF NAME=THUMB_NEW_LINE --> | |
147 </tr><tr> | |
148 | |
149 <!-- /TMPL_IF --> | |
150 <!-- /TMPL_LOOP --> | |
151 | |
152 </tr> | |
153 </table> | |
154 | |
155 <!-- End of Thumbnails Table --> | |
156 | |
157 | |
158 <table border="0" align="center" class="thnav"> | |
159 | |
160 <tr> | |
161 <td align="left"> | |
162 <!-- TMPL_IF NAME=PREV_THUMB_PAGE --> | |
163 <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>"> | |
164 <!-- TMPL_VAR NAME=STRING_PREV --> | |
165 <!-- /TMPL_IF --> | |
166 | |
167 | |
168 </td><td align="center"> | |
169 | |
170 <!-- List of thumbnail page numbers --> | |
171 | |
172 <!-- TMPL_LOOP NAME=THUMB_NUMBER_LINKS --> | |
173 | |
174 <!-- TMPL_UNLESS NAME="__FIRST__" --> | |
175 | |
176 <!-- /TMPL_UNLESS --> | |
177 | |
178 <!-- TMPL_IF NAME=NUM_LINK --> | |
179 <a href=<!-- TMPL_VAR NAME=NUM_LINK -->> | |
180 <!-- TMPL_VAR NAME=NUMBER --> | |
181 </a> | |
182 <!-- TMPL_ELSE --> | |
183 <!-- TMPL_VAR NAME=NUMBER --> | |
184 <!-- /TMPL_IF --> | |
185 <!-- /TMPL_LOOP --> | |
186 | |
187 </td> | |
188 <td align="right"> | |
189 | |
190 | |
191 <!-- TMPL_IF NAME=NEXT_THUMB_PAGE --> | |
192 <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>"> | |
193 <!-- TMPL_VAR NAME=STRING_NEXT --> | |
194 </a> | |
195 <!-- /TMPL_IF --> | |
196 | |
197 </td> | |
198 </tr> | |
199 </table> | |
200 | |
201 <!-- TMPL_INCLUDE NAME="footer.html" --> |