From d2a97203af2962cfb1f2fd33187f143ef44821a9 Mon Sep 17 00:00:00 2001 From: tipaul Date: Tue, 2 Nov 2004 17:28:05 +0000 Subject: [PATCH] new feature : checking for duplicate biblio. For instance, it's only done on ISBN only. Will be improved soon. When a duplicate is detected, the biblio is not saved, but the user is asked for a confirmations. --- MARCdetail.pl | 3 + .../default/en/catalogue/MARCdetail.tmpl | 77 ++++++++++--------- .../default/en/includes/marc-top.inc | 42 +++++----- 3 files changed, 64 insertions(+), 58 deletions(-) diff --git a/MARCdetail.pl b/MARCdetail.pl index e9974f785d..3dc8f02514 100755 --- a/MARCdetail.pl +++ b/MARCdetail.pl @@ -65,6 +65,8 @@ my $dbh=C4::Context->dbh; my $biblionumber=$query->param('bib'); my $bibid = $query->param('bibid'); +my $popup = $query->param('popup'); # if set to 1, then don't insert links, it's just to show the biblio + $bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber) unless $bibid; $biblionumber = &MARCfind_oldbiblionumber_from_MARCbibid($dbh,$bibid) unless $biblionumber; my $itemtype = &MARCfind_frameworkcode($dbh,$bibid); @@ -185,6 +187,7 @@ $template->param(item_loop => \@item_value_loop, bibid => $bibid, biblionumber => $biblionumber, subscriptionid => $subscriptionid, + popup => $popup, ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl index 64ad25ebee..e946a4ffab 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl @@ -1,43 +1,44 @@ -
-

MARC biblio :

- " class="button catalogue"> - Edit biblio - - " class="button catalogue"> - Edit item - - - - delete - - " class="button catalogue"> - Normal - - " class="button catalogue"> - ISBD - - ')" class="button catalogue"> - Add to shelf - - ')" class="button catalogue"> - Print - - - " class="button catalogue"> - Subscription - - " class="button catalogue" title="Serial issues"> - Issues - - - - - " class="button catalogue">Request - -
- + +
+

MARC biblio :

+ " class="button catalogue"> + Edit biblio + + " class="button catalogue"> + Edit item + + + + delete + + " class="button catalogue"> + Normal + + " class="button catalogue"> + ISBD + + ')" class="button catalogue"> + Add to shelf + + ')" class="button catalogue"> + Print + + + " class="button catalogue"> + Subscription + + " class="button catalogue" title="Serial issues"> + Issues + + + + + " class="button catalogue">Request + +
+
diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc index 935733bb8f..5678e01bac 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc @@ -38,26 +38,28 @@ a.catalogue:hover { - - - + + + + +

Logged in as: [Log Out]

-- 2.39.5