cvs: php4 /pear/PHPDoc/renderer/html PhpdocHTMLDocumentRenderer.php
| From: | Ulf Wendel | Date: | Tue, 17 Apr 2001 18:25:44 +0000 |
| Subject: | cvs: php4 /pear/PHPDoc/renderer/html PhpdocHTMLDocumentRenderer.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-37@lists.php.net to get a copy of this message | ||
uw Tue Apr 17 11:25:44 2001 EDT
Modified files:
/php4/pear/PHPDoc/renderer/html PhpdocHTMLDocumentRenderer.php
Log:
Applied a bugfix provided by Joerg.Wedekind@OnVista.de.
Index: php4/pear/PHPDoc/renderer/html/PhpdocHTMLDocumentRenderer.php
diff -u php4/pear/PHPDoc/renderer/html/PhpdocHTMLDocumentRenderer.php:1.6
php4/pear/PHPDoc/renderer/html/PhpdocHTMLDocumentRenderer.php:1.7
--- php4/pear/PHPDoc/renderer/html/PhpdocHTMLDocumentRenderer.php:1.6 Wed Feb 21 11:13:18 2001
+++ php4/pear/PHPDoc/renderer/html/PhpdocHTMLDocumentRenderer.php Tue Apr 17 11:25:44 2001
@@ -2,7 +2,7 @@
/**
* Provides functioninality to render modules and classes.
*
-* @version $Id: PhpdocHTMLDocumentRenderer.php,v 1.6 2001/02/21 19:13:18 chagenbu Exp $
+* @version $Id: PhpdocHTMLDocumentRenderer.php,v 1.7 2001/04/17 18:25:44 uw Exp $
*/
class PhpdocHTMLDocumentRenderer extends PhpdocHTMLRenderer {
@@ -616,7 +616,7 @@
$value .= sprintf('<a href="%s">%s</a>%s, ',
$links["url"],
$links["url"],
- ("" != $links["description"]) ? " - "
. $links["description"] : ""
+ ("" != $links["value"]) ? " - " .
$links["value"] : ""
);
} else {
@@ -625,13 +625,13 @@
$value .= sprintf('<a href="%s">%s</a>%s, ',
$link["url"],
$link["url"],
- ("" != $link["description"]) ? " -
" . $links["description"] : ""
+ ("" != $link["value"]) ? " - " .
$links["value"] : ""
);
}
}
- $value = substr($value, 0, 2);
+ $value = substr($value, 0, -2);
$this->tpl->setCurrentBlock(strtolower($prefix) . "links");
$this->tpl->setVariable("LINK", $value);
$this->tpl->parseCurrentBlock();