1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Cataloging</title>
3 [% INCLUDE 'greybox.inc' %]
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript">
8 $(document).ready(function() {
9 $("#z3950search").click(function(){
15 /* this function open a popup to search on z3950 server. */
16 function PopupZ3950() {
17 var strQuery = GetZ3950Terms();
19 window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=760,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
22 /* provide Z3950 search points */
23 function GetZ3950Terms(){
24 var strQuery="&frameworkcode=";
25 [% FOREACH z3950_search_param IN z3950_search_params %]
26 strQuery += "&" + "[% z3950_search_param.name %]" + "=" + "[% z3950_search_param.encvalue %]";
33 <body id="cat_addbooks" class="cat">
34 [% INCLUDE 'header.inc' %]
35 [% INCLUDE 'cataloging-search.inc' %]
37 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Cataloging</div>
39 <div id="doc" class="yui-t7">
44 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
45 <div id="toolbar" class="btn-toolbar">
46 <div class="btn-group">
47 <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="icon-plus"></i> New record <span class="caret"></span></button>
48 <ul class="dropdown-menu">
49 <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Default framework</a></li>
50 [% FOREACH frameworkcodeloo IN frameworkcodeloop %]
51 <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% frameworkcodeloo.value %]">[% frameworkcodeloo.frameworktext %]</a></li>
55 <div class="btn-group"><a id="z3950search" class="btn btn-small" href="/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]&frameworkcode=[% FOREACH z3950_search_param IN z3950_search_params %]&[% z3950_search_param.name %]=[% z3950_search_param.encvalue %][% END %]"><i class="icon-search"></i> Z39.50 search</a></div>
59 [% IF ( noitemsfound ) %]
63 <!-- display the search results -->
66 [% total %] result(s) found in catalog,
67 <a href="#searchresult-breeding">[% breeding_count %] result(s) found in reservoir</a>
68 <div class="pages">[% pagination_bar %]</div>
69 <div class="searchresults">
75 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<th> </th>[% ELSE %][% END %]
76 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th> </th>[% END %]
78 [% FOREACH resultsloo IN resultsloop %]
79 [% IF ( loop.even ) %]
80 <tr class="highlight">
86 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% resultsloo.biblionumber %]">[% resultsloo.title |html %]</a>
87 [% FOREACH subtitl IN resultsloo.subtitle %][% subtitl.subfield %][% END %]</p>
88 [% IF ( resultsloo.summary ) %]
89 <p>[% resultsloo.summary %]</p>
92 [% IF ( resultsloo.author ) %]
93 [% resultsloo.author %]
97 [% IF ( resultsloo.isbn ) %] - [% resultsloo.isbn %] [% END %]
98 [% IF ( resultsloo.publicationyear ) %] - [% resultsloo.publicationyear %][% END %]
99 [% IF ( resultsloo.publishercode ) %]- [% resultsloo.publishercode %][% END %]
100 [% IF ( resultsloo.copyrightdate ) %] - [% resultsloo.copyrightdate %][% END %]
101 [% IF ( resultsloo.edition ) %]Edition: [% resultsloo.edition %][% END %]
102 [% IF ( resultsloo.place ) %] ; [% resultsloo.place %][% END %]
103 [% IF ( resultsloo.pages ) %] - [% resultsloo.pages %][% END %]
104 [% IF ( resultsloo.size ) %] ; [% resultsloo.size %][% END %]
105 [% IF ( resultsloo.timestamp ) %] <i>(modified on [% resultsloo.timestamp %])</i>[% END %]
110 [% IF ( resultsloo.available_items_loop ) %]
111 <span class="available">
112 [% FOREACH items_loo IN resultsloo.available_items_loop %]
113 [% items_loo.count %] [% items_loo.branchname %]
115 [% IF ( items_loo.location ) %][% items_loo.location %][% END %]
116 [% IF ( items_loo.itemcallnumber ) %][% items_loo.itemcallnumber %][% END %]
117 [% IF ( items_loo.classification ) %]
118 <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:[% items_loo.classification |url %]">
119 [% items_loo.classification %]
127 <span class="unavailable">
128 [% IF ( resultsloo.onloancount ) %] Checked out ([% resultsloo.onloancount %]),<br /> [% END %]
129 [% IF ( resultsloo.wthdrawncount ) %] Withdrawn ([% resultsloo.wthdrawncount %]),<br /> [% END %]
130 [% IF ( resultsloo.itemlostcount ) %] Lost ([% resultsloo.itemlostcount %])<br />[% END %]
131 [% IF ( resultsloo.orderedcount ) %] On order ([% resultsloo.orderedcount %])[% END %]
134 <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Card</a>
136 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]">Edit biblio</a></td>[% END %]
137 [% IF ( CAN_user_editcatalogue_edit_items ) %]<td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]">Add/Edit items</a></td>[% END %]
144 [% IF ( error ) %]<div class="dialog alert">[% END %]<b>No results found</b>
146 Error: <span class="error">[% error %]</span></div>
152 <div id="searchresult-breeding">
153 <h3>Biblios in reservoir</h3>
154 [% IF ( breeding_loop ) %]
163 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<th> </th>[% END %]
165 [% FOREACH breeding_loo IN breeding_loop %]
166 [% IF ( loop.odd ) %]
169 <tr class="highlight">
171 <td>[% breeding_loo.title |html %]
172 [% breeding_loo.author %]</td>
173 <td>[% breeding_loo.isbn %]</td>
174 <td>[% breeding_loo.copyrightdate %]</td>
175 <td>[% breeding_loo.edition %]</td>
176 <td>[% breeding_loo.file %]</td>
177 <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">Card</a>
179 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td>
180 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]">Add biblio</a>
192 [% INCLUDE 'intranet-bottom.inc' %]