You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/09/19 22:46:54 UTC

svn commit: r1524834 - in /tomcat/trunk/webapps/docs: images/asf-feather.png tomcat-docs.xsl

Author: markt
Date: Thu Sep 19 20:46:54 2013
New Revision: 1524834

URL: http://svn.apache.org/r1524834
Log:
BZ55383
Local ASF logo. Fix 'loading comments...'
Patch by Konstantin Preißer

Added:
    tomcat/trunk/webapps/docs/images/asf-feather.png   (with props)
Modified:
    tomcat/trunk/webapps/docs/tomcat-docs.xsl

Added: tomcat/trunk/webapps/docs/images/asf-feather.png
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/images/asf-feather.png?rev=1524834&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomcat/trunk/webapps/docs/images/asf-feather.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: tomcat/trunk/webapps/docs/tomcat-docs.xsl
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/tomcat-docs.xsl?rev=1524834&r1=1524833&r2=1524834&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Thu Sep 19 20:46:54 2013
@@ -36,7 +36,7 @@
   <xsl:param    name="home-href"           select="'http://tomcat.apache.org/'"/>
   <xsl:param    name="home-logo"           select="'/images/tomcat.png'"/>
   <xsl:param    name="home-stylesheet"     select="'/images/docs-stylesheet.css'"/>
-  <xsl:param    name="apache-logo"         select="'/images/asf-logo.gif'"/>
+  <xsl:param    name="apache-logo"         select="'/images/asf-feather.png'"/>
   <xsl:param    name="subdir"              select="''"/>
   <xsl:param    name="relative-path"       select="'.'"/>
   <xsl:param    name="version"             select="'8.0.x'"/>
@@ -124,7 +124,6 @@
 
         (function(w, d) {
           if (w.location.hostname.toLowerCase() == "tomcat.apache.org") {
-            commentsDiv.appendChild(d.createTextNode("Loading comments…"));
             var s = d.createElement("script");
             s.type = "application/javascript";
             s.async = true;
@@ -157,7 +156,12 @@
         </xsl:if>
 
         <div style="height: 1px;"/>
-        <div class="asfLogo"><a href="http://www.apache.org/" target="_blank"><img src="http://www.apache.org/images/feather.png" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"/></a></div>
+        <xsl:variable name="src">
+          <xsl:value-of select="$relative-path"/><xsl:value-of select="$apache-logo"/>
+        </xsl:variable>
+        <div class="asfLogo">
+          <a href="http://www.apache.org/" target="_blank"><img src="{$src}" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"/></a>
+        </div>
         <h1><xsl:value-of select="$project/title"/></h1>
         <div class="versionInfo">
           Version <xsl:value-of select="$version"/>,



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org