hholzgra                Mon Jan 16 15:54:11 2006 UTC

  Modified files:              
    /phpdoc/dsssl       html-common.dsl 
  Log:
  only show version info for internal and PECL functions,
  not for Zend API and TSRM
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/dsssl/html-common.dsl?r1=1.25&r2=1.26&diff_format=u
Index: phpdoc/dsssl/html-common.dsl
diff -u phpdoc/dsssl/html-common.dsl:1.25 phpdoc/dsssl/html-common.dsl:1.26
--- phpdoc/dsssl/html-common.dsl:1.25   Mon Jan 16 15:51:53 2006
+++ phpdoc/dsssl/html-common.dsl        Mon Jan 16 15:54:11 2006
@@ -1,6 +1,6 @@
 ;; -*- Scheme -*-
 ;;
-;; $Id: html-common.dsl,v 1.25 2006/01/16 15:51:53 hholzgra Exp $
+;; $Id: html-common.dsl,v 1.26 2006/01/16 15:54:11 hholzgra Exp $
 ;;
 
 ;; Returns the depth of the auto-generated TOC (table of
@@ -332,11 +332,13 @@
 ;; on pcre reference pages (these are masked as function pages, but are
 ;; not function pages themselfs)
 (element (refnamediv refname)
-  (let ((refid (attribute-string (normalize "id") (parent (parent 
(current-node))))))
-    (if (or (not (string? refid))
-        (not (string=?
-          (substring refid 0 (min (string-length refid) 14))
-          "reference.pcre")))
+  (let ((refid (attribute-string (normalize "id") (parent (parent 
(current-node)))))
+        (partid (attribute-string (normalize "id") (parent (parent (parent 
(parent (current-node))))))))
+    (if (and (or (not (string? refid))
+                 (not (string=? (substring refid 0 (min (string-length refid) 
14)) "reference.pcre"))
+                 )
+             (or (string=? partid "funcref") (string=? partid "pecl-funcref"))
+             )
       (make sequence
         (make element gi: "P"
           (literal "    (")

Reply via email to