View | Details | Raw Unified | Return to bug 20927
Collapse All | Expand All

(-)a/catalogue/moredetail.pl (+8 lines)
Lines 99-104 for my $itm (@all_items) { Link Here
99
99
100
my $record=GetMarcBiblio({ biblionumber => $biblionumber });
100
my $record=GetMarcBiblio({ biblionumber => $biblionumber });
101
101
102
if ( not defined $record ) {
103
    # biblionumber invalid -> report and exit
104
    $template->param( unknownbiblionumber => 1,
105
                      biblionumber => $biblionumber );
106
    output_html_with_http_headers $query, $cookie, $template->output;
107
    exit;
108
}
109
102
my $hostrecords;
110
my $hostrecords;
103
# adding items linked via host biblios
111
# adding items linked via host biblios
104
my @hostitems = GetHostItemsInfo($record);
112
my @hostitems = GetHostItemsInfo($record);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-3 / +18 lines)
Lines 3-9 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
6
<title>Koha &rsaquo; Catalog &rsaquo;
7
  [% IF ( unknownbiblionumber ) %]
8
    Unknown record
9
  [% ELSE %]
10
    Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
11
  [% END %]
12
</title>
7
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
8
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
14
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
9
</head>
15
</head>
Lines 12-21 Link Here
12
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'cat-search.inc' %]
19
[% INCLUDE 'cat-search.inc' %]
14
20
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Item details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i></div>
21
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
22
  [% IF ( unknownbiblionumber ) %]
23
    Unknown record
24
  [% ELSE %]
25
    Item details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i>
26
  [% END %]
27
</div>
16
28
17
<div id="doc3" class="yui-t2">
29
<div id="doc3" class="yui-t2">
18
30
31
[% IF ( unknownbiblionumber ) %]
32
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
33
[% ELSE %]
19
   <div id="bd">
34
   <div id="bd">
20
    <div id="yui-main">
35
    <div id="yui-main">
21
    <div class="yui-b">
36
    <div class="yui-b">
Lines 286-289 Link Here
286
        browser.show();
301
        browser.show();
287
    </script>
302
    </script>
288
[% END %]
303
[% END %]
304
[% END %]
289
[% INCLUDE 'intranet-bottom.inc' %]
305
[% INCLUDE 'intranet-bottom.inc' %]
290
- 

Return to bug 20927