diff templates.marc/path.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.marc/path.html	Wed Oct 15 23:28:56 2008 +0200
@@ -0,0 +1,49 @@
+<TMPL_LOOP NAME=ALBUM_PATH_LINKS>
+  <TMPL_UNLESS NAME="__FIRST__">
+    <TMPL_UNLESS NAME="PATH_FIRST">
+      <TMPL_IF NAME="PATH_ISALBUM">
+        /
+      <TMPL_ELSE>
+        ::
+      </TMPL_IF>
+    </TMPL_UNLESS>
+    <TMPL_IF NAME="PATH_LINK">
+      <a title="<TMPL_VAR NAME=PATH_TITLE>"
+         href ="<TMPL_VAR NAME=PATH_LINK>">
+	<TMPL_IF NAME="PATH_SHOW_ICON">
+	  <TMPL_IF NAME="PATH_ISALBUM">
+            <img src="<TMPL_VAR NAME="STATIC_PATH">/subalbum.png"
+		 alt="<TMPL_VAR NAME="STRING_SUBALBUMS">">&nbsp;<TMPL_VAR NAME=PATH_NAME></a>
+	  <TMPL_ELSE>
+            <img src="<TMPL_VAR NAME="STATIC_PATH">/large.png"
+		 alt="<TMPL_VAR NAME="STRING_SUBALBUMS">">&nbsp;<TMPL_VAR NAME=PATH_NAME></a>
+	  </TMPL_IF>
+	<TMPL_ELSE>
+          <TMPL_VAR NAME=PATH_NAME></a>
+	</TMPL_IF>
+    
+    <TMPL_ELSE>
+        <TMPL_IF NAME="PATH_ISALBUM">
+	  <TMPL_IF NAME="PATH_SHOW_ICON">
+            <img src="<TMPL_VAR NAME="STATIC_PATH">/subalbum.png"
+	         alt="<TMPL_VAR NAME="STRING_SUBALBUMS">">&nbsp;<TMPL_VAR NAME=PATH_NAME>
+	  <TMPL_ELSE>
+            <TMPL_VAR NAME=PATH_NAME>
+	  </TMPL_IF>
+        <TMPL_ELSE>
+	  <TMPL_IF NAME="PATH_SHOW_ICON">
+            <img src="<TMPL_VAR NAME="STATIC_PATH">/large.png"
+	         alt="<TMPL_VAR NAME="STRING_IMAGE">">&nbsp;<TMPL_VAR NAME=PATH_NAME>
+	  <TMPL_ELSE>
+            <TMPL_VAR NAME=PATH_NAME>
+	  </TMPL_IF>
+        </TMPL_IF>
+      
+      <TMPL_IF NAME="PATH_IMG_NUM">
+        <TMPL_UNLESS NAME="PATH_ISALBUM">
+	  (<TMPL_VAR NAME="IMG_NUM">&nbsp;/&nbsp;<TMPL_VAR NAME="IMG_COUNT">)
+        </TMPL_UNLESS>
+      </TMPL_IF>
+    </TMPL_IF>
+  </TMPL_UNLESS>
+</TMPL_LOOP>