From: Florent Bruneau Date: Tue, 3 Jun 2008 19:27:02 +0000 (+0200) Subject: Integration of xorg Auth widget in nav-bar X-Git-Url: http://git.polytechnique.org/?p=dotclear.git;a=commitdiff_plain;h=f76de30d5d3e5e2a42ba6915c128cb1970526be2 Integration of xorg Auth widget in nav-bar Signed-off-by: Florent Bruneau --- diff --git a/widget.auth.php b/widget.auth.php index 1efd583..fa4ea54 100644 --- a/widget.auth.php +++ b/widget.auth.php @@ -8,13 +8,13 @@ class xorgAuthWidget { global $core; $name = @$core->auth->getInfo('user_displayname'); if ($name) { - $str = '

Tu es ' . $core->auth->getInfo('user_displayname') . '
'; + $str = '

'; } else { - return '

M\'authentifier via Polytechnique.org

'; + return ''; } } }