Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs17:/tmp/cvs-serv3044
Modified Files:
Tag: redesign_pdb
search.php
Log Message:
Forward 'summary' parameter, for backwards compatibility (e.g. firefox
search plugin)
Index: search.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/search.php,v
retrieving revision 1.9.2.1
retrieving revision 1.9.2.2
diff -u -d -r1.9.2.1 -r1.9.2.2
--- search.php 10 Feb 2007 14:08:55 -0000 1.9.2.1
+++ search.php 6 Sep 2007 13:30:09 -0000 1.9.2.2
@@ -6,6 +6,11 @@
$server = $_SERVER['SERVER_NAME'];
$location = "pdb/browse.php";
+if (isset($_GET['summary'])) {
+ $summary = htmlspecialchars($_GET['summary']);
+ $location .= "?summary=" . $summary;
+}
+
// This page is obsolete. We redirect to browse.php
header("Location: http://" . $server . "/" . $location);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits