[Yanel-commits] rev 43866 -
public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt
michi at wyona.com
michi at wyona.com
Sun Jul 26 16:28:37 CEST 2009
Author: michi
Date: 2009-07-26 16:28:36 +0200 (Sun, 26 Jul 2009)
New Revision: 43866
Modified:
public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl
Log:
search field added
Modified: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl 2009-07-26 14:28:02 UTC (rev 43865)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl 2009-07-26 14:28:36 UTC (rev 43866)
@@ -86,6 +86,16 @@
<a href="?yanel.toolbar=on">Toolbar</a>
-->
Localization: <xsl:value-of select="$language"/>
+ <div>
+ <xsl:choose>
+ <xsl:when test="$content-language = 'de'">
+ <form action="{$yarep.back2realm}de/suche.html" method="GET"><input type="text" name="q"/><input type="submit" value="Suche"/></form>
+ </xsl:when>
+ <xsl:otherwise>
+ <form action="{$yarep.back2realm}en/search.html" method="GET"><input type="text" name="q"/><input type="submit" value="Search"/></form>
+ </xsl:otherwise>
+ </xsl:choose>
+ </div>
</div>
</div>
<!-- END of header -->
More information about the Yanel-commits
mailing list