Support https in blog URLs
[dotclear.git] / widget.copyright.php
index 1cf240d..552b250 100644 (file)
@@ -1,13 +1,13 @@
 <?php
 class xorgCopyrightWidget {
-  public static function behavior_initWidgets(&$w) {
+  public static function behavior_initWidgets($w) {
     $w->create('XorgCopyright', __('Copyright'), array('xorgCopyrightWidget', 'widget'));
   }
 
-  static public function widget(&$w) {
+  static public function widget($w) {
     global $core;
-    $copyright = $core->blog->settings->get('copyright_notice');
-    $editor    = $core->blog->settings->get('editor');
+    $copyright = $core->blog->settings->system->get('copyright_notice');
+    $editor    = $core->blog->settings->system->get('editor');
 
     $text = '<div><h2>Mentions légales</h2><ul>';
     if ($editor) {