Removed several unnecessary get-setting calls in Foundry.Removed several unnecessary get-setting calls in Foundry.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3140 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
1cfc7d7648
commit
4e5273ac58
|
|
@ -42,10 +42,7 @@
|
|||
<xsl:param name="layout-tree" select="."/>
|
||||
|
||||
<xsl:variable name="separator"
|
||||
select="foundry:get-setting('bebop-contextbar',
|
||||
'separator',
|
||||
' -> ',
|
||||
./@separator)"/>
|
||||
select="' -> '"/>
|
||||
|
||||
<div class="bebop-contextbar">
|
||||
<xsl:apply-templates>
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@
|
|||
<xsl:attribute name="content">
|
||||
<xsl:value-of select="../following-sibling::bebop:cell/*/@hint"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', 'ⓘ')"/>
|
||||
<xsl:value-of select="'ⓘ'"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@
|
|||
<xsl:attribute name="content">
|
||||
<xsl:value-of select="@hint"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', 'ⓘ')"/>
|
||||
<xsl:value-of select="'ⓘ'"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@
|
|||
<!-- DE Hole alle benötigten Einstellungen-->
|
||||
<!-- EN Getting all needed setting-->
|
||||
<xsl:variable name="show-padding"
|
||||
select="foundry:get-setting('bebop', 'padding/show-padding', 'false')"/>
|
||||
select="'false'"/>
|
||||
<xsl:variable name="border-color"
|
||||
select="foundry:get-setting('bebop', 'padding/border-color', 'ccc')"/>
|
||||
select="'ccc'"/>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="$show-padding = 'true'">
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@
|
|||
</xsl:call-template>
|
||||
<xsl:apply-templates select="bebop:tabStrip">
|
||||
<xsl:with-param name="tab-pane-mode"
|
||||
select="foundry:get-setting('bebop',
|
||||
'tab-pane/mode',
|
||||
'horizontal',
|
||||
'tab-pane-mode')"/>
|
||||
select="'horizontal'"/>
|
||||
</xsl:apply-templates>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
|
|
|||
|
|
@ -138,9 +138,7 @@
|
|||
<xsl:with-param name="alt" select="'[X]'"/>
|
||||
<xsl:with-param name="title" select="'[X]'"/>
|
||||
<xsl:with-param name="src"
|
||||
select="foundry:parse-link(foundry:get-setting('bebop',
|
||||
'table/setImage/checkbox-checked',
|
||||
'/images/bebop/checkbox-checked.gif'),
|
||||
select="foundry:gen-path('/images/bebop/checkbox-checked.gif',
|
||||
$theme-prefix)"/>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@
|
|||
<xsl:attribute name="content">
|
||||
<xsl:value-of select="@hint"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', 'ⓘ')"/>
|
||||
<xsl:value-of select="'ⓘ'"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</legend>
|
||||
|
|
@ -228,7 +228,7 @@
|
|||
<xsl:attribute name="content">
|
||||
<xsl:value-of select="@hint"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', 'ⓘ')"/>
|
||||
<xsl:value-of select="'ⓘ'"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</legend>
|
||||
|
|
@ -257,7 +257,7 @@
|
|||
<xsl:attribute name="content">
|
||||
<xsl:value-of select="@hint"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', 'ⓘ')"/>
|
||||
<xsl:value-of select="'ⓘ'"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</label>
|
||||
|
|
|
|||
|
|
@ -231,16 +231,14 @@
|
|||
)
|
||||
</span>
|
||||
</span>
|
||||
<xsl:if test="foundry:boolean(foundry:get-setting('cms', 'show-comments', 'true'))">
|
||||
<xsl:if test="not(cms:taskComment)">
|
||||
<xsl:if test="foundry:boolean(foundry:get-setting('cms', 'show-none-comments', 'true'))">
|
||||
<span class="noInfo tableCell">
|
||||
<xsl:value-of select="foundry:get-static-text('cms', 'summary/workflow/noComment')"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates/>
|
||||
|
||||
<xsl:if test="not(cms:taskComment)">
|
||||
<span class="noInfo tableCell">
|
||||
<xsl:value-of select="foundry:get-static-text('cms', 'summary/workflow/noComment')"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates/>
|
||||
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
|
|
|
|||
|
|
@ -143,10 +143,7 @@
|
|||
<xsl:param name="layoutTree" select="."/>
|
||||
|
||||
<xsl:variable name="layout"
|
||||
select="foundry:get-setting('cms',
|
||||
'content-view-menu/layout',
|
||||
'horizontal',
|
||||
./layout)"/>
|
||||
select="'horizontal'"/>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="$layout = 'horizontal'">
|
||||
|
|
@ -254,9 +251,7 @@
|
|||
a duplicated list below the list of category roots. -->
|
||||
<xsl:template match="cms:itemCategory" mode="list">
|
||||
<xsl:variable name="show-delete-link"
|
||||
select="foundry:get-setting('cms',
|
||||
'category-step-summary/show-delete-link',
|
||||
'false')"/>
|
||||
select="'false'"/>
|
||||
|
||||
<li>
|
||||
<xsl:choose>
|
||||
|
|
|
|||
Loading…
Reference in New Issue