View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd/searches
In directory usw-pr-cvs1:/tmp/cvs-serv16845/searches
Modified Files:
npdr.xml
Log Message:
3.1.4 release
Index: npdr.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/searches/npdr.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** npdr.xml 3 Oct 2002 18:50:34 -0000 1.1
--- npdr.xml 3 Oct 2002 22:23:55 -0000 1.2
***************
*** 23,40 ****
action="http://search.delmar.com/cgi-bin/htsearch">
<input type="hidden" name="method" value="and" />
- <COMMENT>
- The input element above, "method", was a SELECT element with the following
options...
- <select name="method">
- <option value="and">All</option>
- <option value="or">Any></option>
- </select>
- </COMMENT>
-
<input type="hidden" name="config" value="nursespdr" />
<input type="hidden" name="restrict" value="" />
<input type="hidden" name="exclude" value="" />
-
- <COMMENT> The following field was active (i.e. had focus) when the search was
generated. </COMMENT>
-
<input type="hidden" name="words" value="" />
</form>
--- 23,29 ----
***************
*** 45,64 ****
return;
- // Parse switches with parseArgs:
-
- // parseArgs usage:
- // Arguments:
- // q - string from the search function
- // expectedSwitches - list or array of the expected switch values
- // expandSwitches - optional parameter [default = true] used to determine
- // if the switch shortcuts should be expanded (i.e. /f
becomes /foo)
- // Returns an object with these properties:
- // q - the input string with the switches removed
- // switches - array of objects with these two properties:
- // name: expanded name of the matched switch (i.e. foo as
in /foo:bar)
- // value: value of switch (i.e. bar as in /foo:bar)
- // switch_val - associative array with the switch name as the key with the
switch value
- // as the value. (i.e. switch_val["foo"] = "bar" as in
/foo:bar)
-
var args = parseArgs(q, "and, or");
if ( args.switches.length > 0 )
--- 34,37 ----
***************
*** 83,90 ****
//document.npdrf.restrict.value = "";
//document.npdrf.exclude.value = "";
-
- // The wizard assigned the search string to this form field value because
- // this field was the active element when the search file was generated.
- // Change this to args.q if the search string is parsed with parseArgs.
document.npdrf.words.value = args.q;
--- 56,59 ----
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/