X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=groups.pl;h=be38e4148aec65512881ed7fc13e8612e43af9ed;hb=92821ae783a115d1dcff9997dfdc929518a7e4fb;hp=5e0f368529c44409821ca132ffcc66958cdaaf23;hpb=91ac7223f6a82e2b4db512b52bd4f82fa8890aae;p=koha.git diff --git a/groups.pl b/groups.pl index 5e0f368529..be38e4148a 100755 --- a/groups.pl +++ b/groups.pl @@ -1,14 +1,39 @@ #!/usr/bin/perl +# $Id$ + #written 14/1/2000 #script to display reports + +# Copyright 2000-2002 Katipo Communications +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# Koha is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA + use CGI qw/:standard/; use C4::Output; use C4::Groups; use C4::Circulation::Circ2; use C4::Print; use DBI; +use C4::Database; + +my $configfile=configfile(); +my $intranetdir=$configfile->{'intranetdir'}; + my $input=new CGI; my $time=$input->param('time'); @@ -114,7 +139,7 @@ EOF

-Printer: +Printer: @@ -213,7 +238,7 @@ sub printgroup { my $type=shift; $output= "Overdue list for $groups->{$group}

\n"; my $members=groupmembers($env, $group); - ($type eq 'overdues') && ($output.="
\n"); + ($type eq 'overdues') && ($output.="
\n"); $output.= "\n"; my $typetext=''; ($type eq 'overdues') ? ($typetext="Overdues") : ($typetext="Issues");