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

View File

@ -245,7 +245,7 @@
<xsl:attribute name="content"> <xsl:attribute name="content">
<xsl:value-of select="../following-sibling::bebop:cell/*/@hint"/> <xsl:value-of select="../following-sibling::bebop:cell/*/@hint"/>
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', '&#x24d8;')"/> <xsl:value-of select="'&#x24d8;'"/>
</span> </span>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>

View File

@ -99,7 +99,7 @@
<xsl:attribute name="content"> <xsl:attribute name="content">
<xsl:value-of select="@hint"/> <xsl:value-of select="@hint"/>
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', '&#x24d8;')"/> <xsl:value-of select="'&#x24d8;'"/>
</span> </span>
</xsl:if> </xsl:if>
</a> </a>

View File

@ -43,9 +43,9 @@
<!-- DE Hole alle benötigten Einstellungen--> <!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting--> <!-- EN Getting all needed setting-->
<xsl:variable name="show-padding" <xsl:variable name="show-padding"
select="foundry:get-setting('bebop', 'padding/show-padding', 'false')"/> select="'false'"/>
<xsl:variable name="border-color" <xsl:variable name="border-color"
select="foundry:get-setting('bebop', 'padding/border-color', 'ccc')"/> select="'ccc'"/>
<xsl:choose> <xsl:choose>
<xsl:when test="$show-padding = 'true'"> <xsl:when test="$show-padding = 'true'">

View File

@ -48,10 +48,7 @@
</xsl:call-template> </xsl:call-template>
<xsl:apply-templates select="bebop:tabStrip"> <xsl:apply-templates select="bebop:tabStrip">
<xsl:with-param name="tab-pane-mode" <xsl:with-param name="tab-pane-mode"
select="foundry:get-setting('bebop', select="'horizontal'"/>
'tab-pane/mode',
'horizontal',
'tab-pane-mode')"/>
</xsl:apply-templates> </xsl:apply-templates>
</div> </div>
</xsl:template> </xsl:template>

View File

@ -138,9 +138,7 @@
<xsl:with-param name="alt" select="'[X]'"/> <xsl:with-param name="alt" select="'[X]'"/>
<xsl:with-param name="title" select="'[X]'"/> <xsl:with-param name="title" select="'[X]'"/>
<xsl:with-param name="src" <xsl:with-param name="src"
select="foundry:parse-link(foundry:get-setting('bebop', select="foundry:gen-path('/images/bebop/checkbox-checked.gif',
'table/setImage/checkbox-checked',
'/images/bebop/checkbox-checked.gif'),
$theme-prefix)"/> $theme-prefix)"/>
</xsl:call-template> </xsl:call-template>
</xsl:template> </xsl:template>

View File

@ -208,7 +208,7 @@
<xsl:attribute name="content"> <xsl:attribute name="content">
<xsl:value-of select="@hint"/> <xsl:value-of select="@hint"/>
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', '&#x24d8;')"/> <xsl:value-of select="'&#x24d8;'"/>
</span> </span>
</xsl:if> </xsl:if>
</legend> </legend>
@ -228,7 +228,7 @@
<xsl:attribute name="content"> <xsl:attribute name="content">
<xsl:value-of select="@hint"/> <xsl:value-of select="@hint"/>
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', '&#x24d8;')"/> <xsl:value-of select="'&#x24d8;'"/>
</span> </span>
</xsl:if> </xsl:if>
</legend> </legend>
@ -257,7 +257,7 @@
<xsl:attribute name="content"> <xsl:attribute name="content">
<xsl:value-of select="@hint"/> <xsl:value-of select="@hint"/>
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="foundry:get-setting('bebop', 'hint-symbol', '&#x24d8;')"/> <xsl:value-of select="'&#x24d8;'"/>
</span> </span>
</xsl:if> </xsl:if>
</label> </label>

View File

@ -231,16 +231,14 @@
) )
</span> </span>
</span> </span>
<xsl:if test="foundry:boolean(foundry:get-setting('cms', 'show-comments', 'true'))">
<xsl:if test="not(cms:taskComment)"> <xsl:if test="not(cms:taskComment)">
<xsl:if test="foundry:boolean(foundry:get-setting('cms', 'show-none-comments', 'true'))"> <span class="noInfo tableCell">
<span class="noInfo tableCell"> <xsl:value-of select="foundry:get-static-text('cms', 'summary/workflow/noComment')"/>
<xsl:value-of select="foundry:get-static-text('cms', 'summary/workflow/noComment')"/> </span>
</span>
</xsl:if>
</xsl:if>
<xsl:apply-templates/>
</xsl:if> </xsl:if>
<xsl:apply-templates/>
</div> </div>
</xsl:template> </xsl:template>

View File

@ -143,10 +143,7 @@
<xsl:param name="layoutTree" select="."/> <xsl:param name="layoutTree" select="."/>
<xsl:variable name="layout" <xsl:variable name="layout"
select="foundry:get-setting('cms', select="'horizontal'"/>
'content-view-menu/layout',
'horizontal',
./layout)"/>
<xsl:choose> <xsl:choose>
<xsl:when test="$layout = 'horizontal'"> <xsl:when test="$layout = 'horizontal'">
@ -254,9 +251,7 @@
a duplicated list below the list of category roots. --> a duplicated list below the list of category roots. -->
<xsl:template match="cms:itemCategory" mode="list"> <xsl:template match="cms:itemCategory" mode="list">
<xsl:variable name="show-delete-link" <xsl:variable name="show-delete-link"
select="foundry:get-setting('cms', select="'false'"/>
'category-step-summary/show-delete-link',
'false')"/>
<li> <li>
<xsl:choose> <xsl:choose>