diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 3646700b75a..bd723844956 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -2,6 +2,7 @@ /* Copyright (C) 2002-2004 Rodolphe Quiedeville * Copyright (C) 2002-2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004 Eric Seigne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,9 +23,9 @@ */ /*! - \file htdocs/user/fiche.php - \brief Onglet user et permissions de la fiche utilisateur - \version $Revision$ + \file htdocs/user/fiche.php + \brief Onglet user et permissions de la fiche utilisateur + \version $Revision$ */ @@ -295,9 +296,9 @@ else } print ""; - print ''.img_edit_remove().''; - print "".$obj->libelle . ''.$obj->module . ''; - print ''; + print " id."&action=perms&subaction=delrights&rights=".$obj->id."\">".img_edit_remove()."\n"; + print " ".$obj->libelle . "".$obj->module . "\n"; + print ""; $i++; } } @@ -416,10 +417,9 @@ else $oldmod = $obj->module; $var = !$var; } - $fac = 'facture'; - $bac = "lire"; - $alpha = $fuser->rights->$fac->$bac; //"user->rights->".$obj->perms; - print "".$alpha . ''.$$alpha." ".$fuser->rights->facture->lire."\n"; + print ''; + print ''.$obj->libelle . ''.$obj->module . ''; + print ''; $i++; } }