'Left_Menu',
'before_widget' => '
',
'after_widget' => '',
'before_title' => '',
'after_title' => '
',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Right_Menu',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '
',
));
add_option( 'gn_left_img', get_template_directory_uri() . '/news-images/cuyabeno.jpg' );
add_option( 'gn_right_img', get_template_directory_uri() . '/news-images/waterfall3.jpg' );
add_option( 'gn_page_exclude', '' );
add_option( 'gn_body_color', '#333' );
add_option( 'gn_body_background', 'silver' );
add_option( 'gn_wrapper_background', 'white' );
add_option( 'gn_tab_feature_b1', 'off' );
add_option( 'gn_tab_feature_b2', 'off' );
add_option( 'gn_tab_count_b1', '3' );
add_option( 'gn_tab_count_b2', '3' );
add_action( 'admin_menu', 'gn_add_theme_option_page' );
check_tab_feature();
////////////////////////////////////////////////////////////////////////////////
// register theme option page
////////////////////////////////////////////////////////////////////////////////
function gn_add_theme_option_page()
{
add_theme_page(__('German Newspaper Options'), __('German Newspaper Options'), 'edit_themes', basename(__FILE__), 'gn_theme_option_page');
}
function gn_theme_option_page()
{
global $tab_feature_b1,
$tab_feature_b2,
$tab_count_b1,
$tab_count_b2;
if ( isset( $_POST['info_update'] ) )
{
// call update function
update_gn_options();
}
gn_print_option_page();
}
?>