cvs: phpweb / search.php

From: Date: Mon, 16 Dec 2002 17:57:51 +0000
Subject: cvs: phpweb / search.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14258@lists.php.net to get a copy of this message
goba Mon Dec 16 12:57:51 2002 EDT Modified files: /phpweb search.php Log: More sensible name for the whole site search Index: phpweb/search.php diff -u phpweb/search.php:1.46 phpweb/search.php:1.47 --- phpweb/search.php:1.46 Mon Dec 16 10:16:57 2002 +++ phpweb/search.php Mon Dec 16 12:57:51 2002 @@ -93,7 +93,7 @@ // We cannot redirect to anywhere, absolute failure if (is_primary_site()) { commonHeader("Search Service"); - echo "<b>The search service is currently not working</b>.<br />"; + echo "<b>The search service is currently not available.</b>.<br />"; echo "Please try later.\n"; commonFooter(); exit(); @@ -194,7 +194,7 @@ // We have matches, so grab the info from the output // (the template for this is phphead.html in Mirrors-htdig.tgz) - list($dc, $dc, $matches, $firstdisplayed, $lastdisplayed, $page, $pages) = $result; + list(, , $matches, $firstdisplayed, $lastdisplayed, $page, $pages) = $result; // String to carry on the search parameters in prev/next URLs $baseurl = htmlentities($PHP_SELF . "?pattern=$words&show=$show&base=$base"); @@ -284,13 +284,13 @@ <td> <? if (!isset($show)) { $show = 'quickref'; } ?> <select name="show"> - <option value="quickref" <? echo ($show=='quickref') ? 'selected':''?>>function list - <option value="nosource" <? echo ($show=='nosource') ? 'selected':''?>>whole site - <option value="manual" <? echo ($show=='manual') ? 'selected':''?>>online documentation - <option value="bugdb" <? echo ($show=='bugdb') ? 'selected':''?>>bug database - <option value="maillist" <? echo ($show=='maillist') ? 'selected':''?>>general mailing list - <option value="devlist" <? echo ($show=='devlist') ? 'selected':''?>>developer mailing list - <option value="phpdoc" <? echo ($show=='phpdoc') ? 'selected':''?>>documentation mailing list + <option value="quickref" <? echo ($show=='quickref') ? 'selected':''?>>function list + <option value="wholesite" <? echo ($show=='nosource') ? 'selected':''?>>whole site + <option value="manual" <? echo ($show=='manual') ? 'selected':''?>>online documentation + <option value="bugdb" <? echo ($show=='bugdb') ? 'selected':''?>>bug database + <option value="maillist" <? echo ($show=='maillist') ? 'selected':''?>>general mailing list + <option value="devlist" <? echo ($show=='devlist') ? 'selected':''?>>developer mailing list + <option value="phpdoc" <? echo ($show=='phpdoc') ? 'selected':''?>>documentation mailing list </select><br /> </td> </tr>

« previous php.mirrors (#14258) next »