Owen Leonard
90b13b00c3
Some includes and templates contained duplicate "header" ids in the markup. The problem should have come up in routine page validation, but was obvious when custom CSS was applied. To test, load any of the affected pages and validate the generated HTML. There should be no errors about 'ID "header" already defined." Or, add custom CSS to intranetusercss: ...and confirm that only the topmost menu background is affected. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<div class="gradient">
|
|
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
|
<div id="header_search">
|
|
<div id="patron_category_search" class="residentsearch">
|
|
<p class="tip">Search by patron category name:</p>
|
|
<form action="[% script_name %]" method="post">
|
|
<input type="text" name="description" size="40" value="[% searchfield %]" />
|
|
<input type="submit" class="submit" name="search" value="Search" />
|
|
</form>
|
|
</div>
|
|
[% INCLUDE 'patron-search-box.inc' %]
|
|
[% 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">
|
|
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
|
|
<input type="submit" value="Submit" class="submit" />
|
|
</form>
|
|
</div>[% END %]
|
|
<ul>
|
|
<li><a href="#patron_category_search">Search patron categories</a></li>
|
|
[% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %]
|
|
[% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %]
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- End Patrons Admin Resident Search Box -->
|