Owen Leonard
68b30468c3
Current jQuery-driven tabs are done using a very old version of the tabs plugin. This patch upgrades jQueryUI to the latest version and adds the tabs widget dependency to the jqueryui js file and updates the syntax for existing tabs: - $("#foo > ul").tabs(); changes to $("#foo").tabs(); - Remove full URL from tab links (use #anchor only). Pages with "static" tabs (tabs which are built in the markup rather than generated by the plugin) have been modified to use their own style. Examples: pay.tt in the staff client and opac-readingrecord.tt in the OPAC. Edit: Minor revision to some uncorrected markup Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
40 lines
1.8 KiB
HTML
40 lines
1.8 KiB
HTML
<div class="gradient">
|
|
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box -->
|
|
|
|
<div id="header_search">
|
|
[% INCLUDE 'patron-search-box.inc' %]
|
|
[% IF ( CAN_user_circulate ) %]
|
|
<div id="checkin_search" class="residentsearch">
|
|
<p class="tip">Scan a barcode to check in:</p>
|
|
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
|
|
<input name="barcode" id="ret_barcode" size="40" accesskey="r" />
|
|
<input value="Submit" class="submit" type="submit" />
|
|
</form>
|
|
</div>[% END %]
|
|
[% IF ( CAN_user_borrowers ) %]
|
|
<div id="patron_search" class="residentsearch">
|
|
<p class="tip">Enter patron card number or partial name:</p>
|
|
<form action="/cgi-bin/koha/members/member.pl" method="post">
|
|
<input name="member" id="searchmember" size="40" type="text"/>
|
|
<input value="Submit" class="submit" type="submit" />
|
|
</form>
|
|
</div>[% END %]
|
|
[% 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" accesskey="q" />
|
|
<input type="submit" class="submit" value="Submit"/>
|
|
</form>
|
|
</div>[% END %]
|
|
|
|
<ul>
|
|
[% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %]
|
|
[% IF ( CAN_user_circulate ) %]<li><a href="#checkin_search">Check in</a></li>[% END %]
|
|
[% IF ( CAN_user_borrowers ) %]<li><a href="#patron_search">Search patrons</a></li>[% END %]
|
|
[% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %]
|
|
</ul>
|
|
|
|
</div><!-- /header_search -->
|
|
</div><!-- /gradient -->
|
|
<!-- End Main page Resident Search Box -->
|