[Yanel-commits] rev 48464 -
public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt
michi at wyona.com
michi at wyona.com
Tue Apr 6 09:48:09 CEST 2010
Author: michi
Date: 2010-04-06 09:48:09 +0200 (Tue, 06 Apr 2010)
New Revision: 48464
Modified:
public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl
Log:
only activate toolbar zone if toolbar is off
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 2010-04-06 07:37:41 UTC (rev 48463)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl 2010-04-06 07:48:09 UTC (rev 48464)
@@ -12,6 +12,7 @@
<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: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'"/>
@@ -82,15 +83,18 @@
</style>
</head>
<body>
+<xsl:if test="$yanel.toolbar-status = 'off'">
<div id="yanelToolbarZone">
<div id="yanelToolbarZoneLink" style="display: none; height: 60px; width: 60px;">
<a href="?yanel.toolbar=on" title="Login" alt="Login"><img style="position: absolute; right:5px; top:5px;" src="{$yarep.back2realm}app1/images/yanel_kangaroo.png" height="48" width="109" border="0"/></a>
</div>
</div>
+</xsl:if>
<xsl:comment>
DEBUG:
Localization: <xsl:value-of select="$language"/>
+Toolbar Status: <xsl:value-of select="$yanel.toolbar-status"/>
Content Language: <xsl:value-of select="$content-language"/>
</xsl:comment>
<div id="page">
More information about the Yanel-commits
mailing list