forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 36040 - in forrest/trunk/src/core/context/skins: common/xslt/html pelt-dev/xslt/html
Date Fri, 06 Aug 2004 17:01:08 GMT
Author: crossley
Date: Fri Aug  6 10:01:08 2004
New Revision: 36040

Modified:
   forrest/trunk/src/core/context/skins/common/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl
Log:
Only add compliance logos to pages called "index.html".


Modified: forrest/trunk/src/core/context/skins/common/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/common/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/common/xslt/html/site2xhtml.xsl	Fri Aug  6 10:01:08
2004
@@ -180,7 +180,7 @@
 
   <!-- Add links to any standards-compliance logos -->
   <xsl:template name="compliancy-logos">
-    <xsl:if test="//skinconfig/disable-compliance-links = 'false'">
+    <xsl:if test="$filename = 'index.html' and //skinconfig/disable-compliance-links =
'false'">
       <a href="http://validator.w3.org/check/referer"><img class="logoImage" 
           src="{$skin-img-dir}/valid-html401.png"
           alt="Valid HTML 4.01!" height="31" width="88" border="0"/></a>

Modified: forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl	Fri Aug  6 10:01:08
2004
@@ -321,7 +321,7 @@
 
   <!-- Add links to any standards-compliance logos -->
   <xsl:template name="compliancy-logos">
-    <xsl:if test="$config/disable-compliance-links = 'false'">
+    <xsl:if test="$filename = 'index.html' and $config/disable-compliance-links = 'false'">
       <a href="http://validator.w3.org/check/referer"><img class="logoImage" 
           src="{$skin-img-dir}/valid-html401.png"
           alt="Valid HTML 4.01!" style="height: 31px; width: 88px;" /></a>
@@ -477,7 +477,7 @@
     +</xsl:comment>
     	<meta name="Generator" content="Apache Forrest"/>
 		<meta name="Forrest-version" content="SVN-Head (0.6-dev)"/>
-      	<meta name="Forrest-skin-name" content="css-style"/>
+      	<meta name="Forrest-skin-name" content="pelt"/>
 <xsl:comment>+
     |end generator meta
     +</xsl:comment>

Mime
View raw message