cvs: php-bugs-web / bug.php milestone.php report.php style.css
| From: | Jani Taskinen | Date: | Mon, 10 Oct 2005 06:51:59 +0000 |
| Subject: | cvs: php-bugs-web / bug.php milestone.php report.php style.css | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-29551@lists.php.net to get a copy of this message | ||
sniper Mon Oct 10 02:51:59 2005 EDT
Removed files:
/php-bugs-web milestone.php
Modified files:
/php-bugs-web bug.php report.php style.css
Log:
Remove weird unworking, undiscussed and unnecessary hack.
http://cvs.php.net/diff.php/php-bugs-web/bug.php?r1=1.78&r2=1.79&ty=u
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.78 php-bugs-web/bug.php:1.79
--- php-bugs-web/bug.php:1.78 Sun Oct 9 19:02:58 2005
+++ php-bugs-web/bug.php Mon Oct 10 02:51:49 2005
@@ -13,22 +13,6 @@
require_once 'cvs-auth.inc';
require_once 'trusted-devs.inc';
-function show_milestones($current, $default="")
-{
- $q = mysql_query("select id, name from bugdb_milestones order by name");
- if (!$current && !$default) {
- echo "<option value=\"NULL\">--Please Select--</option>\n";
- } elseif (!$current) {
- $current = $default;
- }
- while (($row = mysql_fetch_assoc($q))) {
- echo "<option value=\"$row[id]\"" .
- ($current == $row['id'] ? " selected" : "") . ">"
- . htmlspecialchars($row['name']) . "</option>";
- }
-}
-
-
$mail_bugs_to = 'php-bugs@lists.php.net';
if (isset($save) && isset($pw)) { # non-developers don't have $user set
@@ -46,7 +30,7 @@
# fetch info about the bug into $bug
$query = "SELECT id,bug_type,email,passwd,sdesc,ldesc,"
- . "php_version,php_os,status,ts1,ts2,assign,milestone_id,"
+ . "php_version,php_os,status,ts1,ts2,assign,"
. "UNIX_TIMESTAMP(ts1) AS submitted, UNIX_TIMESTAMP(ts2) AS modified,"
. "COUNT(bug=id) AS votes,"
. "SUM(reproduced) AS reproduced,SUM(tried) AS tried,"
@@ -205,7 +189,7 @@
if (!$errors && !($errors = incoming_details_are_valid($in))) {
$query = 'UPDATE bugdb SET ';
$query.= ($bug['email'] != $in['email'] &&
!empty($in['email'])) ? "email='" . $in['email'] . "',
" : '';
- $query.= "sdesc='$in[sdesc]', status='$in[status]',
bug_type='$in[bug_type]', assign='$in[assign]',
php_version='$in[php_version]', php_os='$in[php_os]',
milestone_id=$in[milestone_id], ts2=NOW() WHERE id=$id";
+ $query.= "sdesc='$in[sdesc]', status='$in[status]',
bug_type='$in[bug_type]', assign='$in[assign]',
php_version='$in[php_version]', php_os='$in[php_os]', ts2=NOW() WHERE
id=$id";
$success = @mysql_query($query);
if ($success && !empty($ncomment)) {
$query = "INSERT INTO bugdb_comments (bug, email, ts, comment) VALUES
($id,'$user@php.net',NOW(),'$ncomment')";
@@ -418,10 +402,6 @@
<?php /* severity goes here. */ ?>
</tr>
<tr>
- <th>Milestone:</th>
- <td colspan="3"><select name="in[milestone_id]"><?php
show_milestones($in['milestone_id'],$bug['milestone_id'])?></select></td>
- </tr>
- <tr>
<th>Summary:</th>
<td colspan="5"><input type="text" size="60"
maxlength="80" name="in[sdesc]" value="<?php echo
field('sdesc')?>" /></td>
</tr>
http://cvs.php.net/diff.php/php-bugs-web/report.php?r1=1.61&r2=1.62&ty=u
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.61 php-bugs-web/report.php:1.62
--- php-bugs-web/report.php:1.61 Mon Aug 15 04:46:42 2005
+++ php-bugs-web/report.php Mon Oct 10 02:51:50 2005
@@ -1,5 +1,7 @@
<?php /* vim: set noet ts=4 sw=4: : */
+define('DEVBOX', true);
+
// This is for the CAPTCHA image
session_start();
http://cvs.php.net/diff.php/php-bugs-web/style.css?r1=1.23&r2=1.24&ty=u
Index: php-bugs-web/style.css
diff -u php-bugs-web/style.css:1.23 php-bugs-web/style.css:1.24
--- php-bugs-web/style.css:1.23 Sun Oct 9 23:36:54 2005
+++ php-bugs-web/style.css Mon Oct 10 02:51:50 2005
@@ -198,22 +198,3 @@
form#asearch table#primary {
background: #eee;
}
-
-table.milestone {
- border-spacing: 0px;
- border-left: 0px;
-}
-
-table.milestone th {
- text-align: center;
-}
-
-table.milestone td.color1 {
- background: #abc;
- border-left: 2px solid #fff;
-}
-
-table.milestone td.color2 {
- background: #cde;
- border-left: 2px solid #fff;
-}