[Koha-cvs] CVS: koha overdue.pl,1.5,1.6

Steve Tonnesen tonnesen at users.sourceforge.net
Wed Jun 11 22:11:47 CEST 2003


Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv24017

Modified Files:
	overdue.pl 
Log Message:
This was the last script using the old "pathtotemplate" subroutine.  Replaced
with get_template_and_user() call.


Index: overdue.pl
===================================================================
RCS file: /cvsroot/koha/koha/overdue.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** overdue.pl	13 Oct 2002 07:34:17 -0000	1.5
--- overdue.pl	11 Jun 2003 20:11:44 -0000	1.6
***************
*** 30,36 ****
  
  my $theme = $input->param('theme'); # only used if allowthemeoverride is set
! my %tmpldata = pathtotemplate ( template => 'overdue.tmpl', theme => $theme);
! my $template = HTML::Template->new( filename => $tmpldata{'path'},
! 				    die_on_bad_params => 0);
  my $duedate;
  my $bornum;
--- 30,41 ----
  
  my $theme = $input->param('theme'); # only used if allowthemeoverride is set
! my ($template, $loggedinuser, $cookie)
! 	= get_template_and_user({template_name => "overdue.tmpl",
! 		     query => $query,
! 		     type => "intranet",
! 		     authnotrequired => 0,
! 		     flagsrequired => {catalogue => 1},
! 		     debug => 1,
! 		     });
  my $duedate;
  my $bornum;





More information about the Koha-cvs mailing list