2 <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1>
3 <!-- Begin Authorities Resident Search Box -->
4 <div id="header_search" class="residentsearch">
5 <div id="mainmain_heading" class="residentsearch">
6 <p class="tip">Enter main heading ($a only):</p>
7 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
8 <input type="hidden" name="op" value="do_search" />
9 <input type="hidden" name="type" value="intranet" />
10 <select name="authtypecode">
11 [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
12 [% FOREACH authority_type IN authority_types %]
13 [% IF authority_type.authtypecode == authtypecode %]
14 <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
16 <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
20 <input type="hidden" name="marclist" value="mainmainentry" />
21 <input type="hidden" name="and_or" value="and" />
22 <input type="hidden" name="excluding" value="" />
23 <select name="operator">
24 [% IF ( operator == 'contains' ) %]
25 <option value="contains" selected="selected">contains</option>
27 <option value="contains">contains</option>
29 [% IF ( operator == 'start' ) %]
30 <option value="start" selected="selected">starts with</option>
32 <option value="start">starts with</option>
34 [% IF ( operator == 'is' ) %]
35 <option value="is" selected="selected">is exactly</option>
37 <option value="is">is exactly</option>
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>
45 <option value="HeadingAsc">Heading A-Z</option>
47 [% IF ( orderby == 'HeadingDsc' ) %]
48 <option value="HeadingDsc" selected="selected">Heading Z-A</option>
50 <option value="HeadingDsc">Heading Z-A</option>
52 [% IF ( orderby == '' && op ) %]
53 <option value="" selected="selected">None</option>
55 <option value="">None</option>
58 <input type="submit" class="submit" value="Submit" />
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>
72 <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
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>
83 <option value="contains">contains</option>
85 [% IF ( operator == 'start' ) %]
86 <option value="start" selected="selected">starts with</option>
88 <option value="start">starts with</option>
90 [% IF ( operator == 'is' ) %]
91 <option value="is" selected="selected">is exactly</option>
93 <option value="is">is exactly</option>
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>
101 <option value="HeadingAsc">Heading A-Z</option>
103 [% IF ( orderby == 'HeadingDsc' ) %]
104 <option value="HeadingDsc" selected="selected">Heading Z-A</option>
106 <option value="HeadingDsc">Heading Z-A</option>
108 [% IF ( orderby == '' && op ) %]
109 <option value="" selected="selected">None</option>
111 <option value="">None</option>
114 <input type="submit" class="submit" value="Submit" />
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>
128 <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
132 <input type="hidden" name="marclist" value="match" />
133 <select name="operator">
134 [% IF ( operator == 'contains' ) %]
135 <option value="contains" selected="selected">contains</option>
137 <option value="contains">contains</option>
139 [% IF ( operator == 'start' ) %]
140 <option value="start" selected="selected">starts with</option>
142 <option value="start">starts with</option>
144 [% IF ( operator == 'is' ) %]
145 <option value="is" selected="selected">is exactly</option>
147 <option value="is">is exactly</option>
150 <input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
151 <select name="orderby">
152 [% IF ( orderby == 'HeadingAsc' ) %]
153 <option value="HeadingAsc" selected="selected">Heading A-Z</option>
155 <option value="HeadingAsc">Heading A-Z</option>
157 [% IF ( orderby == 'HeadingDsc' ) %]
158 <option value="HeadingDsc" selected="selected">Heading Z-A</option>
160 <option value="HeadingDsc">Heading Z-A</option>
162 [% IF ( orderby == '' && op ) %]
163 <option value="" selected="selected">None</option>
165 <option value="">None</option>
168 <input type="submit" class="submit" value="Submit" />
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>
182 <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
186 <input type="hidden" name="marclist" value="all" />
187 <input type="hidden" name="and_or" value="and" />
188 <input type="hidden" name="excluding" value="" />
189 <select name="operator">
190 [% IF ( operator == 'contains' ) %]
191 <option value="contains" selected="selected">contains</option>
193 <option value="contains">contains</option>
195 [% IF ( operator == 'start' ) %]
196 <option value="start" selected="selected">starts with</option>
198 <option value="start">starts with</option>
200 [% IF ( operator == 'is' ) %]
201 <option value="is" selected="selected">is exactly</option>
203 <option value="is">is exactly</option>
206 <input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
207 <select name="orderby">
208 [% IF ( orderby == 'HeadingAsc' ) %]
209 <option value="HeadingAsc" selected="selected">Heading A-Z</option>
211 <option value="HeadingAsc">Heading A-Z</option>
213 [% IF ( orderby == 'HeadingDsc' ) %]
214 <option value="HeadingDsc" selected="selected">Heading Z-A</option>
216 <option value="HeadingDsc">Heading Z-A</option>
218 [% IF ( orderby == '' && op ) %]
219 <option value="" selected="selected">None</option>
221 <option value="">None</option>
224 <input type="submit" class="submit" value="Submit" />
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>
233 </div><!-- /header_search -->
234 </div><!-- /gradient -->
235 <!-- End Authorities Resident Search Box -->