home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd1.bin / software / dave / dqsd.exe / searches / phpb.xml < prev    next >
Text File  |  2003-01-28  |  2KB  |  65 lines

  1. <search function="phpb">
  2.   <name>PHPBuilder</name>
  3.   <category>Computers<category>Programming</category></category>
  4.   <contributor>Sarah Sweeney</contributor>
  5.   <link>http://www.phpbuilder.com/search/</link>
  6.   <email>poohbear@designshift.com</email>
  7.   <description>
  8.     <div class="helpboxDescLabels">Switches:</div>
  9.     <table class="helpboxDescTable">
  10.       <tr><td>/manual</td><td> - </td><td>PHP Manual</td></tr>
  11.       <tr><td>/mail</td><td> - </td><td>Mailing Lists</td></tr>
  12.     </table>
  13.     <div class="helpboxDescLabels">Examples:</div>
  14.     <table class="helpboxDescTable">
  15.       <tr><td>phpb isset</td></tr>
  16.       <tr><td>phpb mail /mail</td></tr>
  17.     </table>
  18.   </description>
  19.   <form name="phpbf"
  20.         method="get"
  21.         action="http://www.phpbuilder.com/search/">
  22.     <input type="hidden" name="sort" value="Score" />
  23.     <input type="hidden" name="method" value="and" />
  24.     <input type="hidden" name="config" value="manual" />
  25.     <input type="hidden" name="restrict" value="" />
  26.     <input type="hidden" name="exclude" value="" />
  27.     <input type="hidden" name="words" />
  28.   </form>
  29.   <script><![CDATA[
  30.     function phpb(q)
  31.     {
  32.       if( nullArgs("phpb", q) )
  33.         return;
  34.  
  35.       var args = parseArgs(q, "manual, mail");
  36.       if ( args.switches.length > 0 )
  37.       {
  38.         switch( args.switches[0].name )
  39.         {
  40.           case "manual":
  41.             document.phpbf.config.value = "manual";
  42.             break;
  43.           case "mail":
  44.             document.phpbf.config.value = "mail";
  45.             break;
  46.           default:
  47.             document.phpbf.config.value = "manual";
  48.             break;
  49.         }
  50.       }
  51.       document.phpbf.words.value = args.q;
  52.  
  53.       submitForm(phpbf);
  54.     }
  55.   ]]></script>
  56.   <copyright>
  57.     The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
  58.     Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  59.   </copyright>
  60.   <created_by>
  61.     This search file was initially created on 01/20/03 at 13:07:39
  62.     by Dave's Quick Search Deskbar Search Wizard version 1.0.1 ,
  63.     Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  64.   </created_by>
  65. </search>