create('XorgAuth', __('Auth. X.org'), array('xorgAuthWidget', 'widget')); } static public function widget($w) { global $core; $name = @$core->auth->getInfo('user_displayname'); if ($name) { $str = '
'; } else { return ''; } } } ?>