Bug 25954: Replace paragraph tags with labels in header search forms
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / includes / z3950-admin-search.inc
index 389d3bd..19409f1 100644 (file)
@@ -3,9 +3,9 @@
 <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin z3950 Admin Resident Search Box -->
 <div id="header_search">
     <div id="z3950_search" class="residentsearch">
-    <p class="tip">Z39.50/SRU server search:</p>
        <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
-                <input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield | html %]" />
+        <label class="tip" for="searchfield">Z39.50/SRU server search:</label>
+                <input class="head-searchbox" type="text" name="searchfield" id="searchfield" size="40" value="[% searchfield | html %]" />
                 <input type="submit" class="submit" name="search" value="Search" />
         </form>
        </div>
 
        [% IF ( CAN_user_catalogue ) %]
     <div id="catalog_search" class="residentsearch">
-       <p class="tip">Enter search keywords:</p>
                <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
-            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
+            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
+                <label class="tip" for="idx">Enter search keywords:</label>
+                [% INCLUDE 'search_indexes.inc' %]
+            [% ELSE %]
+                <label class="tip" for="search-form">Enter search keywords:</label>
+            [% END %]
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
                                <input type="submit" value="Submit"  class="submit" />
                </form>