cvs: phpweb / index.php manual-lookup.php /include layout.inc

From: Date: Thu, 08 Mar 2001 20:16:04 +0000
Subject: cvs: phpweb / index.php manual-lookup.php /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4252@lists.php.net to get a copy of this message
jimw Thu Mar 8 12:16:04 2001 EDT Modified files: /phpweb/include layout.inc /phpweb manual-lookup.php index.php Log: make the "search" box in the header actually do a manual lookup first Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.4 phpweb/include/layout.inc:1.5 --- phpweb/include/layout.inc:1.4 Thu Mar 8 00:55:13 2001 +++ phpweb/include/layout.inc Thu Mar 8 12:16:04 2001 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.4 2001/03/08 08:55:13 zeev Exp $ */ +/* $Id: layout.inc,v 1.5 2001/03/08 20:16:04 jimw Exp $ */ # spacer() @@ -211,7 +211,7 @@ </tr> <tr bgcolor="#9999cc"> - <form method="POST" action="/search.php"> + <form method="POST" action="/manual-lookup.php"> <td align="right" valign="bottom"> <?php print_link('/downloads.php','downloads',false,'class="small"'); Index: phpweb/manual-lookup.php diff -u phpweb/manual-lookup.php:1.10 phpweb/manual-lookup.php:1.11 --- phpweb/manual-lookup.php:1.10 Wed Mar 7 16:17:34 2001 +++ phpweb/manual-lookup.php Thu Mar 8 12:16:04 2001 @@ -3,6 +3,7 @@ require_once 'prepend.inc'; require_once 'manual-lookup.inc'; +if (!$function && $pattern) $function = $pattern; $function = strtolower($function); if (!isset($lang)) $lang = $MIRRORS[$MYSITE][6]; Index: phpweb/index.php diff -u phpweb/index.php:1.41 phpweb/index.php:1.42 --- phpweb/index.php:1.41 Thu Mar 8 09:29:51 2001 +++ phpweb/index.php Thu Mar 8 12:16:04 2001 @@ -17,8 +17,7 @@ </p> <p> -Miss the <a href="/quickref.php">quickref</a> box? It's still there on the pages of the <a -href="manual/">manual</a> (hint: its labeled 'lookup'). Check out our <a href="tips.php">tips +Miss the <a href="/quickref.php">quickref</a> box? Use the 'search' box up there, instead. It will now take you directly to the manual page if you give it a valid function name, or fall back to doing a site search if it can't find a function with that name. Check out our <a href="tips.php">tips page</a> for tips on how to add a quick reference button to your browser. </p>

« previous php.mirrors (#4252) next »