use C4::Output;
use C4::Log;
+use vars qw($debug);
+
+BEGIN {
+ $debug = $ENV{DEBUG} || 0;
+}
+
=head1 viewlog.pl
plugin that shows a stats on borrowers
=cut
my $input = new CGI;
+$debug or $debug = $input->param('debug') || 0;
my $do_it = $input->param('do_it');
my $module = $input->param("module");
my $user = $input->param("user");
}
);
+$template->param(
+ DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
+ dateformat => C4::Dates->new()->format(),
+ debug => $debug,
+);
+
if ($do_it) {
my $results = GetLogs($datefrom,$dateto,$user,$module,$action,$object,$info);
total => 0,
CGIextChoice => $CGIextChoice,
CGIsepChoice => $CGIsepChoice,
- DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
);
output_html_with_http_headers $input, $cookie, $template->output;
}