Koha/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc
Owen Leonard 90b13b00c3 Bug 8522 - Markup errors cause problems with customized CSS
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>
2012-08-31 18:42:04 +02:00

30 lines
1.3 KiB
HTML

<div class="gradient">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin z3950 Admin Resident Search Box -->
<div id="header_search">
<div id="z3950_search" class="residentsearch">
<p class="tip">Z39.50 server search:</p>
<form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
<input type="text" name="searchfield" 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="#z3950_search">Search Z390.50 servers</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 Members Resident Search Box -->