blog->settings->addNamespace('saba');
# 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->saba->put('active', !empty($_POST['saba_active']));
$blog_settings->saba->put('error', !empty($_POST['saba_error']));
});