]> granicus.if.org Git - docbook-dsssl/commitdiff
Put back old extensibility point.
authorJirka Kosek <jirka@kosek.cz>
Thu, 5 Apr 2012 08:26:08 +0000 (08:26 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 5 Apr 2012 08:26:08 +0000 (08:26 +0000)
Guys, please don't remove existing extensibility points like named templates, it will break existing customizations.

xsl/webhelp/xsl/webhelp.xsl

index 3cad2045c3700ac80b17421e1872d8ba9ed61c51..f24f9c05305771be33961da6283d2f9a587022e7 100644 (file)
@@ -506,16 +506,7 @@ border: none; background: none; font-weight: none; color: none; }
         <xsl:variable name="up" select="parent::*"/>
 
         <div id="header">
-            <a target="_blank">
-                <xsl:attribute name="href">
-                    <xsl:choose>
-                        <xsl:when test="$branding = 'docbook'">http://docbook.org/</xsl:when>
-                        <xsl:otherwise>#</xsl:otherwise>
-                    </xsl:choose>
-                </xsl:attribute>
-            <img style='margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px' align="right"
-                src='{$webhelp.common.dir}images/logo.png' alt="{$brandname} Documentation"/>
-            </a>
+           <xsl:call-template name="webhelpheader.logo"/>
             <!-- Display the page title and the main heading(parent) of it-->
             <h1>
              <xsl:call-template name="get.doc.title"/>
@@ -608,8 +599,16 @@ border: none; background: none; font-weight: none; color: none; }
     </xsl:template>
 
     <xsl:template name="webhelpheader.logo">
-      <img style='margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px' align="right"
-          src='{$webhelp.common.dir}images/logo.png' alt="Company Logo"/>
+       <a target="_blank">
+           <xsl:attribute name="href">
+               <xsl:choose>
+                   <xsl:when test="$branding = 'docbook'">http://docbook.org/</xsl:when>
+                   <xsl:otherwise>#</xsl:otherwise>
+               </xsl:choose>
+           </xsl:attribute>
+       <img style='margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px' align="right"
+           src='{$webhelp.common.dir}images/logo.png' alt="{$brandname} Documentation"/>
+       </a>
     </xsl:template>
 
     <xsl:template name="user.webhelp.navheader.content"/>