View | Details | Raw Unified | Return to bug 55383
Collapse All | Expand All

(-)webapps/docs/tomcat-docs.xsl (-3 / +7 lines)
Lines 36-42 Link Here
36
  <xsl:param    name="home-href"           select="'http://tomcat.apache.org/'"/>
36
  <xsl:param    name="home-href"           select="'http://tomcat.apache.org/'"/>
37
  <xsl:param    name="home-logo"           select="'/images/tomcat.png'"/>
37
  <xsl:param    name="home-logo"           select="'/images/tomcat.png'"/>
38
  <xsl:param    name="home-stylesheet"     select="'/images/docs-stylesheet.css'"/>
38
  <xsl:param    name="home-stylesheet"     select="'/images/docs-stylesheet.css'"/>
39
  <xsl:param    name="apache-logo"         select="'/images/asf-logo.gif'"/>
39
  <xsl:param    name="apache-logo"         select="'/images/asf-feather.png'"/>
40
  <xsl:param    name="subdir"              select="''"/>
40
  <xsl:param    name="subdir"              select="''"/>
41
  <xsl:param    name="relative-path"       select="'.'"/>
41
  <xsl:param    name="relative-path"       select="'.'"/>
42
  <xsl:param    name="version"             select="'8.0.x'"/>
42
  <xsl:param    name="version"             select="'8.0.x'"/>
Lines 124-130 Link Here
124
124
125
        (function(w, d) {
125
        (function(w, d) {
126
          if (w.location.hostname.toLowerCase() == "tomcat.apache.org") {
126
          if (w.location.hostname.toLowerCase() == "tomcat.apache.org") {
127
            commentsDiv.appendChild(d.createTextNode("Loading comments…"));
128
            var s = d.createElement("script");
127
            var s = d.createElement("script");
129
            s.type = "application/javascript";
128
            s.type = "application/javascript";
130
            s.async = true;
129
            s.async = true;
Lines 157-163 Link Here
157
        </xsl:if>
156
        </xsl:if>
158
157
159
        <div style="height: 1px;"/>
158
        <div style="height: 1px;"/>
160
        <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>
159
        <xsl:variable name="src">
160
          <xsl:value-of select="$relative-path"/><xsl:value-of select="$apache-logo"/>
161
        </xsl:variable>
162
        <div class="asfLogo">
163
          <a href="http://www.apache.org/" target="_blank"><img src="{$src}" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"/></a>
164
        </div>
161
        <h1><xsl:value-of select="$project/title"/></h1>
165
        <h1><xsl:value-of select="$project/title"/></h1>
162
        <div class="versionInfo">
166
        <div class="versionInfo">
163
          Version <xsl:value-of select="$version"/>,
167
          Version <xsl:value-of select="$version"/>,

Return to bug 55383