Support https in blog URLs
[dotclear.git] / widget.auth.php
index fa4ea54..985ee53 100644 (file)
@@ -1,14 +1,14 @@
 <?php
 class xorgAuthWidget {
-  public static function behavior_initWidgets(&$w) {
+  public static function behavior_initWidgets($w) {
     $w->create('XorgAuth', __('Auth. X.org'), array('xorgAuthWidget', 'widget'));
   }
 
-  static public function widget(&$w) {
+  static public function widget($w) {
     global $core;
     $name = @$core->auth->getInfo('user_displayname');
     if ($name) {
-      $str = '<div><ul><li>Tu es ' . $core->auth->getInfo('user_displayname') . '</li>';
+      $str = '<div><ul><li><strong>Tu es ' . $core->auth->getInfo('user_displayname') . '</strong></li>';
       if ($core->auth->check('usage,contentadmin,admin', $core->blog->id)) {
         $str .= '<li><a href="' . $core->blog->url . 'admin/index.php">Interface de rédaction</a></li>';
       }