]> granicus.if.org Git - docbook-dsssl/commitdiff
Webhelp: Fix test for webhelp.include.search.tab param
authorDavid Cramer <david@thingbag.net>
Mon, 25 Feb 2013 03:57:06 +0000 (03:57 +0000)
committerDavid Cramer <david@thingbag.net>
Mon, 25 Feb 2013 03:57:06 +0000 (03:57 +0000)
xsl/params/webhelp.include.search.tab.xml
xsl/webhelp/xsl/webhelp-common.xsl

index 131f32d0d95e446f3212ce072df475f7380d47e7..b3d6a5b2e82c6d367a0cb1e2bfc42434a8e58a83 100644 (file)
@@ -15,7 +15,7 @@
 
 <refsynopsisdiv>
 <src:fragment xml:id="webhelp.include.search.tab.frag">
-<xsl:param name="webhelp.include.search.tab">true</xsl:param>
+<xsl:param name="webhelp.include.search.tab">1</xsl:param>
 </src:fragment>
 </refsynopsisdiv>
 
index e07ac152d53bf7ab4ea549f7c01bb8f8d9ea428f..651e63822c372cfad4adbcd04e2e844c5186cf4c 100644 (file)
@@ -295,7 +295,7 @@ border: none; background: none; font-weight: none; color: none; }
          <script type="text/javascript" src="{$webhelp.common.dir}jquery/layout/jquery.layout.js">
             <xsl:comment> </xsl:comment>
         </script>
-        <xsl:if test="$webhelp.include.search.tab = 'true'">
+        <xsl:if test="$webhelp.include.search.tab != '0'">
             <!--Scripts/css stylesheets for Search-->
             <!-- TODO: Why THREE files? There's absolutely no need for having separate files. 
                These should have been identified at the optimization phase! -->
@@ -355,7 +355,7 @@ border: none; background: none; font-weight: none; color: none; }
 
         <!--testing toc in the content page>
         <xsl:call-template name="webhelptoctoc"/>
-        <xsl:if test="$webhelp.include.search.tab != 'false'">
+        <xsl:if test="$webhelp.include.search.tab != '0'">
             <xsl:call-template name="search"/>
         </xsl:if-->
     </xsl:template>
@@ -727,7 +727,7 @@ border: none; background: none; font-weight: none; color: none; }
                                         </span>
                                     </a>
                                 </li>
-                                <xsl:if test="$webhelp.include.search.tab != 'false'">
+                                <xsl:if test="$webhelp.include.search.tab != '0'">
                                     <li>
                                         <a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()">
                                             <span class="searchTab">
@@ -753,7 +753,7 @@ border: none; background: none; font-weight: none; color: none; }
                                 </div>
 
                             </div>
-                            <xsl:if test="$webhelp.include.search.tab != 'false'">
+                            <xsl:if test="$webhelp.include.search.tab != '0'">
                                 <div id="searchDiv">
                                     <div id="search">
                                         <form onsubmit="Verifie(searchForm);return false"