'
Howdy guest, thanks for visiting my site, I hope you enjoy your stay!
Feel free to search my site and leave comments.
"), array( "name" => "Footer text", "desc" => "Add/edit the welcome text on the homepage. Make sure you enclose <p>paragraph text</p> in brackets to make the text easier to read.", "id" => $shortname."_footer_text", "type" => "textarea", "std" => "Bombay is a free Wordpress theme released under the GPL License.
Want to change this text? - this text is editable from the Wordpress Dashboard, simple head over to theme options to start editing.
"), array( "name" => "Google Analytics", "desc" => "Enter your Google Analytics code here and it will automatically appear immediately before the end body tag.", "id" => $shortname."_google_analytics", "type" => "textarea", "std" => ""), array( "type" => "close") ); function mytheme_add_admin() { global $themename, $shortname, $options; if ( $_GET['page'] == basename(__FILE__) ) { if ( 'save' == $_REQUEST['action'] ) { foreach ($options as $value) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } foreach ($options as $value) { if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } header("Location: themes.php?page=functions.php&saved=true"); die; } else if( 'reset' == $_REQUEST['action'] ) { foreach ($options as $value) { delete_option( $value['id'] ); } header("Location: themes.php?page=functions.php&reset=true"); die; } } add_menu_page($themename." Options", "".$themename." ", 'edit_themes', basename(__FILE__), 'mytheme_admin'); } function mytheme_admin() { global $themename, $shortname, $options; if ( $_REQUEST['saved'] ) echo ''.$themename.' settings saved.
'.$themename.' settings reset.