Commit bc356bfb by meier

mode=dev hinzugefügt

1 parent 18ce4b7f
Showing with 18 additions and 26 deletions
......@@ -10,11 +10,11 @@
xmlns:php="http://php.net/xsl" >
<xsl:template match="/">
<xsl:apply-templates select="DBUIElement" />
<xsl:apply-templates select="PUIXArray" />
<xsl:apply-templates select="DBUIElement" mode="dev"/>
<xsl:apply-templates select="PUIXArray" mode="dev"/>
</xsl:template>
<xsl:template match="mcPUIX">
<xsl:template match="mcPUIX" mode="dev">
<xsl:param name="param_inputBE">0</xsl:param>
<h2><xsl:value-of select="@label" /></h2>
<!-- <b><xsl:value-of select="$param_inputBE" /></b>-->
......@@ -22,24 +22,26 @@
<!-- <tr><td>show</td></tr>-->
<tr>
<td>
<xsl:apply-templates select="DOMmcPUIX_show/PUIXArray" >
<xsl:apply-templates select="DOMmcPUIX_show/PUIXArray" mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
</xsl:apply-templates>
</xsl:apply-templates>
<br/>
</td>
</tr>
<!-- <tr><td>edit</td></tr>-->
<tr>
<td>
<xsl:apply-templates select="DOMmcPUIX_edit/PUIXArray" >
<xsl:apply-templates select="DOMmcPUIX_edit/PUIXArray" mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
</xsl:apply-templates>
</xsl:apply-templates>
<br/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="PUIXArray">
<xsl:template match="PUIXArray" mode="dev">
<xsl:param name="param_inputBE">0</xsl:param>
<xsl:param name="param_noform">0</xsl:param>
......@@ -49,7 +51,7 @@
<div class="row"><span class="element"><xsl:value-of select="@label" /> count(<xsl:value-of select="@count" />) </span> </div>
<xsl:for-each select="DBUIRow">
<div class="row"><span class="element"><xsl:value-of select="@label" /> i(<xsl:value-of select="@i" />) </span> </div>
<xsl:apply-templates select="DBUIElement" >
<xsl:apply-templates select="DBUIElement" mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
</xsl:apply-templates>
</xsl:for-each>
......@@ -83,14 +85,14 @@
<xsl:when test="@show=1">
<td>
<!-- <xsl:value-of select="position()" />-->
<xsl:apply-templates select=".">
<xsl:apply-templates select="." mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
<xsl:with-param name="param_withoutLabel" >1</xsl:with-param>
</xsl:apply-templates>
</td>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." >
<xsl:apply-templates select="." mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
<xsl:with-param name="param_withoutLabel" >1</xsl:with-param>
</xsl:apply-templates>
......@@ -121,14 +123,14 @@
<xsl:when test="@show=1">
<td>
<!-- <xsl:value-of select="position()" />-->
<xsl:apply-templates select=".">
<xsl:apply-templates select="." mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
<xsl:with-param name="param_withoutLabel" >1</xsl:with-param>
</xsl:apply-templates>
</td>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." >
<xsl:apply-templates select="." mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
<xsl:with-param name="param_withoutLabel" >1</xsl:with-param>
</xsl:apply-templates>
......@@ -146,7 +148,7 @@
</xsl:choose>
</xsl:template>
<xsl:template match="DBUIElement">
<xsl:template match="DBUIElement" mode="dev">
<xsl:param name="param_url">?</xsl:param>
<xsl:param name="param_only_objvar">0</xsl:param>
<xsl:param name="param_noform">0</xsl:param>
......@@ -186,7 +188,7 @@
</xsl:when>
<xsl:when test="@type='PUIXArray'">
es wird nicht formpath übernommen!!!
<xsl:apply-templates select="PUIXArray" >
<xsl:apply-templates select="PUIXArray" mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
</xsl:apply-templates>
</xsl:when>
......@@ -277,7 +279,7 @@
<a href="{$param_url}"><xsl:value-of select="@value" /><xsl:text disable-output-escaping="no">&#160;</xsl:text></a>
</xsl:when>
<xsl:when test="@type='PUIXArray'">
<xsl:apply-templates select="PUIXArray" >
<xsl:apply-templates select="PUIXArray" mode="dev">
<xsl:with-param name="param_inputBE" ><xsl:value-of select="$param_inputBE" /></xsl:with-param>
</xsl:apply-templates>
</xsl:when>
......@@ -312,14 +314,4 @@
</span>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!