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

Return to bug 29066