create('XorgAuth', __('Auth. X.org'), array('xorgAuthWidget', 'widget')); } static public function widget(&$w) { global $core; $name = $core->auth->userID(); if ($name) { return '

Tu es ' . $core->auth->getInfo('user_displayname') . '
' . 'déconnexion

'; } else { return '

M\'authentifier via Polytechnique.org

'; } } } ?>