From 373974d2f3b5150645e1912c28d0b21d6e9de9dc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Aug 2011 22:10:25 +0000 Subject: [PATCH] Fix: Removed strislashes --- htdocs/user/group/fiche.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/htdocs/user/group/fiche.php b/htdocs/user/group/fiche.php index b4673f69b58..d1e8c0583b2 100644 --- a/htdocs/user/group/fiche.php +++ b/htdocs/user/group/fiche.php @@ -1,6 +1,6 @@ - * Copyright (C) 2005-2010 Laurent Destailleur + * Copyright (C) 2005-2011 Laurent Destailleur * Copyright (C) 2005-2011 Regis Houssin * Copyright (C) 2011 Herve Prot * @@ -21,7 +21,7 @@ /** * \file htdocs/user/group/fiche.php * \brief Onglet groupes utilisateurs - * \version $Id: fiche.php,v 1.77 2011/08/21 10:01:37 hregis Exp $ + * \version $Id: fiche.php,v 1.78 2011/08/23 22:10:25 eldy Exp $ */ require("../../main.inc.php"); @@ -218,7 +218,7 @@ if ($action == 'create') print "".''.$langs->trans("Name").''; print ''; - + // Multicompany if (! empty($conf->multicompany->enabled)) { @@ -305,7 +305,7 @@ else print img_redstar($langs->trans("GlobalGroup")); } print "\n"; - + // Multicompany if (! empty($conf->multicompany->enabled) && empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE) && $conf->entity == 1 && $user->admin && ! $user->entity) { @@ -353,7 +353,7 @@ else // On selectionne les users qui ne sont pas deja dans le groupe $exclude = array(); - + if (! empty($object->members)) { if( !($conf->multicompany->enabled && $conf->global->MULTICOMPANY_TRANSVERSE_MODE)) @@ -422,15 +422,15 @@ else foreach($object->members as $useringroup) { $var=!$var; - + print ""; print ''; print ''.img_object($langs->trans("ShowUser"),"user").' '.$useringroup->login.''; if ($useringroup->admin && ! $useringroup->entity) print img_picto($langs->trans("SuperAdministrator"),'redstar'); else if ($useringroup->admin) print img_picto($langs->trans("Administrator"),'star'); print ''; - print ''.ucfirst(stripslashes($useringroup->lastname)).''; - print ''.ucfirst(stripslashes($useringroup->firstname)).''; + print ''.$useringroup->lastname.''; + print ''.$useringroup->firstname.''; if(! empty($conf->multicompany->enabled) && $conf->entity == 1) { $mc = new ActionsMulticompany($db); @@ -472,7 +472,7 @@ else print ''.$langs->trans("Name").''; print ''; print "\n"; - + // Multicompany if (! empty($conf->multicompany->enabled)) { @@ -518,5 +518,5 @@ else $db->close(); -llxFooter('$Date: 2011/08/21 10:01:37 $ - $Revision: 1.77 $'); +llxFooter('$Date: 2011/08/23 22:10:25 $ - $Revision: 1.78 $'); ?>