cvs: phpweb / search.php
| From: | Gabor Hojtsy | Date: | Sat, 14 Dec 2002 16:21:13 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14163@lists.php.net to get a copy of this message | ||
goba Sat Dec 14 11:21:13 2002 EDT
Modified files:
/phpweb search.php
Log:
Shorten redirect URL's codes and add a comment...
Index: phpweb/search.php
diff -u phpweb/search.php:1.40 phpweb/search.php:1.41
--- phpweb/search.php:1.40 Sat Dec 14 10:57:17 2002
+++ phpweb/search.php Sat Dec 14 11:21:13 2002
@@ -46,19 +46,19 @@
// PHP-General mailing list search
case "maillist" :
$query = "l=php-general&r=1&w=2&q=b&s=" .
urlencode($pattern);
- header("Location: " . $ml_url . "?" . $query);
+ header("Location: $ml_url?$query");
exit;
// PHP-Dev mailing list search
case "devlist" :
$query = "l=php-dev&r=1&w=2&q=b&s=" . urlencode($pattern);
- header("Location: " . $ml_url . "?" . $query);
+ header("Location: $ml_url?$query");
exit;
// PHPDoc mailing list search
case "phpdoc" :
$query = "l=phpdoc&r=1&w=2&q=b&s=" . urlencode($pattern);
- header("Location: " . $ml_url . "?" . $query);
+ header("Location: $ml_url?$query");
exit;
// Bug database search
@@ -301,6 +301,7 @@
// This goes to the center
$display = "<b>Displaying results $firstdisplayed to $lastdisplayed</b>";
+ // Print out navigation table
echo '<table border="0" width="620" bgcolor="#e0e0e0"
cellpadding="0" cellspacing="4">';
echo '<tr>';
echo '<td align="middle" colspan="2">' . $display .
'<br></td>';