Tools help. Props duck_. see #13467

git-svn-id: http://svn.automattic.com/wordpress/trunk@14966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-05-26 22:18:19 +00:00
parent f762020c74
commit 9ed7d1337e
3 changed files with 22 additions and 0 deletions

View File

@ -16,6 +16,13 @@ if ( !current_user_can('edit_files') )
require_once('./includes/export.php');
$title = __('Export');
add_contextual_help($current_screen, '<p>' . __('You can export a file of your site&#8217;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.') . '</p>' .
'<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>' .
'<p>' . __('<strong>For more information:</strong>') . '</p>' .
'<p>' . sprintf(__('<a href="%s">Export Documentation</a>'), 'http://codex.wordpress.org/Tools_Export_SubPanel') . '</p>' .
'<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
);
if ( isset( $_GET['download'] ) ) {
$author = isset($_GET['author']) ? $_GET['author'] : 'all';
$taxonomy = array();

View File

@ -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, '<p>' . __('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.') . '</p>' .
'<p>' . __('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.') . '</p>' .
'<p>' . __('<strong>For more information:</strong>') . '</p>' .
'<p>' . sprintf(__('<a href="%s">Import Documentation</a>'), 'http://codex.wordpress.org/Tools_Import_SubPanel') . '</p>' .
'<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
);
add_thickbox();
require_once ('admin-header.php');
$parent_file = 'tools.php';

View File

@ -11,6 +11,13 @@ require_once('./admin.php');
$title = __('Tools');
add_contextual_help($current_screen, '<p>' . __('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&#8217;ll be you&#8217;ll be on your way to easier content creation.') . '</p>' .
'<p>' . __('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.') . '</p>' .
'<p>' . __('<strong>For more information:</strong>') . '</p>' .
'<p>' . sprintf(__('<a href="%s">Tools Documentation</a>'), 'http://codex.wordpress.org/Tools_Tools_SubPanel') . '</p>' .
'<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
);
require_once('./admin-header.php');
?>