12 #print $input->header;
16 $flagsrequired->{editcatalogue
}=1;
17 my ($loggedinuser, $cookie, $sessionID) = checkauth
($input, 0, $flagsrequired);
20 my $title=checkinp
($input->param('Title'));
21 my $author=checkinp
($input->param('Author'));
22 my $bibnum=checkinp
($input->param('bibnum'));
23 my $copyright=checkinp
($input->param('Copyright'));
24 my $seriestitle=checkinp
($input->param('Series'));
25 my $serial=checkinp
($input->param('Serial'));
26 my $unititle=checkinp
($input->param('Unititle'));
27 my $notes=checkinp
($input->param('Notes'));
29 modbiblio
($bibnum,$title,$author,$copyright,$seriestitle,$serial,$unititle,$notes);
31 my $subtitle=checkinp
($input->param('Subtitle'));
32 modsubtitle
($bibnum,$subtitle);
34 my $subject=checkinp
($input->param('Subject'));
36 my @sub=split(/\|/,$subject);
40 my $addauthor=checkinp
($input->param('Additional'));
41 modaddauthor
($bibnum,$addauthor);
44 for (my $i=0; $i<$count1; $i++){
48 #print $input->header;
49 my $force=$input->param('Force');
50 my $error=modsubject
($bibnum,$force,@sub);
55 print startmenu
('catalogue');
57 my @subs=split('\n',$error);
58 print "<p> Click submit to force the subject";
59 my @names=$input->param;
62 for (my $i=0;$i<$count;$i++) {
63 if ($names[$i] ne 'Force') {
64 my $value=$input->param("$names[$i]");
65 $data{$names[$i]}="hidden\t$value\t$i";
68 $data{"Force"}="hidden\t$subs[0]\t$count";
69 print mkform3
('updatebiblio.pl',%data);
73 print $input->redirect("detail.pl?type=intra&bib=$bibnum");