'
', '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" => "Style scheme to use", "optiondescription" => "You can change betweeen style schemes by selecting the scheme of choice.
", "optionid" => $themeoptionsprefix."_stylescheme", "selectoptiondef" => "Select a scheme:", "optiontype" => "select", "options" => $styleschemeoptions), 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" => "Featured Category for slideshow", "optiondescription" => "Select the category from which your featured content will be pulled for the featured slideshow.
", "optionid" => $themeoptionsprefix."_featuredcat", "selectoptiondef" => "Select Category:", "optiontype" => "select", "options" => $catdlist), array("optionname" => "Number of Featured Posts to show", "optiondescription" => "You can set the number of featured posts to show in the featured slideshow.
", "optionid" => $themeoptionsprefix."_numpostsfeatured", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $numfeaturedarr), 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; ?>