'
', 'before_title' => 'You can replace the text title with a logo by entering the logo URL here Note:include http://
", "optionid" => $themeoptionsprefix."_sitelogo", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Site Tracking Code Example: Google Analytics", "optiondescription" => "Using Goolge Analytics? You can enter your code below.
", "optionid" => $themeoptionsprefix."_sitetrackingcode", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Header Banner", "optiondescription" => "You can display a banner in the header of your page to the far right of your title/logo by entering the complete banner code
", "optionid" => $themeoptionsprefix."_bannerad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Sidebar Ad Code", "optiondescription" => "You can display adds in your sidebar. For best results use 250 pixels wide ad or 280 pixels wide ad
", "optionid" => $themeoptionsprefix."_sidebarad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Feedburner RSS URL", "optiondescription" => "Your Feedburner URL
", "optionid" => $themeoptionsprefix."_feedburnerurl", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Feedburner ID", "optiondescription" => "Your Feedburner ID here.
", "optionid" => $themeoptionsprefix."_feedburnerid", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Header for Sidebar Subscribe Block", "optiondescription" => "The text to display as the header above the subscribe links in the sidebar.
", "optionid" => $themeoptionsprefix."_rsssubscribeblockh2", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Subtext for rss subscribe block", "optiondescription" => "The text to display as a short description for why to subscribe to your feed.
", "optionid" => $themeoptionsprefix."_rsssubscribeblocksubtext", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Subscribe Link Text", "optiondescription" => "The text to use for your subscribe link.
", "optionid" => $themeoptionsprefix."_rsssubscribeblocklinktext", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Search box header text", "optiondescription" => "The text to use for your search box header.
", "optionid" => $themeoptionsprefix."_searchboxh2", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Show/hide page menu at top of page", "optiondescription" => "If the horizontal menu at the top of the page is giving you trouble you can choose to not use it by setting this value to 'hide'.
", "optionid" => $themeoptionsprefix."_hmenushowhide", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $hmenushowhide), array("optionname" => "Number of Posts on Home Page", "optiondescription" => "You can set the number of posts to show on the homepage.
", "optionid" => $themeoptionsprefix."_numpostshome", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $arrnumposts), ); function do_options_update_theme() { global $this_theme, $options; if ( $_GET['page'] == basename(__FILE__) ) { if ( 'updateoptions' == $_REQUEST['action'] ) { foreach ($options as $optionvalue) { update_option( $optionvalue['optionid'], $_REQUEST[ $optionvalue['optionid'] ] ); } foreach ($options as $optionvalue) { if( isset( $_REQUEST[ $optionvalue['optionid'] ] ) ) { update_option( $optionvalue['optionid'], $_REQUEST[ $optionvalue['optionid'] ] ); } else { delete_option( $optionvalue['optionid'] ); } } header("Location: admin.php?page=functions.php&optionsupdated=true"); die; } } add_menu_page($this_theme." Options", $this_theme." Options", 'edit_themes', basename(__FILE__), 'do_page_6609', $menuico6609); } function get_style_scheme_options() { $styleschemeoptionsarr=array(); $stylespath=TEMPLATEPATH . '/styles'; if (is_dir($stylespath)) { $stylesavailable=opendir($stylespath); if ($stylesavailable) { while( $thestyledir = readdir($stylesavailable) ) { if( is_valid_style_dir($thestyledir) ) { $styleschemeoptionsarr[]=$thestyledir; } } } closedir($stylesavailable); } return $styleschemeoptionsarr; } function is_valid_style_dir( $thestyledir ) { if( $thestyledir == '.' || $thestyledir == '..' ) { $isvalidstyledir=0; } else { $isvalidstyledir=1; } return $isvalidstyledir; } function do_page_6609 () { global $options, $this_theme; ?>