From f76de30d5d3e5e2a42ba6915c128cb1970526be2 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 3 Jun 2008 21:27:02 +0200 Subject: [PATCH] Integration of xorg Auth widget in nav-bar Signed-off-by: Florent Bruneau --- widget.auth.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ''; } } } -- 2.1.4