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

From: Date: Thu, 09 Jul 2009 21:10:44 +0000
Subject: Req #2973 [Com]: PATCH: Link to package page from bug reports
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-6582@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 Comment by: aaronhawley Reported By: aaron dot s dot hawley at gmail dot com Summary: PATCH: Link to package page from bug reports Status: Bogus Type: Feature/Change Request Package: Bug System Operating System: GNU/Linux PHP Version: 4.3.4 Assigned To: danielc New Comment: Fixed 2007-12-10 by Helgi. http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.177&r2=1.178 Previous Comments: ------------------------------------------------------------------------ [2004-12-15 15:04:16] danielc A link to the package home page is already provided at the top of each bug report. The patch you provided won't work anyway, because there there are categories for items that aren't packages, such as the website. ------------------------------------------------------------------------ [2004-12-15 15:01:19] aaron dot hawley at uvm dot edu I just noticed the "Package Home" link next to the other bug links at the top of reports. My submission still stands as a suggestion for another way to the "Package Home". It's obviusly not easy to find that link back to the package home page, because when scanning all the links at the top of the page they seem to be related to bug reporting functionality, with "Package Home" thrown in as an after thought. ------------------------------------------------------------------------ [2004-12-15 15:00:03] dufuz 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 ? ------------------------------------------------------------------------ [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 (#6582) next »