From fe716d2bba8ca6c170932ed5c5cfbd4bbdd7c695 Mon Sep 17 00:00:00 2001 From: rangi Date: Thu, 3 Jul 2003 22:00:21 +0000 Subject: [PATCH] Changed overdue.tmpl to use the includes and added a link to it from the reports page --- koha-tmpl/intranet-tmpl/default/en/overdue.tmpl | 11 ++--------- .../default/en/reports/reports-home.tmpl | 2 +- overdue.pl | 4 +--- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/overdue.tmpl b/koha-tmpl/intranet-tmpl/default/en/overdue.tmpl index 2f8e60ff81..a37bf27380 100644 --- a/koha-tmpl/intranet-tmpl/default/en/overdue.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/overdue.tmpl @@ -1,8 +1,4 @@ - - - - - +

Items Overdue as of


@@ -33,7 +29,4 @@ - - - - + diff --git a/koha-tmpl/intranet-tmpl/default/en/reports/reports-home.tmpl b/koha-tmpl/intranet-tmpl/default/en/reports/reports-home.tmpl index ec21a4c951..4a50cd5e75 100644 --- a/koha-tmpl/intranet-tmpl/default/en/reports/reports-home.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/reports/reports-home.tmpl @@ -9,7 +9,7 @@

diff --git a/overdue.pl b/overdue.pl index 57e84cef71..4a08882a21 100755 --- a/overdue.pl +++ b/overdue.pl @@ -105,9 +105,7 @@ while (my $data=$sth->fetchrow_hashref) { $sth->finish; -$template->param( startmenureport => join ('', startmenu('report')), - endmenureport => join ('', endmenu('report')), - todaysdate => $todaysdate, +$template->param( todaysdate => $todaysdate, overdueloop => \@overduedata ); print "Content-Type: text/html\n\n", $template->output; -- 2.39.2