Commit bc356bfb by meier

mode=dev hinzugefügt

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