1 <!-- authorities-search.inc -->
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>
59 <select name="authtypecode" class="form-control">
60 [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
61 [% FOREACH authority_type IN authority_types %]
62 [% IF authority_type.authtypecode == authtypecode %]
63 <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
65 <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
73 <div id="header_search" role="tablist">
74 <div class="tab-content">
75 <div id="mainmain_heading" role="tabpanel" class="tab-pane active">
76 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
77 <input type="hidden" name="op" value="do_search" />
78 <input type="hidden" name="type" value="intranet" />
79 <input type="hidden" name="marclist" value="mainmainentry" />
80 <input type="hidden" name="and_or" value="and" />
81 <input type="hidden" name="excluding" value="" />
83 <div class="form-title">
84 <label class="control-label"><span class="control-text">Search main heading</span> <i class="fa fa-fw fa-main-heading-a" aria-hidden="true"></i></label>
87 <div class="form-content">
88 <input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" />
89 <button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
92 <button type="submit"><i class="fa fa-arrow-right"></i></button>
94 <span class="form-extra-content">
95 [% INCLUDE authtype %]
96 [% INCLUDE operator %]
102 <div id="main_heading" role="tabpanel" class="tab-pane">
103 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
104 <input type="hidden" name="marclist" value="mainentry" />
105 <input type="hidden" name="and_or" value="and" />
106 <input type="hidden" name="excluding" value="" />
107 <input type="hidden" name="op" value="do_search" />
108 <input type="hidden" name="type" value="intranet" />
110 <div class="form-title">
111 <label class="control-label"><span class="control-text">Search main heading</span> <i class="fa fa-fw fa-header" aria-hidden="true"></i></label>
114 <div class="form-content">
115 <input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" />
116 <button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
119 <button type="submit"><i class="fa fa-arrow-right"></i></button>
121 <span class="form-extra-content">
122 [% INCLUDE authtype %]
123 [% INCLUDE operator %]
124 [% INCLUDE orderby %]
129 <div id="matchheading_search" role="tabpanel" class="tab-pane">
130 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
131 <input type="hidden" name="op" value="do_search" />
132 <input type="hidden" name="type" value="intranet" />
133 <input type="hidden" name="marclist" value="match" />
135 <div class="form-title">
136 <label class="control-label"><span class="control-text">Search all headings</span> <i class="fa fa-fw fa-align-center" aria-hidden="true"></i></label>
139 <div class="form-content">
140 <input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" />
141 <button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
144 <button type="submit"><i class="fa fa-arrow-right"></i></button>
146 <span class="form-extra-content">
147 [% INCLUDE authtype %]
148 [% INCLUDE operator %]
149 [% INCLUDE orderby %]
154 <div id="entire_record" role="tabpanel" class="tab-pane">
155 <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
156 <input type="hidden" name="op" value="do_search" />
157 <input type="hidden" name="type" value="intranet" />
158 <input type="hidden" name="marclist" value="all" />
159 <input type="hidden" name="and_or" value="and" />
160 <input type="hidden" name="excluding" value="" />
162 <div class="form-title">
163 <label class="control-label"><span class="control-text">Search entire record</span> <i class="fa-solid fa-fw fa-folder-open" aria-hidden="true"></i></label>
166 <div class="form-content">
167 <input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" />
168 <button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
171 <button type="submit"><i class="fa fa-arrow-right"></i></button>
173 <span class="form-extra-content">
174 [% INCLUDE authtype %]
175 [% INCLUDE operator %]
176 [% INCLUDE orderby %]
181 </div><!-- /.tab-content -->
182 <ul class="nav nav-tabs" role="tablist">
183 <li role="presentation" class="active">
184 <a title="Search main heading ($a only)" href="#mainmain_heading" aria-controls="mainmain_heading" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-main-heading-a" aria-hidden="true"></i> <span class="tab-title">Main heading ($a only)</span></a>
186 <li role="presentation">
187 <a title="Search main heading" href="#main_heading" aria-controls="main_heading" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-header" aria-hidden="true"></i> <span class="tab-title">Main heading</span></a>
189 <li role="presentation">
190 <a title="Search all headings" href="#matchheading_search" aria-controls="matchheading_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-align-center" aria-hidden="true"></i> <span class="tab-title">All headings</span></a>
192 <li role="presentation">
193 <a title="Search entire record" href="#entire_record" aria-controls="entire_record" role="tab" data-toggle="tab" class="keep_text"><i class="fa-solid fa-fw fa-folder-open" aria-hidden="true"></i> <span class="tab-title">Entire record</span></a>
195 <li role="presentation">
197 </div><!-- /#header_search -->
198 <!-- /authorities-search.inc -->