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

(-)a/C4/Biblio.pm (+1 lines)
Lines 761-766 Return the ISBD view which can be included in opac and intranet Link Here
761
sub GetISBDView {
761
sub GetISBDView {
762
    my ( $biblionumber, $template ) = @_;
762
    my ( $biblionumber, $template ) = @_;
763
    my $record   = GetMarcBiblio($biblionumber);
763
    my $record   = GetMarcBiblio($biblionumber);
764
    return undef unless defined $record;
764
    my $itemtype = &GetFrameworkCode($biblionumber);
765
    my $itemtype = &GetFrameworkCode($biblionumber);
765
    my ( $holdingbrtagf, $holdingbrtagsubf ) = &GetMarcFromKohaField( "items.holdingbranch", $itemtype );
766
    my ( $holdingbrtagf, $holdingbrtagsubf ) = &GetMarcFromKohaField( "items.holdingbranch", $itemtype );
766
    my $tagslib = &GetMarcStructure( 1, $itemtype );
767
    my $tagslib = &GetMarcStructure( 1, $itemtype );
(-)a/authorities/detail.pl (-23 / +25 lines)
Lines 172-184 my ($template, $loggedinuser, $cookie) Link Here
172
172
173
my $authid = $query->param('authid');
173
my $authid = $query->param('authid');
174
174
175
176
177
# Using default authtypecode, so all fields are seen
175
# Using default authtypecode, so all fields are seen
178
my $authtypecode = '';
176
my $authtypecode = '';
179
$tagslib = &GetTagsLabels(1,$authtypecode);
177
$tagslib = &GetTagsLabels(1,$authtypecode);
180
178
181
my $record;
179
# Build list of authtypes for showing them
180
my $authtypes = getauthtypes;
181
my @authtypesloop;
182
183
foreach my $thisauthtype (sort { $authtypes->{$b} cmp $authtypes->{$a} } keys %$authtypes) {
184
    my %row =(value => $thisauthtype,
185
                selected => $thisauthtype eq $authtypecode,
186
                authtypetext => $authtypes->{$thisauthtype}{'authtypetext'},
187
            );
188
    push @authtypesloop, \%row;
189
}
190
191
my $record=GetAuthority($authid);
192
193
if (not defined $record) {
194
    # authid invalid
195
    $template->param ( errauthid => $authid,
196
                       unknownauthid => 1,
197
                       authtypesloop => \@authtypesloop );
198
    output_html_with_http_headers $query, $cookie, $template->output;
199
    exit;
200
}
201
182
if (C4::Context->preference("AuthDisplayHierarchy")){
202
if (C4::Context->preference("AuthDisplayHierarchy")){
183
  my $trees=BuildUnimarcHierarchies($authid);
203
  my $trees=BuildUnimarcHierarchies($authid);
184
  my @trees = split /;/,$trees ;
204
  my @trees = split /;/,$trees ;
Lines 201-209 if (C4::Context->preference("AuthDisplayHierarchy")){ Link Here
201
    'displayhierarchy' =>C4::Context->preference("AuthDisplayHierarchy"),
221
    'displayhierarchy' =>C4::Context->preference("AuthDisplayHierarchy"),
202
    'loophierarchies' =>\@loophierarchies,
222
    'loophierarchies' =>\@loophierarchies,
203
  );
223
  );
204
} else {
205
  $record=GetAuthority($authid);
206
}
224
}
225
207
my $count = CountUsage($authid);
226
my $count = CountUsage($authid);
208
227
209
# find the marc field/subfield used in biblio by this authority
228
# find the marc field/subfield used in biblio by this authority
Lines 215-238 while (my ($tagfield) = $sth->fetchrow) { Link Here
215
}
234
}
216
chop $biblio_fields;
235
chop $biblio_fields;
217
236
218
237
build_tabs ($template, $record, $dbh,"",$query);
219
# fill arrays
220
my @loop_data =();
221
my $tag;
222
# loop through each tab 0 through 9
223
# for (my $tabloop = 0; $tabloop<=10;$tabloop++) {
224
# loop through each tag
225
  build_tabs ($template, $record, $dbh,"",$query);
