- xorgBlogOwnerWidget::setXorgOwner($settings, $type, $owner);
-
- $settings = new dcSettings($core, $owner);
- $settings->setNamespace('system');
- $settings->put('public_path', 'public/' . $owner);
+ $settings->system->put('public_path', 'public/' . $owner);
+ $settings->system->put('public_url', $baseurl . 'public/');
+ $settings->system->put('themes_path', 'themes/');
+ $settings->system->put('themes_url', $baseurl . 'themes/');
+ $xorgauth = $settings->addNamespace('xorgauth');
+ $xorgauth->put('xorg_blog_type', $type, 'string', 'Type de blog X.org');
+ $xorgauth->put('xorg_blog_owner', $owner, 'string', 'PropriƩtaire X.org du blog');