From e2e96e2f6cb7fc5b377596378dc416e083492b59 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Wed, 4 Dec 2002 17:21:04 +0000 Subject: [PATCH] Added a link to delete uploaded marc records. --- acqui.simple/marcimport.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/acqui.simple/marcimport.pl b/acqui.simple/marcimport.pl index 37c0dcd981..f54069cd0f 100755 --- a/acqui.simple/marcimport.pl +++ b/acqui.simple/marcimport.pl @@ -49,6 +49,7 @@ print $input->header(-cookie => $cookie); print startpage(); print startmenu('acquisitions'); + print "

Logged in as: $loggedinuser [Log Out]

\n"; #------------- @@ -686,11 +687,15 @@ sub uploadmarc { requireDBI($dbh,"uploadmarc"); print "Main Menu
\n"; + if (my $deleterecord=$input->param('deleterecord')) { + my $sth=$dbh->prepare("delete from uploadedmarc where id=$deleterecord"); + $sth->execute; + } my $sth=$dbh->prepare("select id,name from uploadedmarc"); $sth->execute; print "

Select a set of MARC records

\n\n"; print "

\n"; @@ -1149,6 +1154,9 @@ sub FormatMarcText { #--------------- # $Log$ +# Revision 1.6.2.36 2002/12/04 17:21:04 tonnesen +# Added a link to delete uploaded marc records. +# # Revision 1.6.2.35 2002/07/11 18:05:29 tonnesen # Committing changes to add authentication and opac templating to rel-1-2 branch #