cvs: phpweb / search.php
| From: | Colin Viebrock | Date: | Mon, 02 Apr 2001 19:58:06 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4616@lists.php.net to get a copy of this message | ||
cmv Mon Apr 2 12:58:06 2001 EDT
Modified files:
/phpweb search.php
Log:
Restrict searches of the manual to just the english manual.
This isn't ideal, but it's better than returning dozens of identical pages
from the manual in different languages (e.g. search for "authentication").
If anyone has an idea on how to handle this better, be my guest (I have one idea
that I will work on now ...)
Index: phpweb/search.php
diff -u phpweb/search.php:1.11 phpweb/search.php:1.12
--- phpweb/search.php:1.11 Fri Mar 9 02:46:29 2001
+++ phpweb/search.php Mon Apr 2 12:58:06 2001
@@ -120,7 +120,7 @@
<OPTION VALUE="quickref">PHP Function List
<OPTION VALUE="nosource" SELECTED>Whole site
<OPTION VALUE="bugdb">Bug database
-<OPTION VALUE="manual">Online documentation
+<OPTION VALUE="manual">Online documentation (English only)
<OPTION VALUE="maillist">PHP General Mailing List
<OPTION VALUE="devlist">PHP Developers' List
<OPTION VALUE="phpdoc">PHP Documentation List
@@ -170,7 +170,7 @@
$restrict=$MYSITE."source";
$where="Site source code";
} elseif ($show=="manual") {
- $restrict=$MYSITE."manual";
+ $restrict=$MYSITE."manual/en";
$exclude="/source";
$where="PHP documentation";
} else {