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-serv2667/searches
Modified Files:
conv.xml
Log Message:
conv - missing "/" in the usage section
Index: conv.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/searches/conv.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** conv.xml 29 Jun 2002 05:50:09 -0000 1.10
--- conv.xml 22 Jul 2002 09:46:29 -0000 1.11
***************
*** 4,22 ****
Convert units from one unit to another using ConvertIt.com. The second unit is
optional.<br/>
<div class="helpboxDescLabels">Usage:</div>
! <table class="helpboxDescTable">
! <tr><td>conv <<i>unit1</i>> [to <<i>unit2</i>>]</td></tr>
<tr><td>conv /from:<<i>unit1</i>> [/to:<<i>unit2</i>>]</td></tr>
! </table>
<div class="helpboxDescLabels">Examples:</div>
<table class="helpboxDescTable">
! <tr><td>conv 1/5 gallon</td></tr>
<tr><td>conv astronomical unit to football fields</td></tr>
<tr><td>conv /from:astronomical_unit /to:football_fields</td></tr>
! </table>
</description>
<category>Functions</category>
<link>http://www.convertit.com/Go/Entisoft/Measurement/Converter.ASP</link>
<contributor>Monty Scroggins, Neel Doshi</contributor>
!
<form name="convf"
action="http://www.convertit.com/Go/Entisoft/Measurement/Converter.ASP"
--- 4,22 ----
Convert units from one unit to another using ConvertIt.com. The second unit is
optional.<br/>
<div class="helpboxDescLabels">Usage:</div>
! <table class="helpboxDescTable">
! <tr><td>conv <<i>unit1</i>> [/to <<i>unit2</i>>]</td></tr>
<tr><td>conv /from:<<i>unit1</i>> [/to:<<i>unit2</i>>]</td></tr>
! </table>
<div class="helpboxDescLabels">Examples:</div>
<table class="helpboxDescTable">
! <tr><td>conv 1/5 gallon</td></tr>
<tr><td>conv astronomical unit to football fields</td></tr>
<tr><td>conv /from:astronomical_unit /to:football_fields</td></tr>
! </table>
</description>
<category>Functions</category>
<link>http://www.convertit.com/Go/Entisoft/Measurement/Converter.ASP</link>
<contributor>Monty Scroggins, Neel Doshi</contributor>
!
<form name="convf"
action="http://www.convertit.com/Go/Entisoft/Measurement/Converter.ASP"
***************
*** 25,67 ****
<input type="hidden" name="To" value=""/>
</form>
!
<script><![CDATA[
! function conv(q)
! {
! if ( nullArgs("conv", q) )
! return false;
! else
! {
! var switch_list = new Array("from", "to");
! var switch_list_req = new Array("from");
! var args = parseArgs(q, switch_list);
!
! var convf_from = "";
! var convf_to = "";
!
! // check if the required switches are set
! if ( typeof args.switch_val["from"] == "undefined" ||
args.switch_val["from"] == "" )
! {
! // Try using the original syntax if the from switch
was not found
! parsedunits = q.split(" to ");
! convf_from = parsedunits[0];
! if (typeof parsedunits[1] != 'undefined')
! convf_to = parsedunits[1];
! }
! else
! {
! convf_from = args.q + " " +
args.switch_val["from"].replace('_', ' ');
! if ( typeof args.switch_val["to"] != "undefined" &&
args.switch_val["to"] != "" )
! {
! convf_to = args.switch_val["to"].replace('_',
' ');
! }
! }
! document.convf.From.value = convf_from;
! document.convf.To.value = convf_to;
! submitForm(convf);
! return(true);
! }
! }
]]></script>
</search>
-
--- 25,66 ----
<input type="hidden" name="To" value=""/>
</form>
!
<script><![CDATA[
! function conv(q)
! {
! if ( nullArgs("conv", q) )
! return false;
! else
! {
! var switch_list = new Array("from", "to");
! var switch_list_req = new Array("from");
! var args = parseArgs(q, switch_list);
!
! var convf_from = "";
! var convf_to = "";
!
! // check if the required switches are set
! if ( typeof args.switch_val["from"] == "undefined" ||
args.switch_val["from"] == "" )
! {
! // Try using the original syntax if the from switch was not found
! parsedunits = q.split(" to ");
! convf_from = parsedunits[0];
! if (typeof parsedunits[1] != 'undefined')
! convf_to = parsedunits[1];
! }
! else
! {
! convf_from = args.q + " " + args.switch_val["from"].replace('_', ' ');
! if ( typeof args.switch_val["to"] != "undefined" && args.switch_val["to"]
!= "" )
! {
! convf_to = args.switch_val["to"].replace('_', ' ');
! }
! }
! document.convf.From.value = convf_from;
! document.convf.To.value = convf_to;
! submitForm(convf);
! return(true);
! }
! }
]]></script>
</search>
-------------------------------------------------------
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/