|
Lines 68-77
my $popup =
Link Here
|
| 68 |
; # if set to 1, then don't insert links, it's just to show the biblio |
68 |
; # if set to 1, then don't insert links, it's just to show the biblio |
| 69 |
my $subscriptionid = $query->param('subscriptionid'); |
69 |
my $subscriptionid = $query->param('subscriptionid'); |
| 70 |
|
70 |
|
| 71 |
my $tagslib = &GetMarcStructure(1,$frameworkcode); |
|
|
| 72 |
|
| 73 |
my $record = GetMarcBiblio($biblionumber); |
| 74 |
my $biblio = GetBiblioData($biblionumber); |
| 75 |
# open template |
71 |
# open template |
| 76 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
72 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
| 77 |
{ |
73 |
{ |
|
Lines 84-89
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
| 84 |
} |
80 |
} |
| 85 |
); |
81 |
); |
| 86 |
|
82 |
|
|
|
83 |
my $record = GetMarcBiblio($biblionumber); |
| 84 |
|
| 85 |
if ( not defined $record ) { |
| 86 |
# biblionumber invalid -> report and exit |
| 87 |
$template->param( unknownbiblionumber => 1, |
| 88 |
biblionumber => $biblionumber |
| 89 |
); |
| 90 |
output_html_with_http_headers $query, $cookie, $template->output; |
| 91 |
exit; |
| 92 |
} |
| 93 |
|
| 94 |
my $tagslib = &GetMarcStructure(1,$frameworkcode); |
| 95 |
my $biblio = GetBiblioData($biblionumber); |
| 96 |
|
| 87 |
#count of item linked |
97 |
#count of item linked |
| 88 |
my $itemcount = GetItemsCount($biblionumber); |
98 |
my $itemcount = GetItemsCount($biblionumber); |
| 89 |
$template->param( count => $itemcount, |
99 |
$template->param( count => $itemcount, |