3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Cataloging › Call number browser</title>
5 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="cat_cn_browser" class="cat">
9 <div class="main container-fluid">
10 [% UNLESS ( popup ) %]
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'cat-search.inc' %]
15 <h1>Call number browser</h1>
18 <form method="get" action="cn_browser.pl">
19 <label for="searchcn">Search call number:</label>
20 <input type="text" id="cn_browser_input" name="q" value="[% q | html %]" />
21 <input id="cn_browser_submit" type="submit" value="Search" />
26 <table id="cn_browser_table">
33 [% FOREACH cn_loo IN cn_loop %]
35 <td style="background:[% cn_loo.background | html %];">[% cn_loo.itemcallnumber | html %]</td>
36 <td style="background:[% cn_loo.background | html %];">
37 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cn_loo.biblionumber | html %]">
38 [% cn_loo.title | html %] [% cn_loo.subtitle | html %] [% cn_loo.subtitle2 | html %]
39 [% IF ( cn_loo.author ) %]
40 <span>by</span> [% cn_loo.author | html %]
44 <td style="background:[% cn_loo.background | html %];">[% cn_loo.branchname | html %]</td>
50 [% MACRO jsinclude BLOCK %]
52 $(document).ready(function(){
53 $("#cn_browser_submit").click(function(){
54 window.location.href='/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q='+$("#cn_browser_input").val();
61 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]