cvs: pearweb /public_html/bugs bug.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Mon, 10 Dec 2007 01:33:24 +0000 |
| Subject: | cvs: pearweb /public_html/bugs bug.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-49697@lists.php.net to get a copy of this message | ||
dufuz Mon Dec 10 01:33:24 2007 UTC
Modified files:
/pearweb/public_html/bugs bug.php
Log:
Request #12646 Package: field should link to the package home page
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.177&r2=1.178&diff_format=u
Index: pearweb/public_html/bugs/bug.php
diff -u pearweb/public_html/bugs/bug.php:1.177 pearweb/public_html/bugs/bug.php:1.178
--- pearweb/public_html/bugs/bug.php:1.177 Mon Dec 10 01:28:10 2007
+++ pearweb/public_html/bugs/bug.php Mon Dec 10 01:33:24 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: bug.php,v 1.177 2007/12/10 01:28:10 dufuz Exp $
+ * @version $Id: bug.php,v 1.178 2007/12/10 01:33:24 dufuz Exp $
*/
/*
@@ -642,7 +642,11 @@
<th class="details">Status:</th>
<td><?php echo htmlspecialchars($bug['status']) ?></td>
<th class="details">Package:</th>
- <td><?php echo htmlspecialchars($bug['package_name']); if
($bug['package_version']): ?> (version <?php echo
htmlspecialchars($bug['package_version']);?>)<?php endif; ?></td>
+ <td><?php
+ $name = htmlspecialchars($bug['package_name']);
+ echo '<a href="/package/' . $name . '">' . $name .
'</a>';
+ if ($bug['package_version']): ?> (version <?php echo
htmlspecialchars($bug['package_version']);?>)<?php endif;
+ ?></td>
</tr>
<tr id="situation">
<th class="details">PHP Version:</th>