[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4 Auth.pm,1.26,1.27
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/C4 Auth.pm,1.26,1.27 |
Date: |
Mon, 05 May 2003 08:01:00 -0700 |
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv25217/C4
Modified Files:
Auth.pm
Log Message:
moving loggedinuser => loggedinusername in includes and Auth.pm :
The $loggedinuser in Koha is the CODE of the logged user (result of
get_user_and_template subroutine).
BTW, in get_user_and_template subroutine, the TMPL_VAR loggedinuser is replaced
by the NAME of the user.
This is troubleshooting.
so, I replace the name by the "loggedinusername" template variable.
If you want to add the username somewhere, just add <TMPL_VAR
name="loggedinusername"> in the template.
Fixes bug #401
Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** Auth.pm 2 May 2003 13:05:08 -0000 1.26
--- Auth.pm 5 May 2003 15:00:56 -0000 1.27
***************
*** 116,120 ****
my $borrowernumber;
if ($user) {
! $template->param(loggedinuser => $user);
$template->param(sessionID => $sessionID);
--- 116,120 ----
my $borrowernumber;
if ($user) {
! $template->param(loggedinusername => $user);
$template->param(sessionID => $sessionID);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 Auth.pm,1.26,1.27,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes acquisitions-top.inc,1.12,1.13 cat-top.inc,1.12,1.13 circulation-top.inc,1.14,1.15 issues-top.inc,1.4,1.5 marc-top.inc,1.3,1.4 members-top.inc,1.11,1.12 opac-top.inc,1.5,1.6 parameters-top.inc,1.12,1.13 reports-top.inc,1.11,1.12
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr boraccount.tmpl,1.1,1.2
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes acquisitions-top.inc,1.12,1.13 cat-top.inc,1.12,1.13 circulation-top.inc,1.14,1.15 issues-top.inc,1.4,1.5 marc-top.inc,1.3,1.4 members-top.inc,1.11,1.12 opac-top.inc,1.5,1.6 parameters-top.inc,1.12,1.13 reports-top.inc,1.11,1.12
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr boraccount.tmpl,1.1,1.2
- Index(es):