forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 36205 - in forrest/trunk/src/core/context/skins: crust/xslt/html tigris/xslt/html
Date Wed, 11 Aug 2004 03:44:49 GMT
Author: crossley
Date: Tue Aug 10 20:44:48 2004
New Revision: 36205

Modified:
   forrest/trunk/src/core/context/skins/crust/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/context/skins/tigris/xslt/html/site2xhtml.xsl
Log:
Enable optional feedback link in the footer.
Thanks to: Johannes Schaefer, Stephen Schaub, Thorsten Scherler.
Issue: FOR-236


Modified: forrest/trunk/src/core/context/skins/crust/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/crust/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/crust/xslt/html/site2xhtml.xsl	Tue Aug 10 20:44:48
2004
@@ -667,13 +667,24 @@
             All rights reserved.
             <br/><script language="JavaScript" type="text/javascript"><![CDATA[<!--
               document.write(" - "+"Last Published: " + document.lastModified);
-              //  -->]]></script></span>
+              //  -->]]></script>
+            <xsl:if test="$config/feedback">
+              <div id="feedback">
+                <xsl:value-of select="$config/feedback"/>
+                <a id="feedbackto">
+                  <xsl:attribute name="href">
+                    <xsl:value-of select="$config/feedback/@href"/>
+                    <xsl:value-of select="$path"/>
+                  </xsl:attribute>
+                  <xsl:value-of select="$config/feedback/@to"/>
+                </a>
+              </div>
+            </xsl:if>
+            </span>
         </td>
         <td class="logos" align="right" nowrap="nowrap">
-
           <xsl:call-template name="compliancy-logos"/>
           <xsl:call-template name="bottom-credit-icons"/>              
-
         </td>
       </tr>
     </table>

Modified: forrest/trunk/src/core/context/skins/tigris/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/tigris/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/tigris/xslt/html/site2xhtml.xsl	Tue Aug 10 20:44:48
2004
@@ -425,6 +425,18 @@
             <br/><script language="JavaScript" type="text/javascript"><![CDATA[<!--
               document.write(" - "+"Last Published: " + document.lastModified);
               //  -->]]></script>
+      <xsl:if test="$config/feedback">
+        <div id="feedback">
+          <xsl:value-of select="$config/feedback"/>
+          <a id="feedbackto">
+            <xsl:attribute name="href">
+              <xsl:value-of select="$config/feedback/@href"/>
+              <xsl:value-of select="$path"/>
+            </xsl:attribute>
+            <xsl:value-of select="$config/feedback/@to"/>
+          </a>
+        </div>
+      </xsl:if>
      </td>
     <td align="right" nowrap="nowrap">
           <xsl:call-template name="compliancy-logos"/>

Mime
View raw message