Changeset 148 for trunk/gsdl/macros/query.dm
- Timestamp:
- 1999-02-05T14:10:54+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/query.dm
r129 r148 1 1 package query 2 2 3 #################### 4 # query page icons # 5 #################### 3 ####################################################################### 4 # navigation bar 5 # 6 # these macros must be overridden for any collections using 7 # options different from the default (i.e. search, titles and authors) 8 ####################################################################### 6 9 7 _iconqueryresultsbar_ {<img src="_httpiconqryresb_" width=_widthqryresb_ 8 height=_heightqryresb_ alt="_texticonqueryresultsbar_">} 10 _imagequerybar_ { 11 <center> 12 <nobr>_icontabsearchgreen__icontabspacer__imagebrowsetitles__icontabspacer2__imagebrowseauthors_</nobr> 13 </center> 14 <p> 15 } 16 17 _imagequerybar_[version=text] { 18 _imagebrowsetitles_<br> 19 _imagebrowseauthors_<br> 20 <p> 21 } 22 23 24 ####################################################################### 25 # https 26 ####################################################################### 27 28 _httpiconthispage_ {_httpimg_/h\_search.gif} 29 _httpiconthispage_ [language=mi] {_httpimg_/mh\_srch.gif} 30 _widthiconthispage_ {200} 31 _heighticonthispage_ {57} 32 33 _httpiconqryresb_ {_httpimg_/qryresb.gif} 34 _httpiconqryresb_ [language=mi] {_httpimg_/mqryresb.gif} 35 _widthqryresb_ {537} 36 _heightqryresb_ {17} 37 38 39 ####################################################################### 40 # icons 41 ####################################################################### 42 43 _iconthispage_ {<img src="_httpiconthispage_" alt="_texticonthispage_" width="_widthiconthispage_" height="_heighticonthispage_">} 44 _iconthispage_ [version=text] {<h2>_texticonthispage_</h2>} 45 46 _iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">} 9 47 _iconqueryresultsbar_[version=text] {_texticonqueryresultsbar_} 10 48 11 _imagethispage_ {<img src="_httpiconhsearch_" alt="search" width=_widthhsearch_ height=_heighthsearch_>}12 49 13 ######################### 14 # English language text #15 ######################### 50 ####################################################################### 51 # images 52 ####################################################################### 16 53 17 _texticonqueryresultsbar_ {} 18 _textfm1_ {Word count: } 19 _textmt2_ {More than } 20 _textndmtq_ {No documents matched the query} 21 _textdmtq2_ { documents matched the query} 22 _textdmtq3_ { documents matched the query} 23 24 _textmatches_ {Matches } 25 26 _textbeginsearch_ {Begin Search} 27 28 _textsome_ {some} 29 _textall_ {all} 54 _imagethispage_ {_iconthispage_} 30 55 31 56 32 ############## 33 # query page #34 ############## 57 ####################################################################### 58 # page content 59 ####################################################################### 35 60 36 _pagetitle_ {_collectionname_: Search }61 _pagetitle_ {_collectionname_: Search page} 37 62 38 63 _noqueryheader_ { … … 58 83 59 84 60 _imagequerybar_ {61 <center>62 <nobr>_icontabsearchgreen__icontabspacer__imagebrowsetitles__icontabspacer__imagebrowseauthors_</nobr>63 </center>64 <p>65 }66 67 _imagequerybar_[version=text] {_imagebrowsetitles_<br>68 _imagebrowseauthors_<br>69 <p>70 }71 72 73 85 # default to be overridden for each page 74 86 _links_ {} … … 77 89 _links_ 78 90 } 79 80 81 # these selection macros are overridden for each page82 _indexselection_ {83 <select name="i">84 <option value="t">titles85 <option value="c"selected>chapters86 </select>87 }88 89 _querytypeselection_ {90 <select name="t">91 <option value="1" selected>some92 <option value="0" >all93 </select>94 }95 96 91 97 92 _queryform_ { … … 106 101 <_font_> 107 102 <nobr> 108 Search _indexselection_ for _querytypeselection_ of the words<br>103 _textselect_<br> 109 104 </nobr> 110 105 </font> … … 121 116 </form> 122 117 } 118 119 ####################################################################### 120 # English text 121 ####################################################################### 122 123 _texticonthispage_ {search} 124 _textsome_ {some} 125 _textall_ {all} 126 _texticonqueryresultsbar_ {} 127 _textfm1_ {Word count: } 128 _textmt2_ {More than } 129 _textndmtq_ {No documents matched the query} 130 _textdmtq2_ { document matched the query} 131 _textdmtq3_ { documents matched the query} 132 _textmatches_ {Matches } 133 _textbeginsearch_ {Begin Search} 134 135 # the textselect macro will be overridden for most collections 136 _textselect_ {Search _hselection_ of _jselection_ in _nselection_ language for 137 _querytypeselection_ of the words} 138 139 ####################################################################### 140 # Maori text 141 ####################################################################### 142 143 _texticonthispage_ {rapu} 144 _textsome_ [language=mi] [language=mi] {ëtehi} 145 _textall_ [language=mi] {te katoa} 146 _textbeginsearch_ [language=mi] {Rapua} 147 _textfm1_ [language=mi] {Kia hia ngä kupu: } 148 _textmt2_ [language=mi] {Neke atu i te } 149 _textndmtq_ [language=mi] {käore he pukapuka e pä ana ki äu kupu rapu} 150 _textdmtq2_ [language=mi] { te pukapuka e pä ana ki äu kupu rapu} 151 _textdmtq3_ [language=mi] { ngä pukapuka e pä ana ki äu kupu rapu} 152 153 154
Note:
See TracChangeset
for help on using the changeset viewer.