[Koha-cvs] CVS: koha/C4 Auth.pm,1.26,1.27
Paul POULAIN
tipaul at users.sourceforge.net
Mon May 5 17:01:00 CEST 2003
- Previous message: [Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.55,1.56
- Next message: [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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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);
- Previous message: [Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.55,1.56
- Next message: [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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list