[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12318] new xslt init
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [12318] new xslt init |
Date: |
Fri, 14 Nov 2014 12:57:05 +0000 |
Revision: 12318
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12318
Author: sigurdne
Date: 2014-11-14 12:57:01 +0000 (Fri, 14 Nov 2014)
Log Message:
-----------
new xslt init
Modified Paths:
--------------
branches/dev-syncromind/property/templates/base/tts.xsl
Modified: branches/dev-syncromind/property/templates/base/tts.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/tts.xsl 2014-11-14
12:44:13 UTC (rev 12317)
+++ branches/dev-syncromind/property/templates/base/tts.xsl 2014-11-14
12:57:01 UTC (rev 12318)
@@ -1,6 +1,23 @@
<!-- $Id$ -->
- <xsl:template name="app_data">
+<func:function name="phpgw:conditional">
+ <xsl:param name="test"/>
+ <xsl:param name="true"/>
+ <xsl:param name="false"/>
+
+ <func:result>
<xsl:choose>
+ <xsl:when test="$test">
+ <xsl:value-of select="$true"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$false"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </func:result>
+</func:function>
+
+<xsl:template match="data">
+ <xsl:choose>
<xsl:when test="add">
<xsl:apply-templates select="add"/>
</xsl:when>
@@ -14,9 +31,9 @@
<xsl:apply-templates select="view2"/>
</xsl:when>
</xsl:choose>
- </xsl:template>
+ <xsl:call-template name="jquery_phpgw_i18n"/>
+</xsl:template>
-
<!-- add -->
<xsl:template xmlns:php="http://php.net/xsl" match="add">
<script type="text/javascript">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12318] new xslt init,
Sigurd Nes <=