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-94f89814c4df
master
jensp 2015-02-12 13:11:41 +00:00
parent 1cfc7d7648
commit 4e5273ac58
9 changed files with 19 additions and 34 deletions

View File

@ -42,10 +42,7 @@
<xsl:param name="layout-tree" select="."/>
<xsl:variable name="separator"
select="foundry:get-setting('bebop-contextbar',
'separator',
' -&gt; ',
./@separator)"/>
select="' -&gt; '"/>
<div class="bebop-contextbar">
<xsl:apply-templates>

View File

@ -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', '&#x24d8;')"/>
<xsl:value-of select="'&#x24d8;'"/>
</span>
</xsl:if>
</xsl:template>

View File

@ -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', '&#x24d8;')"/>
<xsl:value-of select="'&#x24d8;'"/>
</span>
</xsl:if>
</a>

View File

@ -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'">

View File

@ -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>

View File

@ -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>

View File

@ -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', '&#x24d8;')"/>
<xsl:value-of select="'&#x24d8;'"/>
</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', '&#x24d8;')"/>
<xsl:value-of select="'&#x24d8;'"/>
</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', '&#x24d8;')"/>
<xsl:value-of select="'&#x24d8;'"/>
</span>
</xsl:if>
</label>

View File

@ -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>
</div>
</xsl:template>

View File

@ -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>