'. __('Options saved successfully.',ATF_LOCAL_NAME) .'

'; echo $str; } if ($_POST['atf_default']){ delete_option('ald_atf_settings'); $atf_settings = atf_default_options(); update_option('ald_atf_settings', $atf_settings); $str = '

'. __('Options set to Default.',ATF_LOCAL_NAME) .'

'; echo $str; } ?>
5, 'show_author' => 0, 'show_date' => 1)); ?>

If you like Add to Feed, check out the more powerful plugin Add to All
 
/>



/>
/>

' . __('plugin settings page', ATF_LOCAL_NAME ) . ''; $atf_settings = atf_read_options(); if ($atf_settings[enable_plugin]) return; if ( !current_user_can( 'manage_options' ) ) return; echo '

'.__('Add to Feed plugin is disabled. Please visit the ', ATF_LOCAL_NAME ).$plugin_settings_page.__(' to enable.', ATF_LOCAL_NAME ).'

'; } add_action('admin_notices', 'atf_admin_notice'); function atf_adminmenu() { if (function_exists('current_user_can')) { // In WordPress 2.x if (current_user_can('manage_options')) { $atf_is_admin = true; } } else { // In WordPress 1.x global $user_ID; if (user_can_edit_user($user_ID, 0)) { $atf_is_admin = true; } } if ((function_exists('add_options_page'))&&($atf_is_admin)) { $plugin_page = add_options_page(__("Add to Feed", ATF_LOCAL_NAME), __("Add to Feed", ATF_LOCAL_NAME), 9, 'atf_options', 'atf_options'); add_action( 'admin_head-'. $plugin_page, 'atf_adminhead' ); } } add_action('admin_menu', 'atf_adminmenu'); function atf_adminhead() { global $atf_url; ?>