2 class xorgCopyrightWidget
{
3 public static function behavior_initWidgets($w) {
4 $w->create('XorgCopyright', __('Copyright'), array('xorgCopyrightWidget', 'widget'));
7 static public function widget($w) {
9 $copyright = $core->blog
->settings
->system
->get('copyright_notice');
10 $editor = $core->blog
->settings
->system
->get('editor');
12 $text = '<div><h2>Mentions légales</h2><ul>';
14 $text .= '<li>Editeur : ' . $editor . '</li>';
16 $text .= '<li>Hébergé par <a href="http://xorg.polytechnique.org">Polytechnique.org</a></li>';
18 $text .= '<li>' . $copyright . '</li>';
20 return $text . '</ul></div>';