cvs: phpweb / search.php /include shared.inc
| From: | Rasmus Lerdorf | Date: | Mon, 07 Aug 2000 00:28:39 +0000 |
| Subject: | cvs: phpweb / search.php /include shared.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1530@lists.php.net to get a copy of this message | ||
rasmus Sun Aug 6 17:28:39 2000 EDT
Modified files:
/phpweb search.php
/phpweb/include shared.inc
Log:
Fix search pop-up
Index: phpweb/search.php
diff -u phpweb/search.php:1.1 phpweb/search.php:1.2
--- phpweb/search.php:1.1 Mon May 22 11:30:01 2000
+++ phpweb/search.php Sun Aug 6 17:28:38 2000
@@ -102,12 +102,12 @@
<SELECT NAME="show">
<OPTION VALUE="nosource" SELECTED>Whole site
<OPTION VALUE="manual">Online documentation
-<OPTION VALUE="maillist">PHP 3.0 Mailing List
+<OPTION VALUE="maillist">PHP General Mailing List
<OPTION VALUE="devlist">PHP Developers' List
<OPTION VALUE="phpdoc">PHP Documentation List
<OPTION VALUE="phplib">PHPLIB Mailing List
<OPTION VALUE="phplib-dev">PHPLIB Developers' List
-<OPTION VALUE="source">Site PHP 3.0 source code
+<OPTION VALUE="source">Site source code
</SELECT><BR>
</FONT></TD>
</TR>
@@ -148,7 +148,7 @@
if ($show=="source") {
$exclude="/manual";
$restrict=$MYSITE."source";
- $where="PHP 3.0 site source code";
+ $where="Site source code";
} elseif ($show=="manual") {
$restrict=$MYSITE."manual";
$exclude="/source";
@@ -156,7 +156,7 @@
} else {
$exclude="/source";
$restrict=$MYSITE;
- $where="PHP 3.0 web site";
+ $where="PHP Web site";
}
if (isset($page)) {$off="&page=$page";} else {$off="";}
$query="words=$words&config=$config&exclude=$exclude&restrict=$restrict$off";
Index: phpweb/include/shared.inc
diff -u phpweb/include/shared.inc:1.104 phpweb/include/shared.inc:1.105
--- phpweb/include/shared.inc:1.104 Sat Aug 5 18:59:25 2000
+++ phpweb/include/shared.inc Sun Aug 6 17:28:39 2000
@@ -9,7 +9,7 @@
$HTDIG = false;
$DISABLE_KICKOUTS = false;
-if($SCRIPT_NAME=="/bugs.php3" || $SCRIPT_NAME=="/bugstats.php3") {
+if($SCRIPT_NAME=="/bugs.php" || $SCRIPT_NAME=="/bugstats.php") {
# $my_logo="/jpgs/logo-bug.jpg";
$my_logo="/gifs/logo-bug.gif";
$my_size="WIDTH=130 HEIGHT=73";
@@ -524,7 +524,6 @@
makeSideButton("/downloads.php","down","","downloads",129,30,0,10,"Downloads","<BR>\n");
makeSideButton("/docs.php","docs","","docs",129,30,0,10,"Documentation","<BR>\n");
makeSideButton("/quickref.php","qref","qrefKick","quickref",129,30,0,10,"Quick
Reference","<BR>\n");
-# makeSideButton("/mail.php3","mail","","mailing",129,30,0,10,"Mailing
Lists","<BR>\n");
makeSideButton("/support.php","dev","","development",129,30,0,10,"Getting
Help","<BR>\n");
makeSideButton("/news.php","news","","news",129,30,0,10,$lastnews,"<BR>\n");
makeSideButton("/projects.php","proj","","projects",129,30,0,10,"Projects
using PHP","<BR>\n");
@@ -617,8 +616,8 @@
<?
spc(150,1);
echo "<BR>\n";
- if (file_exists($DOCUMENT_ROOT."/stats/index.php3")):
- makeSideButton("/stats/index.php3","stat","","stats",129,30,0,10,"Site
Statistics","<BR>\n");
+ if (file_exists($DOCUMENT_ROOT."/stats/index.php")):
+ makeSideButton("/stats/index.php","stat","","stats",129,30,0,10,"Site
Statistics","<BR>\n");
endif;
?></TD>
<TD ALIGN=left width="100%" BGCOLOR="#FFFFFF">
@@ -761,7 +760,7 @@
<SELECT NAME="show">
<OPTION VALUE="nosource" SELECTED>Whole site
<OPTION VALUE="manual">Documentation only
-<OPTION VALUE="maillist">PHP 3.0 Mailing List
+<OPTION VALUE="maillist">PHP General Mailing List
<OPTION VALUE="devlist">PHP Developers' List
<OPTION VALUE="phplib">PHPLIB Mailing List
<OPTION VALUE="phplib-dev">PHPLIB Developers' List