From 4572a52f14245d653d6ef198e08270501470079b Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 1 Aug 2005 13:18:50 +0000 Subject: [PATCH] fix for : http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=996 Can't delete a biblio - javascript error --- detail.pl | 15 +-- .../default/en/catalogue/detail.tmpl | 100 +++++++++++------- 2 files changed, 71 insertions(+), 44 deletions(-) diff --git a/detail.pl b/detail.pl index 20978161e9..62f6511ea4 100755 --- a/detail.pl +++ b/detail.pl @@ -46,17 +46,18 @@ foreach my $itm (@items) { $template->param(norequests => $norequests); - ## get notes and subjects from MARC record -my $marc = C4::Context->preference("marc"); -if ($marc eq "yes") { - my $dbh = C4::Context->dbh; - my $bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber); +## get notes and subjects from MARC record +my $dbh = C4::Context->dbh; +my $bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber); +$template->param(bibid => $bibid); +if (C4::Context->preference("marc") eq "yes") { my $marcflavour = C4::Context->preference("marcflavour"); my $marcnotesarray = &getMARCnotes($dbh,$bibid,$marcflavour); my $marcsubjctsarray = &getMARCsubjects($dbh,$bibid,$marcflavour); - $template->param(MARCNOTES => $marcnotesarray); - $template->param(MARCSUBJCTS => $marcsubjctsarray); + $template->param(MARCNOTES => $marcnotesarray, + MARCSUBJCTS => $marcsubjctsarray, +); } my @results = ($dat,); diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl index 5e0f615ce1..5508124670 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl @@ -53,40 +53,72 @@ - +

; -
+

-
-
-
- - , - ,
-
-
-
- - - ">, -
-
-
-
-
- ">
- +

+

+

+

+ +

+

+

+ + , +

+

+

+

vol.

+ +

+

+ + "> + +
+ +

+ +

+ +

">,

+ + +

+ +

+

+ +

-

+ +

+ +

+ +

+

+

+ +

+ + ">  + +

+ +

-
- -

Total Number of Items:

- +

+ +

Total Number of Items:

+ @@ -126,24 +158,18 @@ - - - - Website - Online - Available - - - &bib=&bi=">http:// - - - -- 2.39.5