Lines 2-13
Link Here
|
2 |
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1> |
2 |
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1> |
3 |
<!-- Begin Authorities Resident Search Box --> |
3 |
<!-- Begin Authorities Resident Search Box --> |
4 |
<div id="header_search" class="residentsearch"> |
4 |
<div id="header_search" class="residentsearch"> |
5 |
<div id="mainmain_heading" class="residentsearch"> |
5 |
<div id="authorities_search" class="residentsearch"> |
6 |
<p class="tip">Enter main heading ($a only):</p> |
6 |
<p class="tip">Search for authorities:</p> |
7 |
<form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> |
7 |
<form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> |
8 |
<input type="hidden" name="op" value="do_search" /> |
8 |
<input type="hidden" name="op" value="do_search" /> |
9 |
<input type="hidden" name="type" value="intranet" /> |
9 |
<input type="hidden" name="type" value="intranet" /> |
10 |
<select name="authtypecode"> |
10 |
<select name="authtypecode" title="Authority type"> |
11 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
11 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
12 |
[% FOREACH authority_type IN authority_types %] |
12 |
[% FOREACH authority_type IN authority_types %] |
13 |
[% IF authority_type.authtypecode == authtypecode %] |
13 |
[% IF authority_type.authtypecode == authtypecode %] |
Lines 17-192
Link Here
|
17 |
[% END %] |
17 |
[% END %] |
18 |
[% END %] |
18 |
[% END %] |
19 |
</select> |
19 |
</select> |
20 |
<input type="hidden" name="marclist" value="mainmainentry" /> |
20 |
<select name="marclist" title="Where"> |
21 |
<input type="hidden" name="and_or" value="and" /> |
21 |
[% IF ( marclist == 'mainmainentry' ) %] |
22 |
<input type="hidden" name="excluding" value="" /> |
22 |
<option value="mainmainentry" selected="selected">Main heading ($a only)</option> |
23 |
<select name="operator"> |
|
|
24 |
[% IF ( operator == 'contains' ) %] |
25 |
<option value="contains" selected="selected">contains</option> |
26 |
[% ELSE %] |
27 |
<option value="contains">contains</option> |
28 |
[% END %] |
29 |
[% IF ( operator == 'start' ) %] |
30 |
<option value="start" selected="selected">starts with</option> |
31 |
[% ELSE %] |
32 |
<option value="start">starts with</option> |
33 |
[% END %] |
34 |
[% IF ( operator == 'is' ) %] |
35 |
<option value="is" selected="selected">is exactly</option> |
36 |
[% ELSE %] |
37 |
<option value="is">is exactly</option> |
38 |
[% END %] |
39 |
</select> |
40 |
<input id="value_mainentry" type="text" name="value" value="[% value | html %]" class="head-searchbox" /> |
41 |
<select name="orderby"> |
42 |
[% IF ( orderby == 'HeadingAsc' ) %] |
43 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
44 |
[% ELSE %] |
45 |
<option value="HeadingAsc">Heading A-Z</option> |
46 |
[% END %] |
47 |
[% IF ( orderby == 'HeadingDsc' ) %] |
48 |
<option value="HeadingDsc" selected="selected">Heading Z-A</option> |
49 |
[% ELSE %] |
50 |
<option value="HeadingDsc">Heading Z-A</option> |
51 |
[% END %] |
52 |
[% IF ( orderby == '' && op ) %] |
53 |
<option value="" selected="selected">None</option> |
54 |
[% ELSE %] |
55 |
<option value="">None</option> |
56 |
[% END %] |
57 |
</select> |
58 |
<input type="submit" class="submit" value="Submit" /> |
59 |
</form> |
60 |
</div> |
61 |
<div id="main_heading" class="residentsearch"> |
62 |
<p class="tip">Enter main heading:</p> |
63 |
<form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> |
64 |
<input type="hidden" name="op" value="do_search" /> |
65 |
<input type="hidden" name="type" value="intranet" /> |
66 |
<select name="authtypecode"> |
67 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
68 |
[% FOREACH authority_type IN authority_types %] |
69 |
[% IF authority_type.authtypecode == authtypecode %] |
70 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
71 |
[% ELSE %] |
72 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
73 |
[% END %] |
74 |
[% END %] |
75 |
</select> |
76 |
<input type="hidden" name="marclist" value="mainentry" /> |
77 |
<input type="hidden" name="and_or" value="and" /> |
78 |
<input type="hidden" name="excluding" value="" /> |
79 |
<select name="operator"> |
80 |
[% IF ( operator == 'contains' ) %] |
81 |
<option value="contains" selected="selected">contains</option> |
82 |
[% ELSE %] |
83 |
<option value="contains">contains</option> |
84 |
[% END %] |
85 |
[% IF ( operator == 'start' ) %] |
86 |
<option value="start" selected="selected">starts with</option> |
87 |
[% ELSE %] |
88 |
<option value="start">starts with</option> |
89 |
[% END %] |
90 |
[% IF ( operator == 'is' ) %] |
91 |
<option value="is" selected="selected">is exactly</option> |
92 |
[% ELSE %] |
93 |
<option value="is">is exactly</option> |
94 |
[% END %] |
95 |
</select> |
96 |
<input id="value_mainentry" type="text" name="value" value="[% value | html %]" class="head-searchbox" /> |
97 |
<select name="orderby"> |
98 |
[% IF ( orderby == 'HeadingAsc' ) %] |
99 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
100 |
[% ELSE %] |
101 |
<option value="HeadingAsc">Heading A-Z</option> |
102 |
[% END %] |
103 |
[% IF ( orderby == 'HeadingDsc' ) %] |
104 |
<option value="HeadingDsc" selected="selected">Heading Z-A</option> |
105 |
[% ELSE %] |
106 |
<option value="HeadingDsc">Heading Z-A</option> |
107 |
[% END %] |
108 |
[% IF ( orderby == '' && op ) %] |
109 |
<option value="" selected="selected">None</option> |
110 |
[% ELSE %] |
111 |
<option value="">None</option> |
112 |
[% END %] |
113 |
</select> |
114 |
<input type="submit" class="submit" value="Submit" /> |
115 |
</form> |
116 |
</div> |
117 |
<div id="matchheading_search" class="residentsearch"> |
118 |
<p class="tip">Enter any heading:</p> |
119 |
<form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> |
120 |
<input type="hidden" name="op" value="do_search" /> |
121 |
<input type="hidden" name="type" value="intranet" /> |
122 |
<select name="authtypecode"> |
123 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
124 |
[% FOREACH authority_type IN authority_types %] |
125 |
[% IF authority_type.authtypecode == authtypecode %] |
126 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
127 |
[% ELSE %] |
128 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
129 |
[% END %] |
130 |
[% END %] |
131 |
</select> |
132 |
<input type="hidden" name="marclist" value="match" /> |
133 |
<select name="operator"> |
134 |
[% IF ( operator == 'contains' ) %] |
135 |
<option value="contains" selected="selected">contains</option> |
136 |
[% ELSE %] |
137 |
<option value="contains">contains</option> |
138 |
[% END %] |
139 |
[% IF ( operator == 'start' ) %] |
140 |
<option value="start" selected="selected">starts with</option> |
141 |
[% ELSE %] |
23 |
[% ELSE %] |
142 |
<option value="start">starts with</option> |
24 |
<option value="mainmainentry">Main heading ($a only)</option> |
143 |
[% END %] |
25 |
[% END %] |
144 |
[% IF ( operator == 'is' ) %] |
26 |
[% IF ( marclist == 'mainentry' ) %] |
145 |
<option value="is" selected="selected">is exactly</option> |
27 |
<option value="mainentry" selected="selected">Main heading</option> |
146 |
[% ELSE %] |
28 |
[% ELSE %] |
147 |
<option value="is">is exactly</option> |
29 |
<option value="mainentry">Main heading</option> |
148 |
[% END %] |
30 |
[% END %] |
149 |
</select> |
31 |
[% IF ( marclist == 'match' ) %] |
150 |
<input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" /> |
32 |
<option value="match" selected="selected">All headings</option> |
151 |
<select name="orderby"> |
|
|
152 |
[% IF ( orderby == 'HeadingAsc' ) %] |
153 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
154 |
[% ELSE %] |
33 |
[% ELSE %] |
155 |
<option value="HeadingAsc">Heading A-Z</option> |
34 |
<option value="match">All headings</option> |
156 |
[% END %] |
35 |
[% END %] |
157 |
[% IF ( orderby == 'HeadingDsc' ) %] |
36 |
[% IF ( marclist == 'all' ) %] |
158 |
<option value="HeadingDsc" selected="selected">Heading Z-A</option> |
37 |
<option value="all" selected="selected">Entire record</option> |
159 |
[% ELSE %] |
38 |
[% ELSE %] |
160 |
<option value="HeadingDsc">Heading Z-A</option> |
39 |
<option value="all">Entire record</option> |
161 |
[% END %] |
40 |
[% END %] |
162 |
[% IF ( orderby == '' && op ) %] |
|
|
163 |
<option value="" selected="selected">None</option> |
164 |
[% ELSE %] |
165 |
<option value="">None</option> |
166 |
[% END %] |
167 |
</select> |
168 |
<input type="submit" class="submit" value="Submit" /> |
169 |
</form> |
170 |
</div> |
171 |
<div id="entire_record" class="residentsearch"> |
172 |
<p class="tip">Enter any authority field:</p> |
173 |
<form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> |
174 |
<input type="hidden" name="op" value="do_search" /> |
175 |
<input type="hidden" name="type" value="intranet" /> |
176 |
<select name="authtypecode"> |
177 |
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %] |
178 |
[% FOREACH authority_type IN authority_types %] |
179 |
[% IF authority_type.authtypecode == authtypecode %] |
180 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
181 |
[% ELSE %] |
182 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
183 |
[% END %] |
184 |
[% END %] |
185 |
</select> |
41 |
</select> |
186 |
<input type="hidden" name="marclist" value="all" /> |
|
|
187 |
<input type="hidden" name="and_or" value="and" /> |
42 |
<input type="hidden" name="and_or" value="and" /> |
188 |
<input type="hidden" name="excluding" value="" /> |
43 |
<input type="hidden" name="excluding" value="" /> |
189 |
<select name="operator"> |
44 |
<select name="operator" title="Search option"> |
190 |
[% IF ( operator == 'contains' ) %] |
45 |
[% IF ( operator == 'contains' ) %] |
191 |
<option value="contains" selected="selected">contains</option> |
46 |
<option value="contains" selected="selected">contains</option> |
192 |
[% ELSE %] |
47 |
[% ELSE %] |
Lines 203-210
Link Here
|
203 |
<option value="is">is exactly</option> |
58 |
<option value="is">is exactly</option> |
204 |
[% END %] |
59 |
[% END %] |
205 |
</select> |
60 |
</select> |
206 |
<input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" /> |
61 |
<input type="text" name="value" value="[% value | html %]" class="head-searchbox" /> |
207 |
<select name="orderby"> |
62 |
<select name="orderby" title="Order by"> |
208 |
[% IF ( orderby == 'HeadingAsc' ) %] |
63 |
[% IF ( orderby == 'HeadingAsc' ) %] |
209 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
64 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
210 |
[% ELSE %] |
65 |
[% ELSE %] |
Lines 221-235
Link Here
|
221 |
<option value="">None</option> |
76 |
<option value="">None</option> |
222 |
[% END %] |
77 |
[% END %] |
223 |
</select> |
78 |
</select> |
224 |
<input type="submit" class="submit" value="Submit" /> |
79 |
<input type="submit" class="submit" value="Search" /> |
225 |
</form> |
80 |
</form> |
226 |
</div> |
81 |
</div> |
227 |
<ul> |
|
|
228 |
<li><a class="keep_text" href="#mainmain_heading">Search main heading ($a only)</a></li> |
229 |
<li><a class="keep_text" href="#main_heading">Search main heading</a></li> |
230 |
<li><a class="keep_text" href="#matchheading_search">Search all headings</a></li> |
231 |
<li><a class="keep_text" href="#entire_record">Search entire record</a></li> |
232 |
</ul> |
233 |
</div><!-- /header_search --> |
82 |
</div><!-- /header_search --> |
234 |
</div><!-- /gradient --> |
83 |
</div><!-- /gradient --> |
235 |
<!-- End Authorities Resident Search Box --> |
84 |
<!-- End Authorities Resident Search Box --> |
236 |
- |
|
|