cvs: pearweb /public_html/bugs search.php stats.php /public_html/css bugs.css
| From: | Helgi �ormar �orbj�rnsson | Date: | Thu, 28 Oct 2004 18:58:15 +0000 |
| Subject: | cvs: pearweb /public_html/bugs search.php stats.php /public_html/css bugs.css | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-1175@lists.php.net to get a copy of this message | ||
dufuz Thu Oct 28 14:58:15 2004 EDT
Modified files:
/pearweb/public_html/bugs search.php stats.php
/pearweb/public_html/css bugs.css
Log:
- Fixing the 'Font is too big in IE' problem
- Implanted feature request #124 (Possible now to get bugs that were updated X days ago and until
today)
- Making the search page it self look a little nicer.
http://cvs.php.net/diff.php/pearweb/public_html/bugs/search.php?r1=1.58&r2=1.59&ty=u
Index: pearweb/public_html/bugs/search.php
diff -u pearweb/public_html/bugs/search.php:1.58 pearweb/public_html/bugs/search.php:1.59
--- pearweb/public_html/bugs/search.php:1.58 Tue Oct 26 17:10:55 2004
+++ pearweb/public_html/bugs/search.php Thu Oct 28 14:58:14 2004
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: search.php,v 1.58 2004/10/26 21:10:55 dufuz Exp $
+ * @version $Id: search.php,v 1.59 2004/10/28 18:58:14 dufuz Exp $
*/
/**
@@ -49,6 +49,7 @@
$order_options = array(
'' => 'relevance',
'id' => 'ID',
+ 'ts1' => 'date',
'package_name' => 'package',
'bug_type' => 'bug_type',
'status' => 'status',
@@ -199,6 +200,14 @@
. " DATE_SUB(NOW(), INTERVAL $bug_age DAY)";
}
+ if (empty($_GET['bug_updated']) || !(int)$_GET['bug_updated']) {
+ $bug_updated = 0;
+ } else {
+ $bug_updated = (int)$_GET['bug_updated'];
+ $where_clause .= ' AND bugdb.ts2 >= '
+ . " DATE_SUB(NOW(), INTERVAL $bug_updated DAY)";
+ }
+
if (empty($_GET['php_os'])) {
$php_os = '';
} else {
@@ -361,6 +370,7 @@
'&author_email='. urlencode(rinse($author_email)) .
'&bug_type=' . $bug_type .
'&bug_age=' . $bug_age .
+ '&bug_updated' . $bug_updated .
'&order_by=' . $order_by .
'&direction=' . $direction .
'&phpver=' . urlencode($phpver) .
@@ -380,7 +390,7 @@
<tr>
<th class="results"><a href="<?php echo
$link;?>&reorder_by=id">ID#</a></th>
- <th class="results"><a href="<?php echo
$link;?>&reorder_by=id">Date</a></th>
+ <th class="results"><a href="<?php echo
$link;?>&reorder_by=ts1">Date</a></th>
<th class="results"><a href="<?php echo
$link;?>&reorder_by=package_name">Package</a></th>
<th class="results"><a href="<?php echo
$link;?>&reorder_by=bug_type">Type</a></th>
<th class="results"><a href="<?php echo
$link;?>&reorder_by=status">Status</a></th>
@@ -439,13 +449,15 @@
</td>
<td rowspan="3">
<select name="limit"><?php show_limit_options($limit);?></select>
- <br />
+
<select name="order_by"><?php show_order_options($limit);?></select>
<br />
- <input type="radio" name="direction" value="ASC" <?php
if($direction != "DESC") { echo('checked="checked"');
}?>/>Ascending
- <br />
- <input type="radio" name="direction" value="DESC" <?php
if($direction == "DESC") { echo('checked="checked"');
}?>/>Descending
- <br />
+ <small>
+ <input type="radio" name="direction" value="ASC" <?php
if($direction != "DESC") { echo('checked="checked"');
}?>/>Ascending
+
+ <input type="radio" name="direction" value="DESC" <?php
if($direction == "DESC") { echo('checked="checked"');
}?>/>Descending
+ </small>
+ <br /><br />
<input type="hidden" name="cmd" value="display" />
<label for="submit" accesskey="r">Sea<span
class="accesskey">r</span>ch:</label>
<input id="submit" type="submit" value="Search" />
@@ -468,7 +480,7 @@
</tr>
</table>
-<table>
+<table style="font-size: 100%;">
<tr valign="top">
<th><label for="category" accesskey="c">Pa<span
class="accesskey">c</span>kge</label></th>
<td style="white-space: nowrap">Return bugs for these
<b>packages</b></td>
@@ -522,6 +534,10 @@
<th>Date</th>
<td style="white-space: nowrap">Return bugs submitted</td>
<td><select name="bug_age"><?php
show_byage_options($bug_age);?></select></td>
+ </tr>
+ <tr>
+ <td> </td><td style="white-space: nowrap">Return bugs
updated</td>
+ <td><select name="bug_updated"><?php
show_byage_options($bug_updated);?></select></td>
</tr>
</table>
</form>
http://cvs.php.net/diff.php/pearweb/public_html/bugs/stats.php?r1=1.43&r2=1.44&ty=u
Index: pearweb/public_html/bugs/stats.php
diff -u pearweb/public_html/bugs/stats.php:1.43 pearweb/public_html/bugs/stats.php:1.44
--- pearweb/public_html/bugs/stats.php:1.43 Wed Oct 27 08:13:30 2004
+++ pearweb/public_html/bugs/stats.php Thu Oct 28 14:58:14 2004
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: stats.php,v 1.43 2004/10/27 12:13:30 dufuz Exp $
+ * @version $Id: stats.php,v 1.44 2004/10/28 18:58:14 dufuz Exp $
*/
/**
@@ -146,7 +146,7 @@
<table>
<tr>
- <td style="font-size: 90%; white-space: nowrap">
+ <td style="white-space: nowrap">
<form method="get" action="stats.php<?php echo $query_string
?>">
<strong>
<label for="category" accesskey="o">
http://cvs.php.net/diff.php/pearweb/public_html/css/bugs.css?r1=1.13&r2=1.14&ty=u
Index: pearweb/public_html/css/bugs.css
diff -u pearweb/public_html/css/bugs.css:1.13 pearweb/public_html/css/bugs.css:1.14
--- pearweb/public_html/css/bugs.css:1.13 Wed Aug 11 05:34:48 2004
+++ pearweb/public_html/css/bugs.css Thu Oct 28 14:58:15 2004
@@ -1,6 +1,6 @@
/* STYLES FOR THE BUG SYSTEM */
-/* $Id: bugs.css,v 1.13 2004/08/11 09:34:48 danielc Exp $ */
+/* $Id: bugs.css,v 1.14 2004/10/28 18:58:15 dufuz Exp $ */
@import url(/css/bugs-controls.css);
@@ -8,6 +8,10 @@
font-size: 90%;
}
+td.content table {
+ font-size: 100%; /* make IE look normal */
+}
+
.headertop {
background: #5b69a6;
}
@@ -106,7 +110,9 @@
}
form#asearch table#primary {
+ font-size: 100%; /* make IE look normal */
background: #eee;
+ padding: 4px;
}
@@ -154,6 +160,10 @@
padding-bottom: 0.4em;
}
+td.search-prev_next table {
+ font-size: 100%; /* make IE look normal */
+}
+
td.search-prev {
text-align: left;
width: 33%;