View | Details | Raw Unified | Return to bug 29066
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-13 / +13 lines)
Lines 163-175 Link Here
163
                                    <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
163
                                    <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
164
                                        <div class="form-row align-items-center">
164
                                        <div class="form-row align-items-center">
165
                                            <div class="col-sm-auto order-1 order-sm-1">
165
                                            <div class="col-sm-auto order-1 order-sm-1">
166
                                                <label for="masthead_search"> Search
166
                                                [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
167
                                                    [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
167
                                                    [% IF ( mylibraryfirst ) %]
168
                                                        [% IF ( mylibraryfirst ) %]
168
                                                        <span title="Search in [% Branches.GetName( mylibraryfirst ) | html %] only">
169
                                                            (in [% Branches.GetName( mylibraryfirst ) | html %] only)
169
                                                            <i class="fa fa-question-circle-o"></i>
170
                                                        [% END %]
170
                                                        </span>
171
                                                    [% END %]
171
                                                    [% END %]
172
                                                </label>
172
                                                [% END %]
173
                                            </div>
173
                                            </div>
174
                                            <div class="col-sm-auto order-2 order-sm-2">
174
                                            <div class="col-sm-auto order-2 order-sm-2">
175
                                                <select name="idx" id="masthead_search" class="form-control">
175
                                                <select name="idx" id="masthead_search" class="form-control">
Lines 261-269 Link Here
261
                                                        [% END # / BranchCategoriesLoop %]
261
                                                        [% END # / BranchCategoriesLoop %]
262
                                                    </select> <!-- /#select_library -->
262
                                                    </select> <!-- /#select_library -->
263
                                                </div> <!-- /.col-sm-auto -->
263
                                                </div> <!-- /.col-sm-auto -->
264
                                                <div class="col-sm-auto order-5">
265
                                                    <button type="submit" id="searchsubmit" class="btn btn-primary">Go</button>
266
                                                </div>
267
                                            [% ELSE %]
264
                                            [% ELSE %]
268
                                                [% IF ( opac_limit_override ) %]
265
                                                [% IF ( opac_limit_override ) %]
269
                                                    [% IF ( opac_search_limit ) %]
266
                                                    [% IF ( opac_search_limit ) %]
Lines 278-287 Link Here
278
                                                        <input name="limit" value="branch:[% mylibraryfirst | html %]" type="hidden" />
275
                                                        <input name="limit" value="branch:[% mylibraryfirst | html %]" type="hidden" />
279
                                                    [% END %]
276
                                                    [% END %]
280
                                                [% END # / opac_limit_override %]
277
                                                [% END # / opac_limit_override %]
281
                                                <div class="order-5 col-sm-auto">
282
                                                    <button type="submit" id="searchsubmit" class="btn btn-primary">Go</button>
283
                                                </div>
284
                                            [% END # / OpacAddMastheadLibraryPulldown %]
278
                                            [% END # / OpacAddMastheadLibraryPulldown %]
279
280
                                            <div class="order-5 col-sm-auto">
281
                                                <button type="submit" id="searchsubmit" class="btn btn-primary" title="Search">
282
                                                    <i class="fa fa-search"></i>
283
                                                </button>
284
                                            </div>
285
285
                                        </div> <!-- /.form-row -->
286
                                        </div> <!-- /.form-row -->
286
                                        <input type="hidden" name="weight_search" value="1">
287
                                        <input type="hidden" name="weight_search" value="1">
287
                                    </form>
288
                                    </form>
288
- 

Return to bug 29066