cvs: phpweb / bugs.php

From: Date: Fri, 20 Jul 2001 19:06:00 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5633@lists.php.net to get a copy of this message
rasmus Fri Jul 20 15:06:00 2001 EDT Modified files: /phpweb bugs.php Log: Allow substr searching on the php_os field Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.165 phpweb/bugs.php:1.166 --- phpweb/bugs.php:1.165 Sat Jul 14 20:48:17 2001 +++ phpweb/bugs.php Fri Jul 20 15:06:00 2001 @@ -43,6 +43,10 @@ <td><select name="bug_age"><?php show_byage_options($bug_age);?></select></td> </tr> <tr> + <td colspan=2 align=right>OS (substr search):</td> + <td colspan="4"><input type="text" name="php_os" value="<?echo htmlspecialchars($php_os);?>"> + </tr> + <tr> <td align="right">with text:</td> <td colspan="3"><input type="text" name="search_for" value="<?echo htmlspecialchars($search_for);?>"> in the report or email address</td> <td colspan="2">max. <select name="limit"><?php show_limit_options($limit);?></select> entries / page.</td> @@ -146,6 +150,10 @@ if ($bug_age) { $where_clause .= " AND ts1 >= DATE_SUB(NOW(), INTERVAL $bug_age DAY)"; + } + + if ($php_os) { + $where_clause .= " AND php_os like '%$php_os%'"; } if (!isset($phpver)) $phpver = "4";

« previous php.mirrors (#5633) next »