[Koha-cvs] CVS: koha/C4 Auth.pm,1.33,1.34
Chris Cormack
rangi at users.sourceforge.net
Fri Jul 16 23:15:28 CEST 2004
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4575/C4
Modified Files:
Auth.pm
Log Message:
Contains the function to get the language template, and set the cookie
Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** Auth.pm 10 May 2004 09:23:32 -0000 1.33
--- Auth.pm 16 Jul 2004 21:15:26 -0000 1.34
***************
*** 112,116 ****
sub get_template_and_user {
my $in = shift;
! my $template = gettemplate($in->{'template_name'}, $in->{'type'});
my ($user, $cookie, $sessionID, $flags)
= checkauth($in->{'query'}, $in->{'authnotrequired'}, $in->{'flagsrequired'}, $in->{'type'});
--- 112,116 ----
sub get_template_and_user {
my $in = shift;
! my $template = gettemplate($in->{'template_name'}, $in->{'type'},$in->{'query'});
my ($user, $cookie, $sessionID, $flags)
= checkauth($in->{'query'}, $in->{'authnotrequired'}, $in->{'flagsrequired'}, $in->{'type'});
***************
*** 326,330 ****
}
! my $template = gettemplate($template_name, $type);
$template->param(INPUTS => \@inputs);
$template->param(loginprompt => 1) unless $info{'nopermission'};
--- 326,330 ----
}
! my $template = gettemplate($template_name, $type,$query);
$template->param(INPUTS => \@inputs);
$template->param(loginprompt => 1) unless $info{'nopermission'};
More information about the Koha-cvs
mailing list