From 94c4f7ce0299bdbbabd2a5ec9adef0de0d83dbc7 Mon Sep 17 00:00:00 2001 From: westi Date: Mon, 11 May 2009 18:59:09 +0000 Subject: [PATCH] Better theme page help. Fixes #9745 based on patch from demetris. git-svn-id: http://svn.automattic.com/wordpress/trunk@11270 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 2644b8b2f..ae8fc4fe8 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -28,6 +28,12 @@ if ( isset($_GET['action']) ) { $title = __('Manage Themes'); $parent_file = 'themes.php'; +$help = '

' . __('Themes give your WordPress style. Once a theme is installed, you may preview it, activate it or deactivate it here.') . '

'; +$help .= '

' . sprintf(__('You can find additional themes for your site by using the new Theme Browser/Installer functionality or by browsing the WordPress Theme Directory directly and installing manually. To install a theme manually, upload its ZIP archive with the new uploader or copy its folder via FTP into your wp-content/themes directory.'), 'theme-install.php', 'theme-install.php?tab=upload' ) . '

'; +$help .= '

' . __('Once a theme is uploaded, you should see it on this page.') . '

' ; + +add_contextual_help('themes', $help); + add_thickbox(); wp_enqueue_script( 'theme-preview' ); @@ -277,10 +283,6 @@ if ( count($broken_themes) ) { - -

-

WordPress theme directory. To install a theme you generally just need to upload the theme folder into your wp-content/themes directory. Once a theme is uploaded, you should see it on this page.'); ?>

-