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

Paul POULAIN tipaul at users.sourceforge.net
Mon May 5 17:01:55 CEST 2003


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, at results);
  if ($basket eq ''){
--- 45,49 ----
  			     debug => 1,
  			     });
! warn "LOGGED : $loggedinuser";
  my ($count, at results);
  if ($basket eq ''){





More information about the Koha-cvs mailing list