public static function affiche_gestion_user_groupes($choix_user, $onglet) { $PHP_SELF = $_SERVER['PHP_SELF']; $session = session_id(); $return = ''; $return .= '<h1>' . _('admin_onglet_user_groupe') . '</h1>'; /************************/ /* Affichage Groupes */ /************************/ $return .= '<form action="' . $PHP_SELF . '?session=' . $session . '&onglet=' . $onglet . '" method="POST">'; $return .= \admin\Fonctions::affiche_tableau_affectation_user_groupes($choix_user); $return .= '<hr/>'; $return .= '<input type="hidden" name="change_user_groups" value="ok">'; $return .= '<input type="hidden" name="choix_user" value="' . $choix_user . '">'; $return .= '<input class="btn btn-success" type="submit" value="' . _('form_submit') . '">'; $return .= '<a class="btn" href="' . $PHP_SELF . '?session=' . $session . '&onglet=admin-group-users">' . _('form_annul') . '</a>'; $return .= '</form>'; return $return; }