blog->settings->addNamespace(basename(__DIR__)); # widget require __DIR__ . '/_widgets.php'; # behaviors dcCore::app()->addBehavior('adminBlogPreferencesFormV2', function ($blog_settings) { echo '
' . '

' . __('Search Across Blog Archive') . '

' . '

' . '

' . '

' . __('This suggests visitors some posts on page 404.') . '

' . '
'; }); dcCore::app()->addBehavior('adminBeforeBlogSettingsUpdate', function ($blog_settings) { $blog_settings->__get(basename(__DIR__))->put('active', !empty($_POST['saba_active'])); $blog_settings->__get(basename(__DIR__))->put('error', !empty($_POST['saba_error'])); });