hholzgra                Mon Jan 16 14:53:42 2006 UTC

  Modified files:              
    /phpdoc/xsl common.xsl fo.xsl html-common.xsl htmlhelp.xsl 
  Log:
  only include versioning information for internal and PECL functions
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/xsl/common.xsl?r1=1.28&r2=1.29&diff_format=u
Index: phpdoc/xsl/common.xsl
diff -u phpdoc/xsl/common.xsl:1.28 phpdoc/xsl/common.xsl:1.29
--- phpdoc/xsl/common.xsl:1.28  Fri Jul 15 09:20:44 2005
+++ phpdoc/xsl/common.xsl       Mon Jan 16 14:53:42 2006
@@ -3,7 +3,7 @@
 
   common.xsl: Common customizations for all HTML formats
 
-  $Id: common.xsl,v 1.28 2005/07/15 09:20:44 techtonik Exp $
+  $Id: common.xsl,v 1.29 2006/01/16 14:53:42 hholzgra Exp $
 
   What is done in this stylesheet as common to all HTML output formats:
 
@@ -69,7 +69,9 @@
         </h1>
       </xsl:when>
     </xsl:choose>
-    <p>(<xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/>)</p>
+    <xsl:if test="ancestor::part/@id='funcref' or 
ancestor::part/@id='pecl-funcref'">
+     <p>(<xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/>)</p>
+    </xsl:if>
     <p>
       <xsl:apply-templates/>
     </p>
http://cvs.php.net/viewcvs.cgi/phpdoc/xsl/fo.xsl?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/xsl/fo.xsl
diff -u phpdoc/xsl/fo.xsl:1.7 phpdoc/xsl/fo.xsl:1.8
--- phpdoc/xsl/fo.xsl:1.7       Sun Jun 29 20:00:01 2003
+++ phpdoc/xsl/fo.xsl   Mon Jan 16 14:53:42 2006
@@ -678,9 +678,11 @@
   <fo:block font-family="sans-serif" font-weight="bold" font-size="20pt">
     <xsl:apply-templates select="refname[1]"/>
   </fo:block>
-  <fo:block font-size="11pt">
-    (<xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/>)
-  </fo:block>
+  <xsl:if test="ancestor::part/@id='funcref' or 
ancestor::part/@id='pecl-funcref'">
+    <fo:block font-size="11pt">
+      (<xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/>)
+    </fo:block>
+  </xsl:if>
   <fo:block xsl:use-attribute-sets="normal.para.spacing" font-size="12pt">
     <xsl:apply-templates select="refname[1]"/><xsl:text> - </xsl:text>
     <xsl:apply-templates select="refpurpose"/>
http://cvs.php.net/viewcvs.cgi/phpdoc/xsl/html-common.xsl?r1=1.28&r2=1.29&diff_format=u
Index: phpdoc/xsl/html-common.xsl
diff -u phpdoc/xsl/html-common.xsl:1.28 phpdoc/xsl/html-common.xsl:1.29
--- phpdoc/xsl/html-common.xsl:1.28     Thu Jun 19 17:30:21 2003
+++ phpdoc/xsl/html-common.xsl  Mon Jan 16 14:53:42 2006
@@ -3,7 +3,7 @@
 
   html-common.xsl: Common HTML customizations
 
-  $Id: html-common.xsl,v 1.28 2003/06/19 17:30:21 hholzgra Exp $
+  $Id: html-common.xsl,v 1.29 2006/01/16 14:53:42 hholzgra Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -251,11 +251,13 @@
     <h1>
       <xsl:apply-templates select="refname[1]"/>
     </h1>
-    <p>
-      <xsl:text>(</xsl:text>
-      <xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/>
-      <xsl:text>)</xsl:text>
-    </p>
+    <xsl:if test="ancestor::part/@id='funcref' or 
ancestor::part/@id='pecl-funcref'">
+      <p>
+        <xsl:text>(</xsl:text>
+        <xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/>
+        <xsl:text>)</xsl:text>
+      </p>
+    </xsl:if>
     <p>
       <xsl:apply-templates/>
     </p>
http://cvs.php.net/viewcvs.cgi/phpdoc/xsl/htmlhelp.xsl?r1=1.25&r2=1.26&diff_format=u
Index: phpdoc/xsl/htmlhelp.xsl
diff -u phpdoc/xsl/htmlhelp.xsl:1.25 phpdoc/xsl/htmlhelp.xsl:1.26
--- phpdoc/xsl/htmlhelp.xsl:1.25        Sun Jul 31 11:43:45 2005
+++ phpdoc/xsl/htmlhelp.xsl     Mon Jan 16 14:53:42 2006
@@ -3,7 +3,7 @@
 
   HTML Help specific stylesheet
 
-  $Id: htmlhelp.xsl,v 1.25 2005/07/31 11:43:45 techtonik Exp $
+  $Id: htmlhelp.xsl,v 1.26 2006/01/16 14:53:42 hholzgra Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -684,7 +684,9 @@
     <xsl:call-template name="anchor"/>
     <h2 class="subheader">
       <span id="funcPurpose"><xsl:value-of select="./refpurpose"/></span>
-      (<span id="funcAvail"><xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/></span>)
+      <xsl:if test="ancestor::part/@id='funcref' or 
ancestor::part/@id='pecl-funcref'">
+        (<span id="funcAvail"><xsl:value-of select="$version/[EMAIL 
PROTECTED](current()/refname)]/@from"/></span>)
+      </xsl:if>
       <br/>
       <span id="funcUsage"><xsl:apply-templates 
select="../refsect1/methodsynopsis" mode="php"/></span>
     </h2>

Reply via email to