Changeset 12069
- Timestamp:
- 2006-07-07T11:24:27+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cic-hcap/macros/extra.dm
r12063 r12069 840 840 package query 841 841 842 # Hide the "or enter a query directly" box 843 _advancedformextra_ {} 844 845 # We have our own Javascript for the form searching 846 _formfunctions_ {} 847 848 _header_ {_If_(_cgiargq_,_style:header_,_style:cicheader_(onLoad="initializeadvancedsearch();"))} 849 850 _pagescriptextra_ {} 851 852 # What is displayed on the "advanced search" submit button 853 _textbeginsearch_ {Search} 854 855 # Hide the "search and display results in ... order" text 856 _textformselect_ {} 842 _cicpagecontent_ { 843 _If_(_cgiargq_,_cicsearchresults_,_If_("_cgiargqst_" eq "1",_cicstatesearchpage_,_If_("_cgiargqre_" eq "1",_cicbibliographicsearchpage_,_cicadvancedsearchpage_)) 844 } 857 845 858 846 _cicsimplequeryform_ { … … 866 854 } 867 855 868 _cicpagecontent_ {869 _If_(_cgiargq_,_cicsearchresults_,_If_("_cgiargqre_" eq "1",_cicbibliographicsearchpage_,_If_("_cgiargqst_" eq "1",_cicstatesearchpage_,_cicadvancedsearchpage_))870 }871 872 856 _cicsearchresults_ { 873 857 <div class="cicheading">Search Results</div> … … 876 860 } 877 861 878 _cicbibliographicsearchpage_ { 879 <span class="cicheading">Bibliographic Search</span> 880 881 <center> 882 <form name=ReferencesQueryForm method=get action="_gwcgi_" onSubmit="preparereferencessearch();"> 883 <input type="hidden" name="a" value="q"> 884 <input type="hidden" name="fqc" value="and"> 885 <input type="hidden" name="fqf" value="RE"> 886 <input type="hidden" name="fqv" value=""> 887 <nobr><span class="cicqueryfieldtext">Search place references by title/author/keywords: </span><input type="text" name="txq" value="" size="40" style="border: solid 1px #005400;"></nobr> 888 </form> 889 </center> 890 } 862 863 864 # ------------------------------------------------------------------------------------------ 865 # QUERY (Search -> Institutions by State) 866 # ------------------------------------------------------------------------------------------ 891 867 892 868 _cicstatesearchpage_ { … … 898 874 </select> 899 875 </center> 900 }901 902 _cicadvancedsearchpage_ {903 <span class="cicheading">Advanced Search</span>904 905 <center>_fieldqueryform_</center>906 876 } 907 877 … … 966 936 } 967 937 938 939 # ------------------------------------------------------------------------------------------ 940 # QUERY (Search -> Bibliographic Search) 941 # ------------------------------------------------------------------------------------------ 942 943 _cicbibliographicsearchpage_ { 944 <span class="cicheading">Bibliographic Search</span> 945 946 <center> 947 <form name=ReferencesQueryForm method=get action="_gwcgi_" onSubmit="preparereferencessearch();"> 948 <input type="hidden" name="a" value="q"> 949 <input type="hidden" name="fqc" value="and"> 950 <input type="hidden" name="fqf" value="RE"> 951 <input type="hidden" name="fqv" value=""> 952 <nobr><span class="cicqueryfieldtext">Search place references by title/author/keywords: </span><input type="text" name="txq" value="" size="40" style="border: solid 1px #005400;"></nobr> 953 </form> 954 </center> 955 } 956 957 958 959 # ------------------------------------------------------------------------------------------ 960 # QUERY (Search -> Advanced Search) 961 # ------------------------------------------------------------------------------------------ 962 963 # Hide the "or enter a query directly" box 964 _advancedformextra_ {} 965 966 # We have our own Javascript for the form searching 967 _formfunctions_ {} 968 969 _header_ {_If_(_cgiargq_,_style:header_,_style:cicheader_(onLoad="initializeadvancedsearch();"))} 970 971 _pagescriptextra_ {} 972 973 # What is displayed on the "advanced search" submit button 974 _textbeginsearch_ {Search} 975 976 # Hide the "search and display results in ... order" text 977 _textformselect_ {} 978 979 _cicadvancedsearchpage_ { 980 <span class="cicheading">Advanced Search</span> 981 982 <center>_fieldqueryform_</center> 983 } 984 968 985 _cicaqvdefault_ {<input id='aqv_1_field' name='aqv' type='text' style='width: 450px'/>} 969 986 _cicaqvtypeofplace_ {<select id='aqv_1_field' name='aqv' style='width: 450px'><option value='Individual building'>Individual building</option><option value='Landscape site'>Landscape site</option><option value='Campus arrangement'>Campus arrangement</option><option value='Building group'>Building group</option></select>}
Note:
See TracChangeset
for help on using the changeset viewer.