cvs: php-bugs-web / search.php
| From: | Jani Taskinen | Date: | Mon, 27 Apr 2009 18:32:08 +0000 |
| Subject: | cvs: php-bugs-web / search.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4548@lists.php.net to get a copy of this message | ||
jani Mon Apr 27 18:32:08 2009 UTC
Modified files:
/php-bugs-web search.php
Log:
- Cosmetics
http://cvs.php.net/viewvc.cgi/php-bugs-web/search.php?r1=1.76&r2=1.77&diff_format=u
Index: php-bugs-web/search.php
diff -u php-bugs-web/search.php:1.76 php-bugs-web/search.php:1.77
--- php-bugs-web/search.php:1.76 Mon Apr 27 16:33:25 2009
+++ php-bugs-web/search.php Mon Apr 27 18:32:08 2009
@@ -208,7 +208,8 @@
echo "<td align=\"center\">", date ("Y-m-d H:i:s",
strtotime($row['ts1'])), "</td>";
/* Modified */
- echo "<td align=\"center\">", date ("Y-m-d H:i:s",
strtotime($row['ts2'])), "</td>";
+ $ts = strtotime($row['ts2']);
+ echo "<td align=\"center\">", ($ts ? date ("Y-m-d H:i:s",
$ts) : 'Not modified'), "</td>";
/* Category */
echo "<td><a href=\"{$clean_link}&bug_type[]=",
urlencode($row['bug_type']), '">',
htmlspecialchars($row['bug_type']), "</a></td>";
@@ -328,7 +329,7 @@
function show_prev_next ($begin, $rows, $total_rows, $link, $limit)
{
- echo "<tr bgcolor=\"#cccccc\"><td align=\"center\"
colspan=\"8\">";
+ echo "<tr bgcolor=\"#cccccc\"><td align=\"center\"
colspan=\"9\">";
if ($limit === 'All') {
echo "Showing all $total_rows";
echo "</td></tr>";