techtonik Mon Nov 1 07:16:59 2004 EDT
Modified files: /phpdoc/xsl common.xsl Log: place in logical order http://cvs.php.net/diff.php/phpdoc/xsl/common.xsl?r1=1.12&r2=1.13&ty=u Index: phpdoc/xsl/common.xsl diff -u phpdoc/xsl/common.xsl:1.12 phpdoc/xsl/common.xsl:1.13 --- phpdoc/xsl/common.xsl:1.12 Mon Nov 1 03:36:04 2004 +++ phpdoc/xsl/common.xsl Mon Nov 1 07:16:55 2004 @@ -3,7 +3,7 @@ common.xsl: Common customizations for all formats - $Id: common.xsl,v 1.12 2004/11/01 08:36:04 techtonik Exp $ + $Id: common.xsl,v 1.13 2004/11/01 12:16:55 techtonik Exp $ --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" @@ -89,23 +89,6 @@ </xsl:template> -<!-- for the list of TRANSLATORS --> -<xsl:template match="collab" mode="titlepage.mode"> - <xsl:choose> - <xsl:when test="position()=last()"> - <xsl:apply-templates/> - </xsl:when> - <xsl:when test="position() > 1"> - <xsl:apply-templates/><xsl:text>, </xsl:text> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="collabname"> - <xsl:apply-templates/> -</xsl:template> - <!-- Remove whitespace before and after the contents of programlisting and screen tags used for PHP code and output examples @@ -191,4 +174,23 @@ </xsl:choose> </xsl:template> + + +<!-- *************** FOR TRANSLATORS LIST **************** --> +<xsl:template match="collab" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="position()=last()"> + <xsl:apply-templates/> + </xsl:when> + <xsl:when test="position() > 1"> + <xsl:apply-templates/><xsl:text>, </xsl:text> + </xsl:when> + <xsl:otherwise></xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="collabname"> + <xsl:apply-templates/> +</xsl:template> + </xsl:stylesheet>