Changeset 12557
- Timestamp:
- 2006-08-25T12:53:49+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/query.dm
r12441 r12557 44 44 # _iconnext_ and _iconprev_ are overridden in this package as we 45 45 # don't want alt text here 46 _iconnext_{<img src="_httpiconmore_" width= _widthmore_ height=_heightmore_ border=0 align=top>}46 _iconnext_{<img src="_httpiconmore_" width="_widthmore_" height="_heightmore_" border="0" align="top">} 47 47 _iconnext_ [v=1] {} 48 _iconprev_{<img src="_httpiconless_" width= _widthless_ height=_heightless_ border=0 align=top>}48 _iconprev_{<img src="_httpiconless_" width="_widthless_" height="_heightless_" border="0" align="top">} 49 49 _iconprev_ [v=1] {} 50 50 … … 64 64 #the buttons for the search history entries 65 65 # takes one arg - the entry number (0-num entries) 66 _imagehistbutton_ {<a href="_httpquery_" onMouseover="roll('histbutton_1_',1);" onMouseOut="roll('histbutton_1_',0);" onClick="inputQuery(histvalue_1_); return false;"><img name="histbutton_1_" src="_httpiconmstdsqrof_" onLoad="gbutton(this,'_httpiconmstdsqron_');" border= 0alt="_textusequery_" title="_textusequery_"></a>}66 _imagehistbutton_ {<a href="_httpquery_" onMouseover="roll('histbutton_1_',1);" onMouseOut="roll('histbutton_1_',0);" onClick="inputQuery(histvalue_1_); return false;"><img name="histbutton_1_" src="_httpiconmstdsqrof_" onLoad="gbutton(this,'_httpiconmstdsqron_');" border="0" alt="_textusequery_" title="_textusequery_"></a>} 67 67 68 68 … … 565 565 _queryform_ { 566 566 <!-- query form (\_query:plainqueryform\_) --> 567 <form name= QueryForm method=getaction="_gwcgi_">567 <form name="QueryForm" method="get" action="_gwcgi_"> 568 568 <p> 569 <input type= hiddenname="a" value="q">570 <input type= hiddenname="r" value="1">571 <input type= hiddenname="hs" value="1">572 <input type= hiddenname="e" value="_decodedcompressedoptions_">569 <input type="hidden" name="a" value="q"> 570 <input type="hidden" name="r" value="1"> 571 <input type="hidden" name="hs" value="1"> 572 <input type="hidden" name="e" value="_decodedcompressedoptions_"> 573 573 _queryformcontent_ 574 574 _optdatesearch_ … … 578 578 } 579 579 580 _ifeellucky_ { <br><input type= checkboxname="ifl">_textifeellucky_ }580 _ifeellucky_ { <br><input type="checkbox" name="ifl">_textifeellucky_ } 581 581 _useifeellucky_ { } # Set this to _ifeellucky_ if you want this functionality available 582 582 … … 601 601 <center> 602 602 _textstartdate_ 603 <input type="text" name="ds" value ="_cgiargds_" size="4" maxlength="4">603 <input type="text" name="ds" value="_cgiargds_" size="4" maxlength="4"> 604 604 <select name="dsbc" value="_cgiargdsbc_" size="1"> 605 <option value ="0"_If_(_cgiargdsbc_,, selected)>_textad_606 <option value ="1"_If_(_cgiargdsbc_, selected)>_textbc_605 <option value="0"_If_(_cgiargdsbc_,, selected)>_textad_ 606 <option value="1"_If_(_cgiargdsbc_, selected)>_textbc_ 607 607 </select> 608 608 _textenddate_ 609 <input type="text" name="de" value ="_cgiargde_" size="4" maxlength="4">609 <input type="text" name="de" value="_cgiargde_" size="4" maxlength="4"> 610 610 <select name="debc" size="1"> 611 <option value ="0" _If_(_cgiargdebc_,, selected)>_textad_612 <option value ="1" _If_(_cgiargdebc_, selected)>_textbc_611 <option value="0" _If_(_cgiargdebc_,, selected)>_textad_ 612 <option value="1" _If_(_cgiargdebc_, selected)>_textbc_ 613 613 </select> 614 614 </center> … … 621 621 } 622 622 623 _smallquerybox_ {<tr><td><nobr><input type="text" name="q" value="_cgiargq_" size="50"> 624 <input type="submit" value="_textbeginsearch_"></nobr>} 623 _smallquerybox_ {<input type="text" name="q" value="_cgiargq_" size="50"> <input type="submit" value="_textbeginsearch_">} 625 624 626 625 _largequerybox_ { 627 <tr><td><textarea name="q" cols= 63 rows=10>626 <tr><td><textarea name="q" cols="63" rows="10"> 628 627 _cgiargq_ 629 628 </textarea></td></tr> 630 <tr align= right><td><table>629 <tr align="right"><td><table> 631 630 <tr><td><input type="submit" value="_textbeginsearch_"></td> 632 631 </tr></table></td></tr>} … … 638 637 </noscript> 639 638 <!-- field query form (\_query:fieldqueryform\_) --> 640 <form name= QueryForm method=getaction="_gwcgi_">639 <form name="QueryForm" method="get" action="_gwcgi_"> 641 640 642 641 <table><tr><td> … … 655 654 656 655 _advancedforms_{ 657 <tr><td><center> <table border= 0 cellspacing=0 cellpadding=0width="90%">658 <tr><th></th><th align= left>_textwordphrase_</th><th colspan=2><nobr>_textfoldstem_</nobr></th><th align=center> _textinfield_</th></tr>656 <tr><td><center> <table border="0" cellspacing="0" cellpadding="0" width="90%"> 657 <tr><th></th><th align="left">_textwordphrase_</th><th colspan="2"><nobr>_textfoldstem_</nobr></th><th align="center"> _textinfield_</th></tr> 659 658 _advformlist_ 660 <tr><td colspan= 2><input type=buttonvalue="_textclearform_" onClick="clearForm();"></td>661 <td colspan= 3><table>662 <tr><td><input type= buttonvalue="_textbeginsearch_" onClick="beginSearch();"></td>659 <tr><td colspan="2"><input type="button" value="_textclearform_" onClick="clearForm();"></td> 660 <td colspan="3"><table> 661 <tr><td><input type="button" value="_textbeginsearch_" onClick="beginSearch();"></td> 663 662 </tr></table></td></tr> 664 663 </table></td></tr> … … 668 667 <table> 669 668 <tr><td>_textadvquery_</td></tr> 670 <tr><td><textarea name= q cols=57 rows=3onChange="updateq();">_cgiargq_</textarea></td>671 <td valign= bottom>669 <tr><td><textarea name="q" cols="57" rows="3" onChange="updateq();">_cgiargq_</textarea></td> 670 <td valign="bottom"> 672 671 <input type="button" value="_textrunquery_" onClick="runQuery();"></td></tr> 673 672 </table> … … 675 674 676 675 _simpleforms_{ 677 <tr><td><center> <table border= 0 cellspacing=0 cellpadding=0width="90%">678 <tr><th align= left>_textwordphrase_</th><th align=left> _textinfield_</th></tr>676 <tr><td><center> <table border="0" cellspacing="0" cellpadding="0" width="90%"> 677 <tr><th align="left">_textwordphrase_</th><th align="left"> _textinfield_</th></tr> 679 678 _regformlist_ 680 <tr><td><input type= buttonvalue="_textclearform_" onClick="clearForm();"></td>679 <tr><td><input type="button" value="_textclearform_" onClick="clearForm();"></td> 681 680 <td><table> 682 <tr><td><input type= buttonvalue="_textbeginsearch_" onClick="beginSearch();"></td>681 <tr><td><input type="button" value="_textbeginsearch_" onClick="beginSearch();"></td> 683 682 </tr> 684 683 </table></td></tr> … … 686 685 687 686 _regformelement_{ 688 <td><input type= text size=39name="fqv" onChange="updatefqv();" onkeypress="updatefqv(); entersubmit(event);"></td>687 <td><input type="text" size="39" name="fqv" onChange="updatefqv();" onkeypress="updatefqv(); entersubmit(event);"></td> 689 688 <td>_fqfselection_</td>} 690 689 691 690 #has no and/or/not selection box 692 691 _firstadvformelement_{ 693 <td></td><td><input type= text size=31name="fqv" onChange="updatefqv();" onkeypress="updatefqv(); entersubmit(event);"></td>694 <td align= center><input type=checkboxname="fqk" onClick="updatefqk();"></td>695 <td align -center><input type=checkboxname="fqs" onClick="updatefqs();"></td>696 <td align= right>_fqfselection_</td>}692 <td></td><td><input type="text" size="31" name="fqv" onChange="updatefqv();" onkeypress="updatefqv(); entersubmit(event);"></td> 693 <td align="center"><input type="checkbox" name="fqk" onClick="updatefqk();"></td> 694 <td align="center"><input type="checkbox" name="fqs" onClick="updatefqs();"></td> 695 <td align="right">_fqfselection_</td>} 697 696 698 697 _advformelement_{ 699 698 <td>_fqcselection_</td> 700 <td><input type= text size=31name="fqv" onChange="updatefqv();" onkeypress="updatefqv(); entersubmit(event);"></td>701 <td align= center><input type=checkboxname="fqk" onClick="updatefqk();"></td>702 <td align -center><input type=checkboxname="fqs" onClick="updatefqs();"></td>703 <td align= right>_fqfselection_</td>}699 <td><input type="text" size="31" name="fqv" onChange="updatefqv();" onkeypress="updatefqv(); entersubmit(event);"></td> 700 <td align="center"><input type="checkbox" name="fqk" onClick="updatefqk();"></td> 701 <td align="center"><input type="checkbox" name="fqs" onClick="updatefqs();"></td> 702 <td align="right">_fqfselection_</td>} 704 703 705 704 _fqcselection_ { … … 720 719 _pagefooterextra_ { 721 720 <center> 722 <table cellspacing= 0 cellpadding=0width="_pagewidth_">721 <table cellspacing="0" cellpadding="0" width="_pagewidth_"> 723 722 <tr> 724 <td align= left>_If_(_prevfirst_,<a href="_httpquery_&r=_prevfirst_">_iconprev__textmatches__prevfirst_ - _prevlast_</a>)</td>725 <td align= right>_If_(_nextfirst_,<a href="_httpquery_&r=_nextfirst_">_textmatches__nextfirst_ - _nextlast__iconnext_</a>)</td>723 <td align="left">_If_(_prevfirst_,<a href="_httpquery_&r=_prevfirst_">_iconprev__textmatches__prevfirst_ - _prevlast_</a>)</td> 724 <td align="right">_If_(_nextfirst_,<a href="_httpquery_&r=_nextfirst_">_textmatches__nextfirst_ - _nextlast__iconnext_</a>)</td> 726 725 </tr></table> 727 726 </center>
Note:
See TracChangeset
for help on using the changeset viewer.