'.$update_print_text[$i].' '.__('Updated', 'wp-print').'
'; } $i++; } if(empty($text)) { $text = ''.__('No Print Option Updated', 'wp-print').''; } break; // Uninstall WP-Print case __('UNINSTALL WP-Print', 'wp-print') : if(trim($_POST['uninstall_print_yes']) == 'yes') { echo '
'; echo '

'; foreach($print_settings as $setting) { $delete_setting = delete_option($setting); if($delete_setting) { echo ''; printf(__('Setting Key \'%s\' has been deleted.', 'wp-print'), "{$setting}"); echo '
'; } else { echo ''; printf(__('Error deleting Setting Key \'%s\'.', 'wp-print'), "{$setting}"); echo '
'; } } echo '

'; echo '
'; $mode = 'end-UNINSTALL'; } break; } } ### Determines Which Mode It Is switch($mode) { // Deactivating WP-Print case 'end-UNINSTALL': $deactivate_url = 'plugins.php?action=deactivate&plugin=print/print.php'; if(function_exists('wp_nonce_url')) { $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_print/print.php'); } echo '
'; echo '

'.__('Uninstall WP-Print', 'wp-print').'

'; echo '

'.sprintf(__('Click Here To Finish The Uninstallation And WP-Print Will Be Deactivated Automatically.', 'wp-print'), $deactivate_url).'

'; echo '
'; break; // Main Page default: $print_options = get_option('print_options'); ?>

'.$text.'

'; } ?>

'."\n"; } else { echo ''."\n"; } echo '   '; echo ''.$filename.''."\n"; echo '   ('.$filename.')'; echo '

'."\n"; } } } closedir($handle); } ?>




  



    '.$settings.''."\n"; } ?>