possible_users($group,$method); $count = 0; $result=""; //A-t-on trouvé des utilisateur? Si non, on affiche 'Aucun' if (!$count) { return ""; } return $result; } $table_rights=" "; //pour chaque groupe $group_list=$es->get_group_list(); for ($i=0; $iget_rights($group["name"],""); $table_rights.= ""; $table_rights.= ""; //Pour chaque méthode for ($j=0; $jget_rights($group["name"],$method["name"]); $table_rights.= " ".(!$j?"":"")." "; } } $table_rights.= "
Groupe".htmlentities($msg["external_services_general_utilisateurs_autorises"],ENT_QUOTES,$charset)."
".htmlentities($group["name"],ENT_QUOTES,$charset)."".htmlentities($group["description"],ENT_QUOTES,$charset)." ".users_list($group["name"],'',$rights_group->users,array())."
".htmlentities($msg["external_services_general_methode"],ENT_QUOTES,$charset)."".htmlentities($msg["external_services_general_utilisateurs_autorises"],ENT_QUOTES,$charset)."
 ".htmlentities($method["name"],ENT_QUOTES,$charset)."".htmlentities($method["description"],ENT_QUOTES,$charset)." ".users_list($group["name"],$method["name"],$rights->users,$rights_group->users)."
"; print str_replace("!!table_rights!!",$table_rights,$es_admin_general); ?>