cvs: pearweb /public_html/bugs report.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 22 Apr 2007 05:57:18 +0000 |
| Subject: | cvs: pearweb /public_html/bugs report.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-46104@lists.php.net to get a copy of this message | ||
dufuz Sun Apr 22 05:57:18 2007 UTC
Modified files:
/pearweb/public_html/bugs report.php
Log:
As per request from Greg
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/report.php?r1=1.97&r2=1.98&diff_format=u
Index: pearweb/public_html/bugs/report.php
diff -u pearweb/public_html/bugs/report.php:1.97 pearweb/public_html/bugs/report.php:1.98
--- pearweb/public_html/bugs/report.php:1.97 Sun Apr 22 02:37:22 2007
+++ pearweb/public_html/bugs/report.php Sun Apr 22 05:57:18 2007
@@ -17,7 +17,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: report.php,v 1.97 2007/04/22 02:37:22 dufuz Exp $
+ * @version $Id: report.php,v 1.98 2007/04/22 05:57:18 dufuz Exp $
*/
/**
@@ -312,8 +312,8 @@
$link = Bug_DataObject::bugDB('bugdb_roadmap_link');
$link->id = $cid;
$link->delete();
- if (isset($_POST['in']['milestone'])) {
- foreach ($_POST['in']['milestone'] as $rid) {
+ if (isset($_POST['in']['roadmap'])) {
+ foreach ($_POST['in']['roadmap'] as $rid) {
$link->id = $cid;
$link->roadmap_id = $rid;
$link->insert();
@@ -562,8 +562,8 @@
}
if (!$released || ($released && isset($_GET['showold']))) {
- $content .= '<input type="checkbox"
name="in[milestone][]" value="' . $db->id . '"';
- if (isset($_POST['in']['milestone'][$db->id])) {
+ $content .= '<input type="checkbox"
name="in[roadmap][]" value="' . $db->id . '"';
+ if (isset($_POST['in']['roadmap'][$db->id])) {
$content .= ' checked="checked" ';
}
$content .= '/>';
@@ -586,9 +586,9 @@
<td class="form-input">
<?php
if (isset($_GET['showold'])) {
- echo '<a href="report.php?package=' .
clean($_REQUEST['package']) . '">Hide released milestones</a>';
+ echo '<a href="report.php?package=' .
clean($_REQUEST['package']) . '">Hide released roadmaps</a>';
} else {
- echo '<a href="report.php?package=' .
clean($_REQUEST['package']) . '&showold=1">Show released
milestones</a>';
+ echo '<a href="report.php?package=' .
clean($_REQUEST['package']) . '&showold=1">Show released
roadmaps</a>';
}
echo '<br />' . $content;
?>