koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/acqui basket.pl,1.10,1.11


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/acqui basket.pl,1.10,1.11
Date: Mon, 05 May 2003 08:01:55 -0700

Update of /cvsroot/koha/koha/acqui
In directory sc8-pr-cvs1:/tmp/cvs-serv25998/acqui

Modified Files:
        basket.pl 
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: basket.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/basket.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** basket.pl   2 May 2003 13:04:23 -0000       1.10
--- basket.pl   5 May 2003 15:01:52 -0000       1.11
***************
*** 45,49 ****
                             debug => 1,
                             });
! 
  my ($count,@results);
  if ($basket eq ''){
--- 45,49 ----
                             debug => 1,
                             });
! warn "LOGGED : $loggedinuser";
  my ($count,@results);
  if ($basket eq ''){




reply via email to

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