forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r209193 - /forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl
Date Tue, 05 Jul 2005 03:20:33 GMT
Author: crossley
Date: Mon Jul  4 20:20:33 2005
New Revision: 209193

URL: http://svn.apache.org/viewcvs?rev=209193&view=rev
Log:
If the "motd-title" element from skinconf is empty,
then do not append to title.

Modified:
    forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl

Modified: forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl?rev=209193&r1=209192&r2=209193&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl Mon Jul  4 20:20:33 2005
@@ -63,9 +63,11 @@
                 <xsl:if test="$config/motd">
                   <xsl:for-each select="$config/motd/motd-option">
                     <xsl:if test="contains($path, @pattern)">
-                      <xsl:text> (</xsl:text>
-                      <xsl:value-of select="motd-title"/>
-                      <xsl:text>)</xsl:text>
+                      <xsl:if test="motd-tile != ''">
+                        <xsl:text> (</xsl:text>
+                        <xsl:value-of select="motd-title"/>
+                        <xsl:text>)</xsl:text>
+                      </xsl:if>
                     </xsl:if>
                   </xsl:for-each>
                 </xsl:if>



Mime
View raw message