addBehavior('adminBlogPreferencesForm',array('adminSimplyFavicon','adminBlogPreferencesForm')); $core->addBehavior('adminBeforeBlogSettingsUpdate',array('adminSimplyFavicon','adminBeforeBlogSettingsUpdate')); class adminSimplyFavicon { public static function adminBlogPreferencesForm($core,$blog_settings) { echo '
'; } public static function adminBeforeBlogSettingsUpdate($blog_settings) { $blog_settings->system->put('simply_favicon',!empty($_POST['simply_favicon'])); } } ?>