226
227
my $authtypes = getauthtypes;
228
my @authtypesloop;
229
foreach my $thisauthtype (sort { $authtypes->{$b} cmp $authtypes->{$a} } keys %$authtypes) {
230
	my %row =(value => $thisauthtype,
231
				selected => $thisauthtype eq $authtypecode,
232
				authtypetext => $authtypes->{$thisauthtype}{'authtypetext'},
233
			);
234
	push @authtypesloop, \%row;
235
}
236
238
237
$template->param(authid => $authid,
239
$template->param(authid => $authid,
238
		count => $count,
240
		count => $count,
(-)a/catalogue/ISBDdetail.pl (-7 / +13 lines)
Lines 67-72 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
67
    }
67
    }
68
);
68
);
69
69
70
my $res = GetISBDView($biblionumber, "intranet");
71
if ( not defined $res ) {
72
       # biblionumber invalid -> report and exit
73
       $template->param( unknownbiblionumber => 1,
74
                               biblionumber => $biblionumber
75
       );
76
       output_html_with_http_headers $query, $cookie, $template->output;
77
       exit;
78
}
79
70
if($query->cookie("holdfor")){ 
80
if($query->cookie("holdfor")){ 
71
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
81
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
72
    $template->param(
82
    $template->param(
Lines 77-86 if($query->cookie("holdfor")){ Link Here
77
    );
87
    );
78
}
88
}
79
89
80
# my @blocs = split /\@/,$ISBD;
81
# my @fields = $record->fields();
82
my $res = GetISBDView($biblionumber, "intranet");
83
84
# count of item linked with biblio
90
# count of item linked with biblio
85
my $itemcount = GetItemsCount($biblionumber);
91
my $itemcount = GetItemsCount($biblionumber);
86
$template->param( count => $itemcount);
92
$template->param( count => $itemcount);
Lines 98-106 if ($subscriptionsnumber) { Link Here
98
$template->param (
104
$template->param (
99
    ISBD                => $res,
105
    ISBD                => $res,
100
    biblionumber        => $biblionumber,
106
    biblionumber        => $biblionumber,
101
	isbdview => 1,
107
    isbdview            => 1,
102
	z3950_search_params	=> C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
108
    z3950_search_params => C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
103
	C4::Search::enabled_staff_search_views,
109
    C4::Search::enabled_staff_search_views
104
);
110
);
105
111
106
output_html_with_http_headers $query, $cookie, $template->output;
112
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/catalogue/MARCdetail.pl (-4 / +14 lines)
Lines 70-79 my $popup = Link Here
70
  ;    # if set to 1, then don't insert links, it's just to show the biblio
70
  ;    # if set to 1, then don't insert links, it's just to show the biblio
71
my $subscriptionid = $query->param('subscriptionid');
71
my $subscriptionid = $query->param('subscriptionid');
72
72
73
my $tagslib = &GetMarcStructure(1,$frameworkcode);
74
75
my $record = GetMarcBiblio($biblionumber);
76
my $biblio = GetBiblioData($biblionumber);
77
# open template
73
# open template
78
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
74
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
79
    {
75
    {
Lines 86-91 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
86
    }
82
    }
87
);
83
);
88
84
85
my $record = GetMarcBiblio($biblionumber);
86
87
if ( not defined $record ) {
88
    # biblionumber invalid -> report and exit
89
    $template->param( unknownbiblionumber => 1,
90
                biblionumber => $biblionumber
91
    );
92
    output_html_with_http_headers $query, $cookie, $template->output;
93
    exit;
94
}
95
96
my $tagslib = &GetMarcStructure(1,$frameworkcode);
97
my $biblio = GetBiblioData($biblionumber);
98
89
if($query->cookie("holdfor")){ 
99
if($query->cookie("holdfor")){ 
90
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
100
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
91
    $template->param(
101
    $template->param(
(-)a/catalogue/detail.pl (-12 / +13 lines)
Lines 51-56 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
51
    }
51
    }
52
);
52
);
53
53
54
my $biblionumber = $query->param('biblionumber');
55
my $record       = GetMarcBiblio($biblionumber);
56
57
if ( not defined $record ) {
58
    # biblionumber invalid -> report and exit
59
    $template->param( unknownbiblionumber => 1,
60
                      biblionumber => $biblionumber );
61
    output_html_with_http_headers $query, $cookie, $template->output;
62
    exit;
63
}
64
54
if($query->cookie("holdfor")){ 
65
if($query->cookie("holdfor")){ 
55
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
66
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
56
    $template->param(
67
    $template->param(
Lines 61-74 if($query->cookie("holdfor")){ Link Here
61
    );
72
    );
62
}
73
}
63
74
64
my $biblionumber = $query->param('biblionumber');
75
my $fw           = GetFrameworkCode($biblionumber);
65
my $fw = GetFrameworkCode($biblionumber);
66
67
my $showallitems = $query->param('showallitems');
76
my $showallitems = $query->param('showallitems');
68
77
my $marcflavour  = C4::Context->preference("marcflavour");
69
## get notes and subjects from MARC record
70
my $marcflavour      = C4::Context->preference("marcflavour");
71
my $record           = GetMarcBiblio($biblionumber);
72
78
73
# XSLT processing of some stuff
79
# XSLT processing of some stuff
74
if (C4::Context->preference("XSLTDetailsDisplay") ) {
80
if (C4::Context->preference("XSLTDetailsDisplay") ) {
Lines 93-103 $template->param( Link Here
93
    normalized_isbn => $isbn,
99
    normalized_isbn => $isbn,
94
);
100
);
95
101
96
unless (defined($record)) {
97
    print $query->redirect("/cgi-bin/koha/errors/404.pl");
98
	exit;
99
}
100
101
my $marcnotesarray   = GetMarcNotes( $record, $marcflavour );
102
my $marcnotesarray   = GetMarcNotes( $record, $marcflavour );
102
my $marcisbnsarray   = GetMarcISBN( $record, $marcflavour );
103
my $marcisbnsarray   = GetMarcISBN( $record, $marcflavour );
103
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
104
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
(-)a/catalogue/labeledMARCdetail.pl (-3 / +13 lines)
Lines 38-46 my $popup = Link Here
38
  $query->param('popup')
38
  $query->param('popup')
39
  ;    # if set to 1, then don't insert links, it's just to show the biblio
39
  ;    # if set to 1, then don't insert links, it's just to show the biblio
40
40
41
my $tagslib = GetMarcStructure(1,$frameworkcode);
42
my $record = GetMarcBiblio($biblionumber);
43
my $biblio = GetBiblioData($biblionumber);
44
# open template
41
# open template
45
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
42
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
46
    {
43
    {
Lines 53-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
53
    }
50
    }
54
);
51
);
55
52
53
my $record = GetMarcBiblio($biblionumber);
54
if ( not defined $record ) {
55
    # biblionumber invalid -> report and exit
56
    $template->param( unknownbiblionumber => 1,
57
                biblionumber => $biblionumber
58
    );
59
    output_html_with_http_headers $query, $cookie, $template->output;
60
    exit;
61
}
62
63
my $tagslib = GetMarcStructure(1,$frameworkcode);
64
my $biblio = GetBiblioData($biblionumber);
65
56
if($query->cookie("holdfor")){ 
66
if($query->cookie("holdfor")){ 
57
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
67
    my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
58
    $template->param(
68
    $template->param(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-2 / +19 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Authorities &rsaquo; Details for Authority #[% authid %] ([% authtypetext %])</title>
2
<title>Koha &rsaquo; Authorities &rsaquo;
3
    [% IF ( unknownauthid ) %]
4
      Unknown authority record
5
    [% ELSE %]
6
      Details for Authority #[% authid %] ([% authtypetext %])
7
    [% END %]
8
</title>
3
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript">
10
<script type="text/javascript">
5
11
Lines 62-68 function searchauthority() { Link Here
62
<body>
68
<body>
63
[% INCLUDE 'header.inc' %]
69
[% INCLUDE 'header.inc' %]
64
[% INCLUDE 'authorities-search.inc' %]
70
[% INCLUDE 'authorities-search.inc' %]
65
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> &rsaquo; Details for Authority #[% authid %] ([% authtypetext %]) </div>
71
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> &rsaquo;
72
    [% IF ( unknownauthid ) %]
73
      Unknown authority record
74
    [% ELSE %]
75
      Details for Authority #[% authid %] ([% authtypetext %])
76
    [% END %]
77
</div>
66
78
67
<div id="doc" class="yui-t7">
79
<div id="doc" class="yui-t7">
68
80
Lines 103-108 function searchauthority() { Link Here
103
</div>
115
</div>
104
[% END %]
116
[% END %]
105
117
118
119
[% IF ( unknownauthid ) %]
120
    <div class="dialog message">The authority record you requested does not exist ([% errauthid %]).</div>
121
[% ELSE %]
106
<h1>Authority #[% authid %] ([% authtypetext %])</h1>
122
<h1>Authority #[% authid %] ([% authtypetext %])</h1>
107
123
108
<div id="action">
124
<div id="action">
Lines 154-159 function searchauthority() { Link Here
154
</div>
170
</div>
155
</div>
171
</div>
156
</div>
172
</div>
173
[% END %]
157
</div>
174
</div>
158
175
159
[% INCLUDE 'intranet-bottom.inc' %]
176
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-14 / +29 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Catalog &rsaquo; ISBD Details for [% title %]</title>
2
<title>Koha &rsaquo; Catalog &rsaquo;
3
  [% IF ( unknownbiblionumber ) %]
4
    Unknown record
5
  [% ELSE %]
6
    ISBD Details for [% title %]
7
  [% END %]
8
</title>
3
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
10
</head>
5
<body>
11
<body>
Lines 7-30 Link Here
7
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' %]
8
[% INCLUDE 'cat-search.inc' %]
14
[% INCLUDE 'cat-search.inc' %]
9
15
10
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; ISBD Details for <i>[% biblionumber %]</i></div>
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
17
  [% IF ( unknownbiblionumber ) %]
18
    Unknown record
19
  [% ELSE %]
20
    ISBD Details for <i>[% biblionumber %]</i>
21
  [% END %]
22
</div>
11
23
12
<div id="doc3" class="yui-t2">
24
<div id="doc3" class="yui-t2">
13
   
25
26
[% IF ( unknownbiblionumber ) %]
27
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
28
[% ELSE %]
14
   <div id="bd">
29
   <div id="bd">
15
	<div id="yui-main">
30
      <div id="yui-main">
16
	<div class="yui-b">
31
	<div class="yui-b">
17
[% INCLUDE 'cat-toolbar.inc' %]
32
	[% INCLUDE 'cat-toolbar.inc' %]
18
33
19
	<div id="catalogue_ISBDdetail">
34
	  <div id="catalogue_ISBDdetail">
20
		[% ISBD %]
35
		  [% ISBD %]
36
	  </div>
21
	</div>
37
	</div>
22
38
      </div>
23
39
      <div class="yui-b">
24
</div>
40
      [% INCLUDE 'biblio-view-menu.inc' %]
25
</div>
41
      </div>
26
<div class="yui-b">
42
    </div>
27
[% INCLUDE 'biblio-view-menu.inc' %]
43
[% END %]
28
</div>
29
</div>
44
</div>
30
[% INCLUDE 'intranet-bottom.inc' %]
45
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-2 / +18 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Catalog &rsaquo; MARC Details for [% bibliotitle %]</title>
2
<title>Koha &rsaquo; Catalog &rsaquo;
3
  [% IF ( unknownbiblionumber ) %]
4
    Unknown record
5
  [% ELSE %]
6
    MARC Details for [% bibliotitle %]
7
  [% END %]
8
</title>
3
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript">
10
<script type="text/javascript">
5
//<![CDATA[
11
//<![CDATA[
Lines 21-30 function Changefwk(FwkList) { Link Here
21
[% INCLUDE 'header.inc' %]
27
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'cat-search.inc' %]
28
[% INCLUDE 'cat-search.inc' %]
23
29
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; MARC Details for <i>[% bibliotitle |html %]</i></div>
30
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
31
  [% IF ( unknownbiblionumber ) %]
32
    Unknown record
33
  [% ELSE %]
34
    MARC Details for <i>[% bibliotitle |html %]</i>
35
  [% END %]
36
</div>
25
37
26
<div id="doc3" class="yui-t2">
38
<div id="doc3" class="yui-t2">
27
39
40
[% IF ( unknownbiblionumber ) %]
41
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
42
[% ELSE %]
28
   <div id="bd">
43
   <div id="bd">
29
	<div id="yui-main">
44
	<div id="yui-main">
30
	<div class="yui-b">
45
	<div class="yui-b">
Lines 404-408 function Changefwk(FwkList) { Link Here
404
<div class="yui-b">
419
<div class="yui-b">
405
[% INCLUDE 'biblio-view-menu.inc' %]
420
[% INCLUDE 'biblio-view-menu.inc' %]
406
</div>
421
</div>
422
[% END %]
407
</div>
423
</div>
408
[% INCLUDE 'intranet-bottom.inc' %]
424
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +19 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
2
<title>Koha &rsaquo; Catalog &rsaquo;
3
  [% IF ( unknownbiblionumber ) %]
4
    Unknown record
5
  [% ELSE %]
6
    Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]
7
  [% END %]
8
</title>
3
[% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript" language="JavaScript">
9
[% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript" language="JavaScript">
4
//<![CDATA[
10
//<![CDATA[
5
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
11
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
Lines 44-53 function verify_images() { Link Here
44
[% INCLUDE 'header.inc' %]
50
[% INCLUDE 'header.inc' %]
45
[% INCLUDE 'cat-search.inc' %]
51
[% INCLUDE 'cat-search.inc' %]
46
52
47
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Details for <i>[% title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
53
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
54
  [% IF ( unknownbiblionumber ) %]
55
    Unknown record
56
  [% ELSE %]
57
    Details for <i>[% title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
58
  [% END %]
59
</div>
48
60
49
<div id="doc3" class="yui-t2">
61
<div id="doc3" class="yui-t2">
50
   
62
63
[% IF ( unknownbiblionumber ) %]
64
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
65
[% ELSE %]
51
   <div id="bd">
66
   <div id="bd">
52
    <div id="yui-main">
67
    <div id="yui-main">
53
    <div class="yui-b">
68
    <div class="yui-b">
Lines 518-522 function verify_images() { Link Here
518
<div class="yui-b">
533
<div class="yui-b">
519
[% INCLUDE 'biblio-view-menu.inc' %]
534
[% INCLUDE 'biblio-view-menu.inc' %]
520
</div>
535
</div>
536
[% END %]
521
</div>
537
</div>
522
[% INCLUDE 'intranet-bottom.inc' %]
538
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-4 / +19 lines)
Lines 1-6 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
2
3
	<title>Koha &rsaquo; Catalog &rsaquo; Labeled MARC Details for [% bibliotitle %]</title>
3
<title>Koha &rsaquo; Catalog &rsaquo;
4
  [% IF ( unknownbiblionumber ) %]
5
    Unknown record
6
  [% ELSE %]
7
    Labeled MARC Details for [% bibliotitle %]
8
  [% END %]
9
</title>
4
10
5
	[% INCLUDE 'doc-head-close.inc' %]
11
	[% INCLUDE 'doc-head-close.inc' %]
6
12
Lines 21-31 Link Here
21
27
22
	<div id="breadcrumbs">
28
	<div id="breadcrumbs">
23
		<a href="/cgi-bin/koha/mainpage.pl">Home</a>
29
		<a href="/cgi-bin/koha/mainpage.pl">Home</a>
24
		&rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
30
		&rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
25
		&rsaquo; MARC Details for <i>[% bibliotitle %]</i>
31
		[% IF ( unknownbiblionumber ) %]
32
		  Unknown record
33
		[% ELSE %]
34
		  MARC Details for <i>[% bibliotitle %]</i>
35
		[% END %]
26
	</div>
36
	</div>
27
37
28
	<div id="doc3" class="yui-t2">
38
	<div id="doc3" class="yui-t2">
39
40
	[% IF ( unknownbiblionumber ) %]
41
	  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
42
	[% ELSE %]
43
29
		<div id="bd">
44
		<div id="bd">
30
			<div id="yui-main">
45
			<div id="yui-main">
31
				<div class="yui-b">
46
				<div class="yui-b">
Lines 54-58 Link Here
54
				[% INCLUDE 'biblio-view-menu.inc' %]
69
				[% INCLUDE 'biblio-view-menu.inc' %]
55
70
56
		</div>
71
		</div>
72
	[% END %]
57
	</div>
73
	</div>
58
	[% INCLUDE 'intranet-bottom.inc' %]
74
	[% INCLUDE 'intranet-bottom.inc' %]
59
- 

Return to bug 5791