]> granicus.if.org Git - docbook-dsssl/commitdiff
Minor cleanup, added extensibility hook, some styling moved into CSS for easier custo...
authorJirka Kosek <jirka@kosek.cz>
Thu, 22 Sep 2011 22:04:30 +0000 (22:04 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 22 Sep 2011 22:04:30 +0000 (22:04 +0000)
xsl/webhelp/template/common/css/positioning.css
xsl/webhelp/xsl/webhelp.xsl

index 406dfecefc8b5894872485333ef2e5fb6938082b..0d313f3622fba09436431d69c2cec02aefb8fc9a 100644 (file)
@@ -131,6 +131,7 @@ p.breadcrumbs {
     padding-left: 10px;
     right: 0px;
     top: 37px;
+    text-align: right;
 }
 
 #content h1, #content h2 { color: black; }
index 81f60931e108ef6f1a260c65715811b7c997e79c..8298f623a382f5858ef3e15396c54240073c7fdb 100644 (file)
@@ -3,7 +3,8 @@
         xmlns:exsl="http://exslt.org/common"
         xmlns:ng="http://docbook.org/docbook-ng" 
         xmlns:db="http://docbook.org/ns/docbook"
-        version="1.0" xmlns="http://www.w3.org/1999/xhtml">
+        version="1.0" xmlns="http://www.w3.org/1999/xhtml"
+       exclude-result-prefixes="exsl ng db">
 
     <xsl:import href="../../xhtml/chunk.xsl"/>
 
@@ -149,12 +150,14 @@ These problems go away when you add this IE=7 mode meta tag.
  -->
        <meta http-equiv="X-UA-Compatible" content="IE=7" />
 <xsl:text>
+</xsl:text>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<xsl:text>
 </xsl:text>
   </xsl:template>
 
     <!-- HTML <head> section customizations -->        
     <xsl:template name="user.head.content">
-           <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
         <!--  <xsl:message>
             webhelp.tree.cookie.id = <xsl:value-of select="$webhelp.tree.cookie.id"/> +++ <xsl:value-of select="count(//node())"/>
             $webhelp.indexer.language = <xsl:value-of select="$webhelp.indexer.language"/> +++ <xsl:value-of select="count(//node())"/>
@@ -545,7 +548,8 @@ border: none; background: none; font-weight: none; color: none; }
             </h1>
 
             <!-- Prev and Next links generation-->
-            <div id="navheader" align="right">
+            <div id="navheader">
+             <xsl:call-template name="user.webhelp.navheader.content"/>
                 <xsl:comment>
                     <!-- KEEP this code. In case of neither prev nor next links are available, this will help to
                         keep the integrity of the DOM tree-->
@@ -636,6 +640,8 @@ border: none; background: none; font-weight: none; color: none; }
           src='{$webhelp.common.dir}images/logo.png' alt="Company Logo"/>
     </xsl:template>
 
+    <xsl:template name="user.webhelp.navheader.content"/>
+
     <xsl:template name="webhelptoc">
         <xsl:param name="currentid"/>
         <xsl:choose>