koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha overdue.pl,1.5,1.6
Date: Wed, 11 Jun 2003 13:11:47 -0700

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]