[Yanel-commits] rev 48616 - public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt

michi at wyona.com michi at wyona.com
Sat Apr 10 09:54:04 CEST 2010


Author: michi
Date: 2010-04-10 09:54:04 +0200 (Sat, 10 Apr 2010)
New Revision: 48616

Added:
   public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/footer.xsl
Modified:
   public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/homepage.xsl
Log:
footer added

Added: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/footer.xsl
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/footer.xsl	                        (rev 0)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/footer.xsl	2010-04-10 07:54:04 UTC (rev 48616)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:xhtml="http://www.w3.org/1999/xhtml"
+  xmlns:xi="http://www.w3.org/2001/XInclude"
+  xmlns:dc="http://purl.org/dc/elements/1.1/"
+  exclude-result-prefixes="xhtml dc">
+
+  <xsl:param name="yanel.path.name" select="'NAME_IS_NULL'"/>
+  <xsl:param name="yanel.path" select="'PATH_IS_NULL'"/>
+  <xsl:param name="yanel.back2context" select="'BACK2CONTEXT_IS_NULL'"/>
+  <xsl:param name="yarep.back2realm" select="'BACK2REALM_IS_NULL'"/>
+  <xsl:param name="yanel.toolbar-status" select="'TOOLBAR-STATUS_IS_NULL'"/>
+  <xsl:param name="yanel.reservedPrefix" select="'RESERVED-PREFIX_IS_NULL'"/>
+  <xsl:variable name="name-without-suffix" select="substring-before($yanel.path.name, '.')"/>
+  <xsl:param name="language" select="'LANGUAGE_IS_NULL'"/>
+  <xsl:param name="content-language" select="'CONTENT_LANGUAGE_IS_NULL'"/>
+  <xsl:param name="languages" select="'LANGUAGES_IS_NULL'"/>
+
+<xsl:template name="footer">
+<div id="footer">
+  <ul class="footer-nav">
+<xsl:choose>
+  <xsl:when test="$content-language = 'de'">
+    <li><a href="#">Site Map</a></li>
+    <li><a href="#">Impressum</a></li>
+    <li><a href="#">Datenschutz</a></li>
+    <li class="contact">Contact: <address>Wyona AG, Hardstrasse 219, CH-8005 Zurich, +41 44 272 91 61</address></li>
+    <li class="copyright">Copyright &#169; 2010 Wyona</li>
+  </xsl:when>
+  <xsl:otherwise>
+    <li><a href="#">Site Map</a></li>
+    <li><a href="#">Impressum/Legal</a></li>
+    <li><a href="#">Privacy Policy</a></li>
+    <li class="contact">Contact: <address>Wyona AG, Hardstrasse 219, CH-8005 Zurich, +41 44 272 91 61</address></li>
+    <li class="copyright">Copyright &#169; 2010 Wyona</li>
+  </xsl:otherwise>
+</xsl:choose>
+  </ul>
+</div>
+</xsl:template>
+
+</xsl:stylesheet>


Property changes on: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/footer.xsl
___________________________________________________________________
Name: svn:executable
   + *

Modified: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/homepage.xsl
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/homepage.xsl	2010-04-10 07:49:22 UTC (rev 48615)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/homepage.xsl	2010-04-10 07:54:04 UTC (rev 48616)
@@ -9,6 +9,7 @@
   exclude-result-prefixes="xhtml dc">
 
   <xsl:import href="header.xsl"/>
+  <xsl:import href="footer.xsl"/>
 
   <xsl:param name="yanel.path.name" select="'NAME_IS_NULL'"/>
   <xsl:param name="yanel.path" select="'PATH_IS_NULL'"/>
@@ -120,18 +121,9 @@
 		</div>
 
 <xsl:call-template name="header"/>
+<xsl:call-template name="footer"/>
 
-<div id="footer">
-  <ul class="footer-nav">
-    <li><a href="#">Site Map</a></li>
-    <li><a href="#">Impressum/Legal</a></li>
-    <li><a href="#">Privacy Policy</a></li>
-    <li class="contact">Contact: <address>Wyona AG, Hardstrasse 219, CH-8005 Zurich, +41 44 272 91 61</address></li>
-    <li class="copyright">Copyright &#169; 2010 Wyona</li>
-  </ul>
 </div>
-
-</div>
 </body>
 </html>
 </xsl:template>



More information about the Yanel-commits mailing list