244) { $options['left_sidebar_width'] = 244; } // notice if ($_POST['notice']) { $options['notice'] = (bool)true; } else { $options['notice'] = (bool)false; } $options['notice_color'] = $_POST['notice_color']; $options['notice_content'] = stripslashes($_POST['notice_content']); // categories & tags if ($_POST['categories']) { $options['categories'] = (bool)true; } else { $options['categories'] = (bool)false; } if (!$_POST['tags']) { $options['tags'] = (bool)false; } else { $options['tags'] = (bool)true; } // feed if ($_POST['feed']) { $options['feed'] = (bool)true; } else { $options['feed'] = (bool)false; } $options['feed_url'] = stripslashes($_POST['feed_url']); update_option('blocks_options', $options); } else { BlocksOptions::getOptions(); } add_theme_page("Current Theme Options", "Current Theme Options", 'edit_themes', basename(__FILE__), array('BlocksOptions', 'display')); } function display() { $options = BlocksOptions::getOptions(); ?>
'Sidebar_single', 'before_widget' => '