cvs: php-gtk /docs/stylesheets/xsl/html class.xsl title.xsl
| From: | James Moore | Date: | Tue, 08 May 2001 21:44:10 +0000 |
| Subject: | cvs: php-gtk /docs/stylesheets/xsl/html class.xsl title.xsl | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1758@lists.php.net to get a copy of this message | ||
jmoore Tue May 8 14:44:10 2001 EDT
Modified files:
/php-gtk/docs/stylesheets/xsl/html class.xsl title.xsl
Log:
- Update style of classentry page slightly.
- Rename the constructors
Index: php-gtk/docs/stylesheets/xsl/html/class.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/class.xsl:1.34
php-gtk/docs/stylesheets/xsl/html/class.xsl:1.35
--- php-gtk/docs/stylesheets/xsl/html/class.xsl:1.34 Tue May 8 11:56:25 2001
+++ php-gtk/docs/stylesheets/xsl/html/class.xsl Tue May 8 14:44:10 2001
@@ -176,12 +176,11 @@
<p>
<xsl:apply-templates select="./classmeta/shortdesc"/>
</p>
+ <p>
<h3>
Object Hierarchy
</h3>
- <p>
<div class="literallayout">
- <br />
<xsl:call-template name="get_class_hierarchy">
<xsl:with-param name="classname">
<xsl:value-of select="./classmeta/classtitle"/>
@@ -225,11 +224,10 @@
</xsl:template>
<xsl:template match="method" mode="synoptic.mode">
- <p>
- <xsl:apply-templates select="./funcsynopsis" mode="synoptic.mode" />
- <br />
+ <xsl:apply-templates select="./funcsynopsis/funcprototype/funcdef/function"/>
+ <xsl:text>—</xsl:text>
<xsl:apply-templates select="./shortdesc" />
- </p>
+ <br />
</xsl:template>
<xsl:template match="attributes" mode="synoptic.mode">
@@ -269,7 +267,7 @@
<xsl:apply-templates />
</xsl:template>
- <xsl:template match="method">
+ <xsl:template match="method|constructor">
<a>
<xsl:attribute name="name"><xsl:value-of
select="@id"/></xsl:attribute>
</a>
Index: php-gtk/docs/stylesheets/xsl/html/title.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/title.xsl:1.3
php-gtk/docs/stylesheets/xsl/html/title.xsl:1.4
--- php-gtk/docs/stylesheets/xsl/html/title.xsl:1.3 Fri May 4 15:52:07 2001
+++ php-gtk/docs/stylesheets/xsl/html/title.xsl Tue May 8 14:44:10 2001
@@ -47,13 +47,21 @@
</xsl:apply-templates>
</xsl:template>
-<xsl:template match="method|constructor" mode="title.content">
+<xsl:template match="method" mode="title.content">
<xsl:param name="text-only" select="'0'"/>
<xsl:param name="allow-anchors" select="'0'"/>
<xsl:variable name="classentry" select="ancestor::classentry"/>
<xsl:value-of select="$classentry/classmeta/classtitle"/>
<xsl:text>::</xsl:text>
<xsl:value-of select="(./funcsynopsis/funcprototype/funcdef/function)[1]" />
+</xsl:template>
+
+<xsl:template match="constructor" mode="title.content">
+ <xsl:param name="text-only" select="'0'"/>
+ <xsl:param name="allow-anchors" select="'0'"/>
+ <xsl:variable name="classentry" select="ancestor::classentry"/>
+ <xsl:value-of select="$classentry/classmeta/classtitle"/>
+ <xsl:text> Constructor</xsl:text>
</xsl:template>
<xsl:template match="signal" mode="title.content">