bjori           Mon Feb  5 22:14:58 2007 UTC

  Modified files:              
    /phpdoc/phpbook/phpbook-xsl html-common.xsl 
  Log:
  <varname>is apparently not only used for PHP/shell variables
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/phpbook/phpbook-xsl/html-common.xsl?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/phpbook/phpbook-xsl/html-common.xsl
diff -u phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.9 
phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.10
--- phpdoc/phpbook/phpbook-xsl/html-common.xsl:1.9      Mon Feb  5 13:38:17 2007
+++ phpdoc/phpbook/phpbook-xsl/html-common.xsl  Mon Feb  5 22:14:58 2007
@@ -3,7 +3,7 @@
 
   html-common.xsl: Common HTML customizations
 
-  $Id: html-common.xsl,v 1.9 2007/02/05 13:38:17 bjori Exp $
+  $Id: html-common.xsl,v 1.10 2007/02/05 22:14:58 bjori Exp $
 
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
@@ -563,7 +563,7 @@
 </xsl:template>
 
 <xsl:template match="filename|literal|option|varname">
-  <var><xsl:if test="name(.) = 'varname' and substring(., 1, 1) != 
'$'"><xsl:text>$</xsl:text></xsl:if><xsl:apply-templates/></var>
+  <var><xsl:apply-templates/></var>
 </xsl:template>
 
 <xsl:template match="constant">

Reply via email to