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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-1 / +3 lines)
Lines 191-196 Link Here
191
                                    <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
191
                                    <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
192
                                        <div class="row gx-2">
192
                                        <div class="row gx-2">
193
                                            <div class="col-sm-auto order-2 order-sm-2">
193
                                            <div class="col-sm-auto order-2 order-sm-2">
194
                                            <label for="masthead_search" class="visually-hidden">Search the catalog by:</label>
194
                                                <select name="idx" id="masthead_search" class="form-select">
195
                                                <select name="idx" id="masthead_search" class="form-select">
195
                                                    [% IF ( ms_kw ) %]
196
                                                    [% IF ( ms_kw ) %]
196
                                                        <option selected="selected" value="" data-placeholder="[% t("Search the catalog by keyword") | html %]">Library catalog</option>
197
                                                        <option selected="selected" value="" data-placeholder="[% t("Search the catalog by keyword") | html %]">Library catalog</option>
Lines 245-252 Link Here
245
246
246
                                            <div class="col order-4 order-sm-3">
247
                                            <div class="col order-4 order-sm-3">
247
                                                [% IF ( !Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 && mylibraryfirst ) %]
248
                                                [% IF ( !Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 && mylibraryfirst ) %]
249
                                                <label for="translControl1" class="visually-hidden">Search the catalog by keyword in [% Branches.GetName( mylibraryfirst ) | html %]</label>
248
                                                    <input type="text" class="transl1 form-control form-control-filtered" id="translControl1" name="q" value="[% ms_value | html %]" data-bs-toggle="tooltip" data-bs-placement="top" title="Searching in [% Branches.GetName( mylibraryfirst ) | html %] only" placeholder="Search the catalog by keyword" /><span id="translControl"></span>
250
                                                    <input type="text" class="transl1 form-control form-control-filtered" id="translControl1" name="q" value="[% ms_value | html %]" data-bs-toggle="tooltip" data-bs-placement="top" title="Searching in [% Branches.GetName( mylibraryfirst ) | html %] only" placeholder="Search the catalog by keyword" /><span id="translControl"></span>
249
                                                [% ELSE %]
251
                                                [% ELSE %]
252
                                                <label for="translControl1" class="visually-hidden">Search the catalog by keyword</label>
250
                                                    <input type="text" class="transl1 form-control" id="translControl1" name="q" value="[% ms_value | html %]" placeholder="Search the catalog by keyword" /><span id="translControl"></span>
253
                                                    <input type="text" class="transl1 form-control" id="translControl1" name="q" value="[% ms_value | html %]" placeholder="Search the catalog by keyword" /><span id="translControl"></span>
251
                                                [% END # /ms_value %]
254
                                                [% END # /ms_value %]
252
                                            </div> <!-- /.col -->
255
                                            </div> <!-- /.col -->
253
- 

Return to bug 37758