diff templates.petrus/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.petrus/image.html	Wed Oct 15 23:28:56 2008 +0200
@@ -0,0 +1,234 @@
+<!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/)">
+    <meta name="template" content="image.html">
+    <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>
+    <link rel="stylesheet"
+            href="<TMPL_VAR NAME=STATIC_PATH>/petrus.css"
+	    type="text/css">
+    <title><TMPL_VAR NAME=TITLE></title>
+    <script language="JavaScript"
+            type="text/javascript"
+	    src="<TMPL_VAR NAME=STATIC_PATH>/joi.js">
+    </script>
+  </head>
+
+<!-- image.html -->
+
+  <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 -->>
+
+    <!-- Menu Title -->
+    <TMPL_INCLUDE NAME="title1.html">
+
+    <!-- Navigation bar -->
+    <TMPL_INCLUDE NAME="path.html">
+    
+    <center>
+    <table border="0" cellspacing="1" cellpadding="2" width="100%">
+      <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>"
+        	     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>"
+        	     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>
+    </table>
+    </center>
+
+    <TMPL_INCLUDE NAME="footer.html">
+
+  </body>
+</html>