1 <!-- Begin Authorities Resident Search Box -->
5 <label class="control-label">
8 <select name="orderby" class="form-control">
9 [% IF ( orderby == 'HeadingAsc' ) %]
10 <option value="HeadingAsc" selected="selected">Heading A-Z</option>
12 <option value="HeadingAsc">Heading A-Z</option>
14 [% IF ( orderby == 'HeadingDsc' ) %]
15 <option value="HeadingDsc" selected="selected">Heading Z-A</option>
17 <option value="HeadingDsc">Heading Z-A</option>
19 [% IF ( orderby == '' && op ) %]
20 <option value="" selected="selected">None</option>
22 <option value="">None</option>
31 <label class="control-label">
34 <select name="operator" class="form-control">
35 [% IF ( operator == 'contains' ) %]
36 <option value="contains" selected="selected">contains</option>
38 <option value="contains">contains</option>
40 [% IF ( operator == 'start' ) %]
41 <option value="start" selected="selected">starts with</option>
43 <option value="start">starts with</option>
45 [% IF ( operator == 'exact' ) %]
46 <option value="exact" selected="selected">is exactly</option>
48 <option value="exact">is exactly</option>
56 <select name="authtypecode" class="form-control">
57 [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
58 [% FOREACH authority_type IN authority_types %]
59 [% IF authority_type.authtypecode == authtypecode %]
60 <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
62 <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
68 <div id="header_search">
69 <div id="mainmain_heading" class="residentsearch">
70 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
71 <input type="hidden" name="op" value="do_search" />
72 <input type="hidden" name="type" value="intranet" />
73 <input type="hidden" name="marclist" value="mainmainentry" />
74 <input type="hidden" name="and_or" value="and" />
75 <input type="hidden" name="excluding" value="" />
77 <span class="form-title">
78 <label class="control-label">Search main heading ($a only)</label>
81 <span class="form-content">
82 [% INCLUDE authtype %]
83 <input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" />
84 <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
87 <button type="submit"><i class="fa fa-arrow-right"></i></button>
89 <span class="form-extra-content">
90 [% INCLUDE operator %]
96 <div id="main_heading" class="residentsearch">
97 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
98 <input type="hidden" name="marclist" value="mainentry" />
99 <input type="hidden" name="and_or" value="and" />
100 <input type="hidden" name="excluding" value="" />
101 <input type="hidden" name="op" value="do_search" />
102 <input type="hidden" name="type" value="intranet" />
104 <span class="form-title">
105 <label class="control-label">Search main heading</label>
108 <span class="form-content">
109 [% INCLUDE authtype %]
110 <input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" />
111 <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
114 <button type="submit"><i class="fa fa-arrow-right"></i></button>
116 <span class="form-extra-content">
117 [% INCLUDE operator %]
118 [% INCLUDE orderby %]
123 <div id="matchheading_search" class="residentsearch">
124 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
125 <input type="hidden" name="op" value="do_search" />
126 <input type="hidden" name="type" value="intranet" />
127 <input type="hidden" name="marclist" value="match" />
129 <span class="form-title">
130 <label class="control-label">Search all headings</label>
133 <span class="form-content">
134 [% INCLUDE authtype %]
135 <input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" />
136 <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
139 <button type="submit"><i class="fa fa-arrow-right"></i></button>
141 <span class="form-extra-content">
142 [% INCLUDE operator %]
143 [% INCLUDE orderby %]
148 <div id="entire_record" class="residentsearch">
149 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
150 <input type="hidden" name="op" value="do_search" />
151 <input type="hidden" name="type" value="intranet" />
152 <input type="hidden" name="marclist" value="all" />
153 <input type="hidden" name="and_or" value="and" />
154 <input type="hidden" name="excluding" value="" />
156 <span class="form-title">
157 <label class="control-label">Search entire record</label>
160 <span class="form-content">
161 [% INCLUDE authtype %]
162 <input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" />
163 <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
166 <button type="submit"><i class="fa fa-arrow-right"></i></button>
168 <span class="form-extra-content">
169 [% INCLUDE operator %]
170 [% INCLUDE orderby %]
176 <li><a title="Search main heading ($a only)" href="#mainmain_heading" class="keep_text"><i style="font-weight:bold">$a</i> Search main heading ($a only)</a></li>
177 <li><a title="Search main heading" href="#main_heading" class="keep_text"><i class="fa fa-header"></i> Search main heading</a></li>
178 <li><a title="Search all headings" href="#matchheading_search" class="keep_text"><i class="fa fa-align-center"></i> Search all headings</a></li>
179 <li><a title="Search entire record" href="#entire_record" class="keep_text"><i class="fa fa-folder-open-o"></i> Search entire record</a></li>
181 </div><!-- /header_search -->
182 <!-- End Authorities Resident Search Box -->