koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 Auth.pm,1.33,1.34


From: Chris Cormack
Subject: [Koha-cvs] CVS: koha/C4 Auth.pm,1.33,1.34
Date: Fri, 16 Jul 2004 14:15:28 -0700

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 => address@hidden);
        $template->param(loginprompt => 1) unless $info{'nopermission'};
--- 326,330 ----
        }
  
!       my $template = gettemplate($template_name, $type,$query);
        $template->param(INPUTS => address@hidden);
        $template->param(loginprompt => 1) unless $info{'nopermission'};




reply via email to

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