techtonik               Wed Nov  3 02:20:25 2004 EDT

  Modified files:              
    /phpdoc/xsl htmlhelp.xsl 
  Log:
  replace one PHP Manual with Table of Contents
  
http://cvs.php.net/diff.php/phpdoc/xsl/htmlhelp.xsl?r1=1.9&r2=1.10&ty=u
Index: phpdoc/xsl/htmlhelp.xsl
diff -u phpdoc/xsl/htmlhelp.xsl:1.9 phpdoc/xsl/htmlhelp.xsl:1.10
--- phpdoc/xsl/htmlhelp.xsl:1.9 Tue Nov  2 14:12:48 2004
+++ phpdoc/xsl/htmlhelp.xsl     Wed Nov  3 02:20:24 2004
@@ -3,7 +3,7 @@
 
   HTML Help specific stylesheet
 
-  $Id: htmlhelp.xsl,v 1.9 2004/11/02 19:12:48 techtonik Exp $
+  $Id: htmlhelp.xsl,v 1.10 2004/11/03 07:20:24 techtonik Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -110,6 +110,11 @@
   <xsl:variable name="bookhref">
     <xsl:call-template name="href.target"/>
   </xsl:variable>
+  <xsl:variable name="toctitle">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'TableofContents'"/>
+    </xsl:call-template>
+  </xsl:variable>
   <xsl:text>
   </xsl:text>
   <li><object type="text/sitemap">
@@ -119,7 +124,7 @@
   <xsl:text>
   </xsl:text>
   <li><object type="text/sitemap">
-    <param name="Name" value="{normalize-space($title)}"/>
+    <param name="Name" value="{normalize-space($toctitle)}"/>
     <param name="Local" value="{$bookhref}"/>
   </object></li>
   <xsl:apply-templates 
select="part|preface|chapter|appendix|article|reference|bibliography|colophon"
@@ -253,6 +258,12 @@
   <xsl:variable name="href">
     <xsl:call-template name="href.target"/>
   </xsl:variable>
+  <xsl:variable name="toctitle">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'TableofContents'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
   <xsl:text>
   </xsl:text>
   <li><object type="text/sitemap">
@@ -262,7 +273,7 @@
   <xsl:text>
   </xsl:text>
   <li><object type="text/sitemap">
-    <param name="Name" value="{normalize-space($title)}"/>
+    <param name="Name" value="{normalize-space($toctitle)}"/>
     <param name="Local" value="{$href}"/>
   </object></li>
   <xsl:text>

Reply via email to