Changed overdue.tmpl to use the includes and added a link to it from the reports page

This commit is contained in:
rangi 2003-07-03 22:00:21 +00:00
parent 01ab93f173
commit fe716d2bba
3 changed files with 4 additions and 13 deletions

View File

@ -1,8 +1,4 @@
<HTML>
<!-- startmenu -->
<TMPL_VAR NAME="startmenureport">
<TMPL_INCLUDE NAME="reports-top.inc">
<!-- the site -->
<h1>Items Overdue as of <TMPL_VAR NAME="todaysdate"></h1><br><P>
@ -33,7 +29,4 @@
<!-- endmenu -->
<TMPL_VAR NAME="endmenureport">
</body>
</HTML>
<TMPL_INCLUDE NAME="reports-bottom.inc">

View File

@ -9,7 +9,7 @@
<ul><li><a href=/cgi-bin/koha/stats.pl?time=yesterday>Till Reconciliation:</a> Daily Report (yesterday)
<li><a href=/cgi-bin/koha/stats.pl?time=today>Till Reconciliation:</a> Daily
Report (today)
<li><a href=/cgi-bin/koha/overdue.pl>Overdue items</a>
</ul>

View File

@ -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;