bjori Sat Aug 18 18:53:47 2007 UTC
Modified files: /phd/themes/php phpdotnet.php Log: Fix <xref /> (thanks Nicolas!) http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.5&r2=1.6&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.5 phd/themes/php/phpdotnet.php:1.6 --- phd/themes/php/phpdotnet.php:1.5 Tue Aug 14 20:08:19 2007 +++ phd/themes/php/phpdotnet.php Sat Aug 18 18:53:46 2007 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.5 2007/08/14 20:08:19 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.6 2007/08/18 18:53:46 bjori Exp $ */ class phpdotnet extends PhDHelper { protected $elementmap = array( @@ -117,7 +117,7 @@ $class .= " external"; } if ($name == "xref") { - sprintf('<a href="%s%s" class="%s">%s</a>', + return sprintf('<a href="%s%s" class="%s">%s</a>', $this->chunked ? "" : "#", $this->chunked ? $href : (isset($linkto) ? $linkto : $href),