diff --git a/acqui.simple/marcimport.pl b/acqui.simple/marcimport.pl index 2fdeda4969..4e760dd7f2 100755 --- a/acqui.simple/marcimport.pl +++ b/acqui.simple/marcimport.pl @@ -101,17 +101,16 @@ print startmenu('acquisitions'); # Process input parameters my $file=$input->param('file'); +my $menu = $input->param('menu'); if ($input->param('z3950queue')) { PostToZ3950Queue($dbh,$input); } - if ($input->param('uploadmarc')) { AcceptMarcUpload($dbh,$input) } - if ($input->param('insertnewrecord')) { # Add biblio item, and set up menu for adding item copies ($biblionumber,$biblioitemnumber)=AcceptBiblioitem($dbh,$input); @@ -122,16 +121,14 @@ if ($input->param('insertnewrecord')) { } -#--------------------------------------- -# Add item copy if ($input->param('newitem')) { + # Add item copy &AcceptItemCopy($dbh,$input); } # if newitem - -my $menu = $input->param('menu'); if ($file) { + # A MARC file has been specified; process it for review form my $sth; print "Main Menu
\n";
print "Results of Z39.50 searches\n"; - print "Refresh\n
\n" . + "
| \n";
- my $sth=$dbh->prepare("select id,name,checked from z3950servers order by rank");
+ print " \n"; + } # if results done + } # while queries + print " | \n";
+ # End of query listing
+
+ #------------------------------
+ # Search input form
+ print "\n";
+
+ my $sth=$dbh->prepare("select id,name,checked
+ from z3950servers
+ order by rank");
$sth->execute;
my $serverlist='';
while (my ($id, $name, $checked) = $sth->fetchrow) {
@@ -814,21 +850,23 @@ print << "EOF";
-
\n"; @@ -891,8 +929,6 @@ sub skip { # | ||||||||||||||||