Changeset 12768 for trunk/gsdl/macros
- Timestamp:
- 2006-09-18T12:10:45+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/query.dm
r12760 r12768 88 88 var args=""; 89 89 args = "&fqa=0&fqv="+argfqv+"&fqf="+argfqf; 90 _If_(_cgiarg qf_,args += "&fqk="+argfqk+"&fqs="+argfqs+"&fqc="+argfqc;)90 _If_(_cgiargb_,args += "&fqk="+argfqk+"&fqs="+argfqs+"&fqc="+argfqc;) 91 91 92 92 return args; … … 131 131 \} 132 132 else \{ 133 if ("_cgiarg qf_" == "1") \{ // advanced query133 if ("_cgiargb_" == "1") \{ // advanced query 134 134 document.QueryForm.q.value += " "+value; 135 135 document.QueryForm.q.focus(); … … 192 192 if (document.QueryForm.fqf != null) \{initfqf();\} 193 193 initfqv(); 194 if ( "_cgiarg qf_" == "1") \{194 if ( "_cgiargb_" == "1") \{ 195 195 initfqs(); 196 196 initfqk(); … … 491 491 #_httpquery_ has a=q&e=compressedargs 492 492 #if adv form, need to set k=0 and s=0 493 _advformargs_{_If_(_cgiarg qf_,&k=0&s=0)}493 _advformargs_{_If_(_cgiargb_,&k=0&s=0)} 494 494 495 495 _searchfunctions_ { … … 507 507 clearfqv(); 508 508 509 if ("_cgiarg qf_" == "1") \{509 if ("_cgiargb_" == "1") \{ 510 510 clearfqk(); 511 511 clearfqs(); … … 644 644 </nobr> 645 645 </td></tr> 646 _If_(_cgiarg qf_,_advancedforms_,_simpleforms_)646 _If_(_cgiargb_,_advancedforms_,_simpleforms_) 647 647 </table> 648 _If_(_cgiarg qf_,<div class="divbar"> </div>648 _If_(_cgiargb_,<div class="divbar"> </div> 649 649 <center>_advancedformextra_</center>) 650 650 … … 711 711 _textselect_ {_If_(_cgiargb_,_chooseadvancedsearch_,_textsimplesearch_)} 712 712 _chooseadvancedsearch_ {_If_(_cgiargct_,_If_("_cgiargct_" eq "2",_textadvancedlucenesearch_,_textadvancedmgppsearch_),_textadvancedsearch_} 713 _textformselect_ {_If_(_cgiarg qf_,_textformadvancedsearch_,_textformsimplesearch_)}713 _textformselect_ {_If_(_cgiargb_,_textformadvancedsearch_,_textformsimplesearch_)} 714 714 # mg uses hselection for index, mgpp uses fqfselection 715 715 _indexselection_{_If_(_cgiargct_,_fqfselection_,_hselection_)} … … 754 754 _formquerytypeselection_ { 755 755 <select name="t"> 756 <option value="1"_If_(_cgiargt_, selected)>_If_(_cgiarg qf_,_textranked_,_textsome_)757 <option value="0"_If_(_cgiargt_,, selected)>_If_(_cgiarg qf_,_textnatural_,_textall_)756 <option value="1"_If_(_cgiargt_, selected)>_If_(_cgiargb_,_textranked_,_textsome_) 757 <option value="0"_If_(_cgiargt_,, selected)>_If_(_cgiargb_,_textnatural_,_textall_) 758 758 </select> 759 759 }
Note:
See TracChangeset
for help on using the changeset viewer.