RE: [PHP-GTK-DOC] cvs: php-gtk-doc /stylesheets/common de.xml en.xml /stylesheets/html class.xsl hierarchy.xsl

From: Date: Sun, 01 Aug 2004 17:10:36 +0000
Subject: RE: [PHP-GTK-DOC] cvs: php-gtk-doc /stylesheets/common de.xml en.xml /stylesheets/html class.xsl hierarchy.xsl
References: 1  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1020@lists.php.net to get a copy of this message
php-web makes the section that goes live. Please don't comment out things if you don't know what they do! > -----Original Message----- > From: Christian Weiske [mailto:cweiske@php.net] > Sent: 01 August 2004 12:56 > To: php-gtk-doc@lists.php.net > Subject: [PHP-GTK-DOC] cvs: php-gtk-doc /stylesheets/common de.xml > en.xml /stylesheets/html class.xsl hierarchy.xsl > > > cweiske Sun Aug 1 07:56:24 2004 EDT > > Modified files: > /php-gtk-doc/stylesheets/common en.xml de.xml > /php-gtk-doc/stylesheets/html hierarchy.xsl class.xsl > Log: > Direct subclasses are display below the object hierarchy of > each class. > Real hierarchy tree will follow soon. > > @english natives: > The text for nosubclasses is not optimal > @andrei/steph: > I've commented out the php-web section in class.xsl as I don't > know what that really makes > > > http://cvs.php.net/diff.php/php-gtk-doc/stylesheets/common/en.xml? > r1=1.7&r2=1.8&ty=u > Index: php-gtk-doc/stylesheets/common/en.xml > diff -u php-gtk-doc/stylesheets/common/en.xml:1.7 > php-gtk-doc/stylesheets/common/en.xml:1.8 > --- php-gtk-doc/stylesheets/common/en.xml:1.7 Sun Jul 18 13:28:33 2004 > +++ php-gtk-doc/stylesheets/common/en.xml Sun Aug 1 07:56:24 2004 > @@ -6,6 +6,7 @@ > <gentext key="constructor" text="Constructor"/> > <gentext key="copyright" text="Copyright"/> > <gentext key="description" text="Description"/> > + <gentext key="directsubclasses" text="Direct subclasses"/> > <gentext key="editedby" text="Edited by"/> > <gentext key="listofexamples" text="List of Examples"/> > <gentext key="listoffigures" text="List of Figures"/> > @@ -15,6 +16,7 @@ > <gentext key="nav-next" text="Next"/> > <gentext key="nav-up" text="Up"/> > <gentext key="nav-home" text="Home"/> > + <gentext key="nosubclasses" text="No classes are derived from > this one."/> > <gentext key="note" text="Note"/> > <gentext key="objecthierarchy" text="Object Hierarchy"/> > <gentext key="PHPGTKauths" text="PHP-GTK Authors"/> > > http://cvs.php.net/diff.php/php-gtk-doc/stylesheets/common/de.xml? > r1=1.5&r2=1.6&ty=u > Index: php-gtk-doc/stylesheets/common/de.xml > diff -u php-gtk-doc/stylesheets/common/de.xml:1.5 > php-gtk-doc/stylesheets/common/de.xml:1.6 > --- php-gtk-doc/stylesheets/common/de.xml:1.5 Sun Jul 18 13:28:33 2004 > +++ php-gtk-doc/stylesheets/common/de.xml Sun Aug 1 07:56:24 2004 > @@ -6,6 +6,7 @@ > <gentext key="constructor" text="Konstruktor"/> > <gentext key="copyright" text="Copyright"/> > <gentext key="description" text="Beschreibung"/> > + <gentext key="directsubclasses" text="Direkte Unterklassen"/> > <gentext key="editedby" text="Herausgegeben von"/> > <gentext key="listofexamples" text="Beispiele"/> > <gentext key="listoffigures" text="Abbildungsverzeichnis"/> > @@ -15,6 +16,7 @@ > <gentext key="nav-next" text="Vor"/> > <gentext key="nav-up" text="Hoch"/> > <gentext key="nav-home" text="Anfang"/> > + <gentext key="nosubclasses" text="Es wurden keine Klassen von > dieser abgeleitet."/> > <gentext key="note" text="Anmerkung"/> > <gentext key="objecthierarchy" text="Objekthierarchie"/> > <gentext key="PHPGTKauths" text="PHP-GTK Autoren"/> > > http://cvs.php.net/diff.php/php-gtk-doc/stylesheets/html/hierarchy > .xsl?r1=1.5&r2=1.6&ty=u > Index: php-gtk-doc/stylesheets/html/hierarchy.xsl > diff -u php-gtk-doc/stylesheets/html/hierarchy.xsl:1.5 > php-gtk-doc/stylesheets/html/hierarchy.xsl:1.6 > --- php-gtk-doc/stylesheets/html/hierarchy.xsl:1.5 Tue Dec 30 > 18:43:45 2003 > +++ php-gtk-doc/stylesheets/html/hierarchy.xsl Sun Aug 1 > 07:56:24 2004 > @@ -178,4 +178,34 @@ > > </xsl:template> > > + > +<xsl:template name="get_direct_subclasses"> > + <xsl:param name="classname" /> > + > + <xsl:if > test="count(/set/book/classset/classentry[classmeta/classparent=$c > lassname])=0"> > + <xsl:call-template name="gentext"> > + <xsl:with-param name="key">nosubclasses</xsl:with-param> > + </xsl:call-template> > + > + </xsl:if> > + <xsl:for-each > select="/set/book/classset/classentry[classmeta/classparent=$classname]"> > + <xsl:variable name="link"> > + <xsl:call-template name="href.target"> > + <xsl:with-param name="object" select="id(./@id)"/> > + </xsl:call-template> > + </xsl:variable> > + <span dir="ltr"> > + <a> > + <xsl:attribute name="href"> > + <xsl:value-of select="$link" /> > + </xsl:attribute> > + <xsl:value-of select="classmeta/classtitle" /> > + </a> > + </span> > + <xsl:if test="position()!=last()"> > + <xsl:text>, </xsl:text> > + </xsl:if> > + </xsl:for-each> > +</xsl:template> > + > </xsl:stylesheet> > > http://cvs.php.net/diff.php/php-gtk-doc/stylesheets/html/class.xsl > ?r1=1.8&r2=1.9&ty=u > Index: php-gtk-doc/stylesheets/html/class.xsl > diff -u php-gtk-doc/stylesheets/html/class.xsl:1.8 > php-gtk-doc/stylesheets/html/class.xsl:1.9 > --- php-gtk-doc/stylesheets/html/class.xsl:1.8 Tue Dec 30 > 18:43:45 2003 > +++ php-gtk-doc/stylesheets/html/class.xsl Sun Aug 1 07:56:24 2004 > @@ -314,6 +314,35 @@ > </div> > </blockquote> > </p> > + > + <p> > + <h3> > + <xsl:call-template name="gentext"> > + <xsl:with-param name="key">directsubclasses</xsl:with-param> > + </xsl:call-template> > + </h3> > + <blockquote> > + <div class="literallayout"> > +<!-- <xsl:choose> > + <xsl:when test="$phpweb=true()"> > + <xsl:call-template name="phpweb.get_class_hierarchy"> > + <xsl:with-param name="classname"> > + <xsl:value-of select="./classmeta/classtitle"/> > + </xsl:with-param> > + </xsl:call-template> > + </xsl:when> > + <xsl:otherwise>//--> > + <xsl:call-template name="get_direct_subclasses"> > + <xsl:with-param name="classname"> > + <xsl:value-of select="./classmeta/classtitle"/> > + </xsl:with-param> > + </xsl:call-template> > +<!-- </xsl:otherwise> > + </xsl:choose>//--> > + </div> > + </blockquote> > + </p> > + > <p> > <h3> > <xsl:call-template name="gentext"> > @@ -374,6 +403,35 @@ > </div> > </blockquote> > </p> > + > + <p> > + <h3> > + <xsl:call-template name="gentext"> > + <xsl:with-param name="key">directsubclasses</xsl:with-param> > + </xsl:call-template> > + </h3> > + <blockquote> > + <div class="literallayout"> > +<!-- <xsl:choose> > + <xsl:when test="$phpweb=true()"> > + <xsl:call-template name="phpweb.get_class_hierarchy"> > + <xsl:with-param name="classname"> > + <xsl:value-of select="./classmeta/classtitle"/> > + </xsl:with-param> > + </xsl:call-template> > + </xsl:when> > + <xsl:otherwise>//--> > + <xsl:call-template name="get_direct_subclasses"> > + <xsl:with-param name="classname"> > + <xsl:value-of select="./classmeta/classtitle"/> > + </xsl:with-param> > + </xsl:call-template> > +<!-- </xsl:otherwise> > + </xsl:choose>//--> > + </div> > + </blockquote> > + </p> > + > <p> > <h3> > <xsl:call-template name="gentext"> > > -- > PHP-GTK Documentation Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.doc (#1020) next »