diff templates.joi/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.joi/image.html	Wed Oct 15 23:28:56 2008 +0200
@@ -0,0 +1,265 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+"http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+  <head>
+    <meta http-equiv="content-type"
+          content="text/html;charset=<TMPL_VAR NAME=ENCODING>">
+    <meta name="GENERATOR"
+          content="BINS <TMPL_VAR NAME=BINS_VERSION> (http://bins.sautret.org/)">
+    <title><TMPL_VAR NAME=TITLE></title>
+    <script language="JavaScript"
+            type="text/javascript"
+	    src="<TMPL_VAR NAME=STATIC_PATH>/joi.js">
+    </script>
+    <TMPL_IF NAME=CUSTOM_CSS>
+      <link rel="stylesheet"
+            href="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=CUSTOM_CSS>"
+	    type="text/css">
+    <TMPL_ELSE>
+      <link rel="stylesheet"
+            href="<TMPL_VAR NAME=STATIC_PATH>/joi.css"
+	    type="text/css">
+    </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="BG_IMAGE">
+        background="<TMPL_VAR NAME="BG_IMAGE">"
+      </TMPL_IF>
+      <!-- TMPL_IF NAME=IMG_PRELOAD -->
+        onload="PreloadNextImage('<!-- TMPL_VAR NAME=IMG_PRELOAD -->')"<!-- /TMPL_IF -->>
+
+    <table border="0" cellspacing="2" cellpadding="5" width="100%">
+      <tr class="path">
+        <td colspan="2"><TMPL_INCLUDE NAME="path.html"></td>
+      </tr>
+      <tr>
+        <td class="navbar">
+	  <TMPL_INCLUDE NAME="imagenavbar.html">
+	</td>
+        <td width="100%">
+          <table cellspacing="0" border="0" cellpadding="0" width="<TMPL_VAR NAME=WIDTH>px">
+            <tr class="contentBG">
+              <td>
+	        <TMPL_IF NAME="PREV_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=PREV_IMAGE>"
+		     accesskey="p"
+        	     onMouseOver="showPreview('prev', 'nw');"
+        	     onMouseOut="hidePreview();">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/prev.png"
+		         alt="<TMPL_VAR NAME=STRING_PREV>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/prevInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_PREV>">
+		</TMPL_IF>
+	        <TMPL_IF NAME="NEXT_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=NEXT_IMAGE>"
+		     accesskey="n"
+        	     onMouseOver="showPreview('next', 'nw')"
+        	     onMouseOut="hidePreview()">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/next.png"
+		         alt="<TMPL_VAR NAME=STRING_NEXT>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/nextInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_NEXT>">
+		</TMPL_IF>
+              </td>
+              <td align="center">
+                <TMPL_LOOP NAME=SIZE_LINKS>
+                  <TMPL_IF NAME=SIZE_LINK>
+                    <a href="<TMPL_VAR NAME=SIZE_LINK>"
+                       title="<TMPL_VAR NAME=SIZE_TITLE>">
+                      <img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=SIZE_FILE>"
+			   alt="<TMPL_VAR NAME=SIZE_TITLE>"
+			   title="<TMPL_VAR NAME=SIZE_TITLE>"></a>
+                  <TMPL_ELSE>
+                    <img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=SIZE_FILE>"
+			 alt="<TMPL_VAR NAME=SIZE_TITLE>"
+			 title="<TMPL_VAR NAME=SIZE_TITLE>">
+                  </TMPL_IF>
+                </TMPL_LOOP>
+                &nbsp;&nbsp;
+                <TMPL_IF NAME=DETAILS_LINK>
+                  <a href="<TMPL_VAR NAME=DETAILS_LINK>"
+                     onMouseOver="showPreview('info', 'nc')"
+                     onMouseOut="hidePreview()">
+                    <img src="<TMPL_VAR NAME=STATIC_PATH>/info.png"
+                         alt=""></a>
+                <TMPL_ELSE>
+                  <img src="<TMPL_VAR NAME=STATIC_PATH>/info.png"
+                       alt=""
+                       onMouseOver="showPreview('info', 'nc')"
+                       onMouseOut="hidePreview()">
+                </TMPL_IF>
+              </td>
+              <td align="right">
+	        <TMPL_IF NAME="PREV_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=PREV_IMAGE>"
+        	     onMouseOver="showPreview('prev', 'ne');"
+        	     onMouseOut="hidePreview();">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/prev.png"
+		         alt="<TMPL_VAR NAME=STRING_PREV>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/prevInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_PREV>">
+		</TMPL_IF>
+	        <TMPL_IF NAME="NEXT_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=NEXT_IMAGE>"
+        	     onMouseOver="showPreview('next', 'ne')"
+        	     onMouseOut="hidePreview()">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/next.png"
+		         alt="<TMPL_VAR NAME=STRING_NEXT>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/nextInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_NEXT>">
+		</TMPL_IF>
+              </td>
+            </tr>
+            <tr>
+              <td colspan="3">
+                <div id="contentdiv" style="position:relative;">
+                  <img src="<TMPL_VAR NAME=IMAGE_TO_DISPLAY>"
+                       alt="<TMPL_VAR NAME=STRING_IMAGE>"
+                       width="<TMPL_VAR NAME=WIDTH>px"
+                       height="<TMPL_VAR NAME=HEIGHT>px">
+		  <script type="text/javascript">
+	            <TMPL_IF NAME="PREV_IMAGE_PAGE">
+		      makePreview('prev', '<TMPL_VAR NAME=PREV_THUMB>', true);
+		    </TMPL_IF>
+	            <TMPL_IF NAME="NEXT_IMAGE_PAGE">
+		      makePreview('next', '<TMPL_VAR NAME=NEXT_THUMB>', true);
+		    </TMPL_IF>
+		    infoStart('info');
+                    <TMPL_LOOP NAME=DESC_TABLE>
+		      infoAdd('<TMPL_VAR NAME=DESC_FIELD_NAME>',
+		              '<TMPL_VAR NAME=DESC_FIELD_VALUE>');
+                    </TMPL_LOOP>
+		    infoAdd('File name', '<TMPL_VAR NAME=FILE_NAME>');
+		    infoAdd('File info', '<TMPL_VAR NAME=PICTURE_INFO>');
+		    infoEnd();
+		  </script>
+                </div>
+              </td>
+            </tr>
+            <tr class="contentBG">
+              <td>
+	        <TMPL_IF NAME="PREV_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=PREV_IMAGE>"
+        	     onMouseOver="showPreview('prev', 'sw');"
+        	     onMouseOut="hidePreview();">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/prev.png"
+		         alt="<TMPL_VAR NAME=STRING_PREV>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/prevInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_PREV>">
+		</TMPL_IF>
+	        <TMPL_IF NAME="NEXT_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=NEXT_IMAGE>"
+        	     onMouseOver="showPreview('next', 'sw')"
+        	     onMouseOut="hidePreview()">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/next.png"
+		         alt="<TMPL_VAR NAME=STRING_NEXT>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/nextInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_NEXT>">
+		</TMPL_IF>
+              </td>
+              <td align="center">
+                <TMPL_LOOP NAME=SIZE_LINKS>
+                  <TMPL_IF NAME=SIZE_LINK>
+                    <a href="<TMPL_VAR NAME=SIZE_LINK>"
+                       title="<TMPL_VAR NAME=SIZE_TITLE>">
+                      <img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=SIZE_FILE>"
+			   alt="<TMPL_VAR NAME=SIZE_TITLE>"
+			   title="<TMPL_VAR NAME=SIZE_TITLE>"></a>
+                  <TMPL_ELSE>
+                    <img src="<TMPL_VAR NAME=STATIC_PATH>/<TMPL_VAR NAME=SIZE_FILE>"
+			 alt="<TMPL_VAR NAME=SIZE_TITLE>"
+			 title="<TMPL_VAR NAME=SIZE_TITLE>">
+                  </TMPL_IF>
+                </TMPL_LOOP>
+                &nbsp;&nbsp;
+                <TMPL_IF NAME=DETAILS_LINK>
+                  <a href="<TMPL_VAR NAME=DETAILS_LINK>"
+                     onMouseOver="showPreview('info', 'sc')"
+                     onMouseOut="hidePreview()">
+                    <img src="<TMPL_VAR NAME=STATIC_PATH>/info.png"
+                         alt="Information"></a>
+                <TMPL_ELSE>
+                  <img src="<TMPL_VAR NAME=STATIC_PATH>/info.png"
+                       alt="Information"
+                       onMouseOver="showPreview('info', 'sc')"
+                       onMouseOut="hidePreview()">
+                </TMPL_IF>
+              </td>
+              <td align="right">
+	        <TMPL_IF NAME="PREV_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=PREV_IMAGE>"
+        	     onMouseOver="showPreview('prev', 'se');"
+        	     onMouseOut="hidePreview();">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/prev.png"
+		         alt="<TMPL_VAR NAME=STRING_PREV>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/prevInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_PREV>">
+		</TMPL_IF>
+	        <TMPL_IF NAME="NEXT_IMAGE_PAGE">
+        	  <a href="<TMPL_VAR NAME=NEXT_IMAGE>"
+        	     onMouseOver="showPreview('next', 'se')"
+        	     onMouseOut="hidePreview()">
+        	    <img src="<TMPL_VAR NAME=STATIC_PATH>/next.png"
+		         alt="<TMPL_VAR NAME=STRING_NEXT>"></a>
+	        <TMPL_ELSE>
+        	  <img src="<TMPL_VAR NAME=STATIC_PATH>/nextInactive.png"
+		       alt="<TMPL_VAR NAME=STRING_NEXT>">
+		</TMPL_IF>
+              </td>
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr class="footer">
+        <td colspan="2">
+	  <TMPL_INCLUDE NAME="footer.html">
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>