Mercurial > bins
diff templates.mwolson/image.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates.mwolson/image.html Wed Oct 15 23:28:56 2008 +0200 @@ -0,0 +1,276 @@ +<!-- TMPL_INCLUDE NAME="header.html" --> + + <!-- TMPL_IF NAME=IMG_PRELOAD --> + <!-- preload next image of same size to speed up the album browsing --> + <script type="text/javascript" language="javascript"> + <!-- hide from non JavaScript Browsers + function PreloadNextImage() { + nextimg = new Image(); + nextimg.src = + "<!-- TMPL_VAR NAME=IMG_PRELOAD -->"; + } + // End hiding --> + </script> + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME="NEXT_IMAGE_PAGE" --> + <link + rel="next" + href="<TMPL_VAR NAME=NEXT_IMAGE>" + title="<TMPL_VAR NAME=NEXT_TITLE>"> + <link + rel="last" + href="<TMPL_VAR NAME=LAST_IMAGE>" + title="<TMPL_VAR NAME=STRING_LAST>"> + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME="PREV_IMAGE_PAGE" --> + <link + rel="prev" + href="<TMPL_VAR NAME=PREV_IMAGE>" + title="<TMPL_VAR NAME=PREV_TITLE>"> + <link + rel="first" + href="<TMPL_VAR NAME=FIRST_IMAGE>" + title="<TMPL_VAR NAME=STRING_FIRST>"> + <!-- /TMPL_IF --> + <TMPL_IF NAME="UP_LINK"> + <link + rel="up" + href="<TMPL_VAR NAME=UP_LINK>" + title="<TMPL_VAR NAME=STRING_UP>"> + </TMPL_IF> + <link + rel="parent" + href="<TMPL_VAR NAME=THUMB_PAGE>" + title="<TMPL_VAR NAME=STRING_THUMBNAILS>"> + <link + rel="Start" + href="<TMPL_VAR NAME=STATIC_PATH>/.." + title="<TMPL_VAR NAME=STRING_HOME>"> + <link + rel="Index" + href="<TMPL_VAR NAME=TREE_LINK>" + title="<TMPL_VAR NAME=TREE_TITLE>"> +</head> + +<body <!-- TMPL_IF NAME=IMG_PRELOAD --> + onload="PreloadNextImage('<!-- TMPL_VAR NAME=IMG_PRELOAD -->')"<!-- /TMPL_IF -->> + +<!-- TMPL_INCLUDE NAME="bodyheader.html" --> + +<!-- MAIN TABLE (Title, Image, Description)--> + +<table class="mainheader" align="center"> + +<tr> + <td class="pagetitle"> + <!-- TMPL_VAR NAME=TITLE --> + </td> + <td align="right"> + <!-- TMPL_INCLUDE NAME="path.html" --> + </td> +</tr> + +</table> + +<p /> + +<table align="center" class="navbar" border="0"> +<col width="25%"><col width="25%"><col width="25%"><col width="25%"> +<tr> +<td valign="top" align="left"> +<a href="<TMPL_VAR NAME=PREV_IMAGE>" + title="<TMPL_VAR NAME=PREV_TITLE>"> + <!-- TMPL_VAR NAME=STRING_PREV --> +</a> +</td> + +<td valign="top" align="center"> + +<a href = "<TMPL_VAR NAME=THUMB_PAGE>"> + <!-- TMPL_VAR NAME=STRING_THUMBNAILS --> +</a> +</td> + +<td valign="top" align="center"> +<a href="imagelist.html"> + <!-- TMPL_VAR NAME=STRING_IMAGELIST --> +</a> +</td> + +<td valign="top" align="right"> +<a href="<TMPL_VAR NAME=NEXT_IMAGE>" + title="<TMPL_VAR NAME=NEXT_TITLE>"> +<!-- TMPL_VAR NAME=STRING_NEXT --> +</a> +</td> + +</tr> +</table> + +<table class="mainimage" align="center"> +<col width="33%"><col width="33%"><col width="34%"> + +<tr> +<td align="left"> + + +<!-- TMPL_IF NAME="PREV_IMAGE_PAGE" --> + <a href="<TMPL_VAR NAME=PREV_IMAGE>" title="<TMPL_VAR NAME=PREV_TITLE>"> + <!-- TMPL_VAR NAME=STRING_PREV --> + </a> +<!-- /TMPL_IF --> + +</td><td align="center"> + + +<!-- Sizes --> + +<!-- TMPL_LOOP NAME=SIZE_LINKS --> + + <!-- TMPL_IF NAME=SIZE_LINK --> + <a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>"> + <!-- TMPL_VAR NAME=SIZE_NAME --> + </a> + <!-- TMPL_ELSE --> + <!-- TMPL_VAR NAME=SIZE_NAME --> + <!-- /TMPL_IF --> + +<!-- /TMPL_LOOP --> + +<!-- End of Sizes --> + + +</td><td align="right"> + +<!-- TMPL_IF NAME="NEXT_IMAGE_PAGE" --> + <a href="<TMPL_VAR NAME=NEXT_IMAGE>" title="<TMPL_VAR NAME=NEXT_TITLE>"> + <!-- TMPL_VAR NAME=STRING_NEXT --> + </a> +<!-- /TMPL_IF --> + +</td> + +</tr> +<tr> +<td colspan="3" align="center"> + +<a href="<TMPL_VAR NAME=IMAGE_TO_DISPLAY>"> + <img src="<TMPL_VAR NAME=IMAGE_TO_DISPLAY>" + alt="<TMPL_VAR NAME=STRING_IMAGE>" + width="<TMPL_VAR NAME=WIDTH>" + height="<TMPL_VAR NAME=HEIGHT>" + border="0"> +</a> + +</td> +</tr> + +<tr> +<td colspan="3" align="center"> + +<!-- TMPL_VAR NAME=FILE_NAME --> + +<!-- TMPL_VAR NAME=PICTURE_INFO --> + +</td> +</tr> +</table> + +<!-- end main image, start decsription --> + +<!-- Desc Table --> + +<!-- TMPL_IF NAME=DESC_TABLE --> +<table class="imagedesc" align="center"> + <!-- TMPL_LOOP NAME=DESC_TABLE --> + <tr> + <td class="fname"><!-- TMPL_VAR NAME=DESC_FIELD_NAME --></td> + <td class="fvalue"><!-- TMPL_VAR NAME=DESC_FIELD_VALUE --></td> + </tr> + <!-- /TMPL_LOOP --> +</table> +<!-- /TMPL_IF --> + +<!-- End of Desc Table --> + + +<!-- TMPL_IF NAME=DETAILS_LINK --> + +<p class="detailslink"> +<a href="<TMPL_VAR NAME=DETAILS_LINK>"> + <!-- TMPL_VAR NAME=STRING_DETAILS --> +</a> +</p> + +<!-- /TMPL_IF --> + +<!-- starting the bottom row of navigation links --> + +<table align="center" class="navbar" border="0"> + +<tr> + +<td valign="top" align="left"> + +<a href = "<TMPL_VAR NAME=THUMB_PAGE>"> + <!-- TMPL_VAR NAME=STRING_THUMBNAILS --> +</a> + +</td> +<td valign="top" align="right"> + +<a href="imagelist.html"> + <!-- TMPL_VAR NAME=STRING_IMAGELIST --> +</a> + +</td> + +</tr> + +<tr> + +<td valign="top"> + +<!-- TMPL_IF NAME=PREV_THUMB --> + <a href="<TMPL_VAR NAME=PREV_IMAGE>"> + <img src="<TMPL_VAR NAME=PREV_THUMB>" + title="<TMPL_VAR NAME=PREV_TITLE>" + alt="<TMPL_VAR NAME=STRING_PREV>" + border="0" + ></a> +<!-- /TMPL_IF --> + +<br /> + +<a href="<TMPL_VAR NAME=PREV_IMAGE>" + title="<TMPL_VAR NAME=PREV_TITLE>"> + <!-- TMPL_VAR NAME=STRING_PREV --> +</a> + +</td> + +<td valign="top" align="right"> + +<!-- TMPL_IF NAME=NEXT_THUMB --> +<a href="<TMPL_VAR NAME=NEXT_IMAGE>"> + <img src="<TMPL_VAR NAME=NEXT_THUMB>" + title="<TMPL_VAR NAME=NEXT_TITLE>" + alt="<TMPL_VAR NAME=STRING_NEXT>" + border="0" + ></a> +<!-- /TMPL_IF --> + +<br/ > + +<a href="<TMPL_VAR NAME=NEXT_IMAGE>" + title="<TMPL_VAR NAME=NEXT_TITLE>"> +<!-- TMPL_VAR NAME=STRING_NEXT --> +</a> + +</td> + +</tr> + +</table> + +<!-- TMPL_INCLUDE NAME="footer.html" -->