You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cd...@apache.org on 2005/11/17 15:03:06 UTC

svn commit: r345240 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft

Author: cdupoirieux
Date: Thu Nov 17 06:02:59 2005
New Revision: 345240

URL: http://svn.apache.org/viewcvs?rev=345240&view=rev
Log:
Initialisation of body variable for the round corner (just as it was already done for header and searchbax variable)

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft?rev=345240&r1=345239&r2=345240&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft Thu Nov 17 06:02:59 2005
@@ -126,15 +126,19 @@
       <xsl:if test="$header-input=''">000000</xsl:if>
       <xsl:if test="not($header-input='')"><xsl:value-of select="$header-input"/></xsl:if>
     </xsl:variable>
+    <xsl:variable name="body-input" select="substring-after($branding-theme-profiler/color[@name='body']/@value, '#')"/>
+    <xsl:variable name="body">
+      <xsl:if test="$body-input=''">ffffff</xsl:if>
+      <xsl:if test="not($body-input='')"><xsl:value-of select="$body-input"/></xsl:if>
+    </xsl:variable>
     <xsl:variable name="searchbox-input" select="substring-after($branding-theme-profiler/color[@name='searchbox']/@value, '#')"/>
     <xsl:variable name="searchbox">
       <xsl:if test="$searchbox-input=''">000000</xsl:if>
       <xsl:if test="not($searchbox-input='')"><xsl:value-of select="$searchbox-input"/></xsl:if>
     </xsl:variable>
-     
+
     <xsl:variable name="tab-selected" select="substring-after($branding-theme-profiler/color[@name='tab-selected']/@value, '#')"/>
     <xsl:variable name="tab-unselected" select="substring-after($branding-theme-profiler/color[@name='tab-unselected']/@value, '#')"/>
-    <xsl:variable name="body" select="substring-after($branding-theme-profiler/color[@name='body']/@value, '#')"/>
     <xsl:variable name="menu" select="substring-after($branding-theme-profiler/color[@name='menu']/@value, '#')"/>
 #header .round-top-left-small {
     background-image: url(<xsl:value-of select="$skin-img-dir"/>/roundcorner-t-l-5-bg<xsl:value-of select="normalize-space($header)"/>-stroke<xsl:value-of select="normalize-space($searchbox)"/>-fg<xsl:value-of select="normalize-space($searchbox)"/>.png);