view templates.mwolson/thumbnail.html @ 9:0f248ad86f9f 1.1.29.e2

bins_edit: try to get encoding stuff right, move it into main
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:11:14 +0200
parents a84c32f131df
children
line wrap: on
line source

<!-- TMPL_INCLUDE NAME="header.html" -->

    <!-- TMPL_IF NAME=PRELOAD_IMAGES -->
    <!-- preload thumnails of the next page to speed up the album
     browsing -->
    <script type="text/javascript" language="javascript">
      <!-- hide from non JavaScript Browsers
      function PreloadNextImages() {
        <!-- TMPL_LOOP NAME=PRELOAD_IMAGES -->
        img<!-- TMPL_VAR NAME=PRELOAD_IMAGE_NB --> =
          new Image(<!-- TMPL_VAR NAME=PRELOAD_IMAGE_WIDTH -->,
                    <!-- TMPL_VAR NAME=PRELOAD_IMAGE_HEIGHT -->);
        img<!-- TMPL_VAR NAME=PRELOAD_IMAGE_NB -->.src =
          "<!-- TMPL_VAR NAME=PRELOAD_IMAGE_NAME -->";
        <!-- /TMPL_LOOP -->
      }
    // End hiding -->
    </script>
    <!-- /TMPL_IF -->
    <!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
    <link
	  rel="next"
	  href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>"
	  title="<TMPL_VAR NAME=STRING_NEXT>">
    <link
	  rel="last"
	  href="<TMPL_VAR NAME=LAST_PAGE>"
	  title="<TMPL_VAR NAME=STRING_LAST>">
    <!-- /TMPL_IF -->
    <!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
    <link
	  rel="prev"
	  href="<TMPL_VAR NAME=PREV_THUMB_PAGE>"
	  title="<TMPL_VAR NAME=STRING_PREV>">
    <link
	  rel="first"
	  href="<TMPL_VAR NAME=FIRST_PAGE>"
	  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=UP_TITLE>">
    <link
	  rel="Start"
	  href="<TMPL_VAR NAME=STATIC_PATH>/.."
	  title="<TMPL_VAR NAME=STRING_HOME>">
    <!-- /TMPL_IF -->
    <link
	  rel="Index"
	  href="<TMPL_VAR NAME=TREE_LINK>"
	  title="<TMPL_VAR NAME=TREE_TITLE>">
</head>

<body
<!-- TMPL_IF NAME=PRELOAD_IMAGES -->
      onload="PreloadNextImages()"<!-- /TMPL_IF -->>


<!-- TMPL_INCLUDE NAME="bodyheader.html" -->

<!-- TMPL_INCLUDE NAME="thheader.html" -->

<p />

<table class="thnav" align="center" border="0">
<col width="33%"><col width="33%"><col width="34%">
<tr>

<td align="left">
<!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
    <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>">
        <!-- TMPL_VAR NAME=STRING_PREV -->
    </a>
<!-- /TMPL_IF -->
&nbsp;
</td>
<td align="center">

<!-- TMPL_VAR NAME=STRING_THUMBNAILS -->

<!-- TMPL_VAR NAME=THUMB_PAGE_NUMBER -->

</td>
<td align="right">
&nbsp;
<!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
    <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>">
        <!-- TMPL_VAR NAME=STRING_NEXT -->
    </a>
<!-- /TMPL_IF -->

</td>
</tr>
</table>


<!-- Thumbnails Table -->

<table border="0" align="center" cellpadding="0" cellspacing="8">
<tr>

<!-- TMPL_LOOP NAME=THUMBS_TABLE -->

<td align="center" class="thumbnail">

<table border="0" cellspacing="0" cellpadding="2">
<tr><td>
    <!-- TMPL_IF NAME=THUMB_TITLE -->
        <!-- TMPL_VAR NAME=THUMB_TITLE -->
    <!-- /TMPL_IF -->

</td></tr><tr><td>

    <!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE -->
        <a href="<TMPL_VAR NAME=THUMB_DEFAULT_SIZE>">
    <!-- /TMPL_IF -->

    <img src="<TMPL_VAR NAME=THUMB_LINK>"
        width="<TMPL_VAR NAME=THUMB_WIDTH>"
        height="<TMPL_VAR NAME=THUMB_HEIGHT>"
        border="0"
        alt="<TMPL_VAR NAME=THUMB_ALT>"
        title="<TMPL_VAR NAME=THUMB_LINK_TITLE>"><!-- TMPL_IF NAME=THUMB_DEFAULT_SIZE --></a>
    <!-- /TMPL_IF -->

</td></tr><tr><td>

    <!-- Sizes -->

        <!-- TMPL_LOOP NAME=THUMB_SIZES -->
            <a href="<TMPL_VAR NAME=SIZE_LINK>" title="<TMPL_VAR NAME=SIZE_TITLE>">
                <!-- TMPL_VAR NAME=SIZE_NAME -->
            </a>
            <!-- TMPL_UNLESS NAME="__LAST__" -->
                &nbsp;
            <!-- /TMPL_UNLESS -->
        <!-- /TMPL_LOOP -->

    <!-- End of Sizes -->

</td></tr></table>

</td>

    <!-- TMPL_IF NAME=THUMB_NEW_LINE -->
    </tr><tr>

    <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->

</tr>
</table>

<!-- End of Thumbnails Table -->


<table border="0" align="center" class="thnav">
<col width="33%"><col width="33%"><col width="34%">

<tr>
<td align="left">
<!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
    <a href="<TMPL_VAR NAME=PREV_THUMB_PAGE>">
    <!-- TMPL_VAR NAME=STRING_PREV -->
<!-- /TMPL_IF -->

&nbsp;
</td><td align="center">

<!-- List of thumbnail page numbers -->

<!-- TMPL_LOOP NAME=THUMB_NUMBER_LINKS -->

    <!-- TMPL_UNLESS NAME="__FIRST__" -->
        &nbsp;
    <!-- /TMPL_UNLESS -->

    <!-- TMPL_IF NAME=NUM_LINK -->
        <a href=<!-- TMPL_VAR NAME=NUM_LINK -->>
            <!-- TMPL_VAR NAME=NUMBER -->
        </a>
    <!-- TMPL_ELSE -->
        <!-- TMPL_VAR NAME=NUMBER -->
    <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->

</td>
<td align="right">
&nbsp;

<!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
    <a href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>">
        <!-- TMPL_VAR NAME=STRING_NEXT -->
    </a>
<!-- /TMPL_IF -->

</td>
</tr>
</table>

<!-- TMPL_INCLUDE NAME="footer.html" -->