Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bc356bfb
authored
Mar 31, 2012
by
meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mode=dev hinzugefügt
1 parent
18ce4b7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
24 deletions
mcPUIX/mcPUIX.xsl
mcPUIX/mcPUIX.xsl
View file @
bc356bf
...
@@ -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"
>
 
</xsl:text></a>
<a
href=
"{$param_url}"
><xsl:value-of
select=
"@value"
/><xsl:text
disable-output-escaping=
"no"
>
 
</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>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment