goba            Fri Mar 15 07:33:52 2002 EDT

  Modified files:              
    /phpdoc/xsl html-common.xsl htmlhelp.xsl.in 
  Log:
  Moving simple title extraction code to common HTML generatin
  XSL style sheet file (we will use it for phpweb output)
  
  
Index: phpdoc/xsl/html-common.xsl
diff -u phpdoc/xsl/html-common.xsl:1.12 phpdoc/xsl/html-common.xsl:1.13
--- phpdoc/xsl/html-common.xsl:1.12     Thu Feb 28 09:21:03 2002
+++ phpdoc/xsl/html-common.xsl  Fri Mar 15 07:33:52 2002
@@ -3,7 +3,7 @@
 
   Common HTML customizations
 
-  $Id: html-common.xsl,v 1.12 2002/02/28 14:21:03 goba Exp $
+  $Id: html-common.xsl,v 1.13 2002/03/15 12:33:52 goba Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -164,6 +164,15 @@
   <div class="titlepage">
     <xsl:call-template name="refentry.title"/>
   </div>
+</xsl:template>
+
+<!-- Custom mode for titles for navigation without
+     "Chapter 1" and other autogenerated content -->
+<xsl:template match="*" mode="phpdoc.object.title">
+  <xsl:call-template name="substitute-markup">
+    <xsl:with-param name="allow-anchors" select="0"/>
+    <xsl:with-param name="template" select="'%t'"/>
+  </xsl:call-template>
 </xsl:template>
 
 </xsl:stylesheet>
Index: phpdoc/xsl/htmlhelp.xsl.in
diff -u phpdoc/xsl/htmlhelp.xsl.in:1.22 phpdoc/xsl/htmlhelp.xsl.in:1.23
--- phpdoc/xsl/htmlhelp.xsl.in:1.22     Mon Feb 11 04:16:17 2002
+++ phpdoc/xsl/htmlhelp.xsl.in  Fri Mar 15 07:33:52 2002
@@ -3,7 +3,7 @@
 
   HTML Help specific stylesheet
 
-  $Id: htmlhelp.xsl.in,v 1.22 2002/02/11 09:16:17 goba Exp $
+  $Id: htmlhelp.xsl.in,v 1.23 2002/03/15 12:33:52 goba Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -79,7 +79,7 @@
               </xsl:call-template>
             </xsl:attribute>
             <xsl:text>&lt;&lt; </xsl:text>
-            <xsl:apply-templates select="$prev" mode="htmlhelp.object.title"/>
+            <xsl:apply-templates select="$prev" mode="phpdoc.object.title"/>
           </a>
         </xsl:if>
       </td>
@@ -96,7 +96,7 @@
                 <xsl:with-param name="object" select="$next"/>
               </xsl:call-template>
             </xsl:attribute>
-            <xsl:apply-templates select="$next" mode="htmlhelp.object.title"/>
+            <xsl:apply-templates select="$next" mode="phpdoc.object.title"/>
             <xsl:text> &gt;&gt;</xsl:text>
           </a>
         </xsl:if>
@@ -129,7 +129,7 @@
   <xsl:variable name="object.title">
     <xsl:choose>
       <xsl:when test="count($up)>0">
-        <xsl:apply-templates select="." mode="htmlhelp.object.title"/>
+        <xsl:apply-templates select="." mode="phpdoc.object.title"/>
       </xsl:when>
       <xsl:otherwise>
         <xsl:value-of select="'Main'"/>
@@ -181,15 +181,6 @@
       </xsl:otherwise>
     </xsl:choose>
   </a>
-</xsl:template>
-
-<!-- Custom mode for titles for navigation without
-     "Chapter 1" and other autogenerated content -->
-<xsl:template match="*" mode="htmlhelp.object.title">
-  <xsl:call-template name="substitute-markup">
-    <xsl:with-param name="allow-anchors" select="0"/>
-    <xsl:with-param name="template" select="'%t'"/>
-  </xsl:call-template>
 </xsl:template>
 
 <!-- Special reference page formatting for HH -->


Reply via email to