[prev in list] [next in list] [prev in thread] [next in thread]
List: php-gtk
Subject: [PHP-GTK] cvs: php-gtk-doc /stylesheets/xsl/html class.xsl
From: "James Moore" <James () phpuk ! org>
Date: 2001-06-09 15:11:56
[Download RAW message or body]
jmoore Sat Jun 9 17:11:56 2001 EDT
Modified files:
/php-gtk-doc/stylesheets/xsl/html class.xsl
Log:
get constructors and functions to link properly in their prototypes
Index: php-gtk-doc/stylesheets/xsl/html/class.xsl
diff -u php-gtk-doc/stylesheets/xsl/html/class.xsl:1.1.1.1 \
php-gtk-doc/stylesheets/xsl/html/class.xsl:1.2
--- php-gtk-doc/stylesheets/xsl/html/class.xsl:1.1.1.1 Fri Jun 1 16:33:47 2001
+++ php-gtk-doc/stylesheets/xsl/html/class.xsl Sat Jun 9 17:11:56 2001
@@ -102,12 +102,14 @@
<xsl:call-template name="func.proto">
<xsl:with-param name="node" select="."/>
<xsl:with-param name="append.bracket" select="1"/>
+ <xsl:with-param name="with-link" select="1"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="func.proto">
<xsl:param name="append.bracket" select="0" />
<xsl:param name="node" select="." />
+ <xsl:param name="with-link" select="0"/>
<xsl:variable name="funcname">
<xsl:value-of select="$node"/>
</xsl:variable>
@@ -121,7 +123,7 @@
</xsl:variable>
<xsl:choose>
- <xsl:when test="$id!='no'">
+ <xsl:when test="$id!='no' and ((count(parent::funcdef)='0' or \
count(ancestor::constructor)!='0') or $with-link='1')"> <xsl:variable name="link">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="id($id)"/>
@@ -293,7 +295,6 @@
<xsl:template match="funcprototype" mode="synoptic.mode">
<xsl:apply-templates mode="synoptic.mode"/>
-
</xsl:template>
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic