[Top][All Lists]
[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 ''){
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/acqui basket.pl,1.10,1.11,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui acqui-home.tmpl,1.3,1.4 basket.tmpl,1.3,1.4
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/fr opac-search.tmpl,1.4,1.5
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui acqui-home.tmpl,1.3,1.4 basket.tmpl,1.3,1.4
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/fr opac-search.tmpl,1.4,1.5
- Index(es):