From rangi@usw-pr-cvs1.sourceforge.net Tue Mar 13 14:02:05 2001 From: Chris Cornack To: koha-devel@lists.koha-community.org Subject: [Koha-devel] CVS: koha catmaintain.pl,1.1.1.1,1.2 Date: Tue, 13 Mar 2001 14:04:06 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5703857541293954581==" --===============5703857541293954581== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Update of /cvsroot/koha/koha In directory usw-pr-cvs1:/tmp/cvs-serv9482 Modified Files: catmaintain.pl=20 Log Message: Got undeleting biblios going (catalogue maintenance should probably be in a=20 password protected super librarian area or the like) Index: catmaintain.pl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/koha/koha/catmaintain.pl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** catmaintain.pl 2000/12/19 23:45:51 1.1.1.1 --- catmaintain.pl 2001/03/13 22:04:04 1.2 *************** *** 44,51 **** --- 44,80 ---- print "

Back to catalogue maintenance
"; print "Close this window= "; + } elsif ($type eq 'undel'){ + my $title=3D$input->param('title'); + my ($count,$results)=3Ddeletedbib($title); + print ""; + print ""; + for (my $i=3D0;$i<$count;$i++){ + print "\n"; + } + print "
TitleAuthorUndelete=
$results->[$i]->{'title'}$results->[$i]->{'auth= or'}[$i]->{'biblionumber'}>Undelete
"; + } elsif ($type eq 'finun'){ + my $bib=3D$input->param('bib'); + undeletebib($bib); + print "Succesfully undeleted"; + print "

Back to Catalogue Mainte= nance"; } else { + print "Subject Maintenance
"; print "

"; print ""; print "Show all subjects beginning with "; + print ""; + print ""; + print "

"; + print "Group Maintenance
"; + print "

"; + print ""; + print "Show all Titles beginning with "; + print ""; + print ""; + print "

"; + print "Undelete Biblio
"; + print "

"; + print ""; + print "Show all Titles beginning with "; print ""; print ""; --===============5703857541293954581==--