]> git.koha-community.org Git - koha.git/commit
moving loggedinuser => loggedinusername in includes and Auth.pm :
authortipaul <tipaul>
Mon, 5 May 2003 15:00:53 +0000 (15:00 +0000)
committertipaul <tipaul>
Mon, 5 May 2003 15:00:53 +0000 (15:00 +0000)
commit368d9107a25f06d06c200730c9114fde27fc5df3
treee4d0465a566f835d2d4245483ade395f27cfe02d
parent1a218daf74395763ac0f92988861a3a40d63828b
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
29 files changed:
C4/Auth.pm
acqui/basket.pl
koha-tmpl/intranet-tmpl/default/en/acqui/acqui-home.tmpl
koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl
koha-tmpl/intranet-tmpl/default/en/includes/acquisitions-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/issues-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/opac-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc
koha-tmpl/intranet-tmpl/default/fr/boraccount.tmpl
koha-tmpl/intranet-tmpl/default/fr/includes/acquisitions-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/acquisitions-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/cat-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/cat-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/circulation-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/circulation-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/issues-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/issues-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/members-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/members-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/opac-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/parameters-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/parameters-top.inc
koha-tmpl/intranet-tmpl/default/fr/includes/reports-bottom.inc
koha-tmpl/intranet-tmpl/default/fr/includes/reports-top.inc