From de0488a9200de72b17419f503b28042806b7492e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 26 May 2010 22:18:19 +0000 Subject: [PATCH] Tools help. Props duck_. see #13467 git-svn-id: https://develop.svn.wordpress.org/trunk@14966 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/export.php | 7 +++++++ wp-admin/import.php | 8 ++++++++ wp-admin/tools.php | 7 +++++++ 3 files changed, 22 insertions(+) diff --git a/wp-admin/export.php b/wp-admin/export.php index 152d6ac66b..24404feebb 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -16,6 +16,13 @@ if ( !current_user_can('edit_files') ) require_once('./includes/export.php'); $title = __('Export'); +add_contextual_help($current_screen, '

' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can set filters to have the WXR file only include a certain date, author, category, tag, all posts or all pages, certain publishing statuses.') . '

' . + '

' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '

' . + '

' . __('For more information:') . '

' . + '

' . sprintf(__('Export Documentation'), 'http://codex.wordpress.org/Tools_Export_SubPanel') . '

' . + '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' +); + if ( isset( $_GET['download'] ) ) { $author = isset($_GET['author']) ? $_GET['author'] : 'all'; $taxonomy = array(); diff --git a/wp-admin/import.php b/wp-admin/import.php index 001132ae0f..e3729573da 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -15,6 +15,14 @@ if ( !current_user_can('edit_files') ) wp_die(__('You do not have sufficient permissions to import content in this site.')); $title = __('Import'); + +add_contextual_help($current_screen, '

' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '

' . + '

' . __('In previous versions of WordPress, all the importers were built-in, but they have been turned into plugins as of version 3.0 since most people only use them once or infrequently.') . '

' . + '

' . __('For more information:') . '

' . + '

' . sprintf(__('Import Documentation'), 'http://codex.wordpress.org/Tools_Import_SubPanel') . '

' . + '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' +); + add_thickbox(); require_once ('admin-header.php'); $parent_file = 'tools.php'; diff --git a/wp-admin/tools.php b/wp-admin/tools.php index e034ec7848..0edd16fbde 100644 --- a/wp-admin/tools.php +++ b/wp-admin/tools.php @@ -11,6 +11,13 @@ require_once('./admin.php'); $title = __('Tools'); +add_contextual_help($current_screen, '

' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you’ll be you’ll be on your way to easier content creation.') . '

' . + '

' . __('Note: Turbo/Gears is no longer promoted on this screen as it was in previous versions due to the fact that Google has discontinued support for it.') . '

' . + '

' . __('For more information:') . '

' . + '

' . sprintf(__('Tools Documentation'), 'http://codex.wordpress.org/Tools_Tools_SubPanel') . '

' . + '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' +); + require_once('./admin-header.php'); ?>