Req #2973 [Opn]: PATCH: Link to package page from bug reports

From: Date: Wed, 15 Dec 2004 20:00:03 +0000
Subject: Req #2973 [Opn]: PATCH: Link to package page from bug reports
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-3556@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=2973&edit=1 ID: 2973 Updated by: helgi@trance.is Reported By: aaron dot hawley at uvm dot edu Status: Open Type: Feature/Change Request Package: Bug System Operating System: GNU/Linux PHP Version: 4.3.4 New Comment: I don't get the point, since straight above we have a link called "Package homepage" which does the same. Any special reason why you should want that ? Previous Comments: ------------------------------------------------------------------------ [2004-12-15 14:45:19] aaron dot hawley at uvm dot edu Description: ------------ It would be convenient for users if they could navigate between the bugs for a package and the package's home page and documentation, etc. Thankfully the URL system makes it easy to do. A patch follows to the CVS version of the PEAR web site. Reproduce code: --------------- http://www.uvm.edu/~ashawley/php/pear/bug.php-package_link.diff-u Index: bug.php =================================================================== RCS file: /repository/pearweb/public_html/bugs/bug.php,v retrieving revision 1.72 diff -u -r1.72 bug.php --- bug.php 8 Dec 2004 20:27:18 -0000 1.72 +++ bug.php 15 Dec 2004 19:37:08 -0000 @@ -391,7 +391,7 @@ <th class="details">Status:</th> <td><?php echo htmlspecialchars($bug['status']) ?></td> <th class="details">Package:</th> - <td><?php echo htmlspecialchars($bug['package_name']) ?></td> + <td><a href="/package/<?php echo htmlspecialchars($bug['package_name']) ?>"><?php echo htmlspecialchars($bug['package_name']) ?></a></td> </tr> <tr id="situation"> <th class="details">Version:</th> Expected result: ---------------- The Package header in the bug headers will now be a link to the package's home page on the PEAR web site. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=2973&edit=1

« previous php.pear.webmaster (#3556) next »