Ticket #19020: 19020-themes.php.diff
| File 19020-themes.php.diff, 2.8 KB (added by , 14 years ago) |
|---|
-
themes.php
37 37 38 38 if ( current_user_can( 'switch_themes' ) ) : 39 39 40 $help = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>';41 $help .= '<p>' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '</p>';40 $helpmanage = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>'; 41 $helpmanage .= '<p>' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '</p>'; 42 42 if ( current_user_can('install_themes') ) 43 $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '</p>';43 $helpinstall = ( is_multisite() ? '<p>' . __('Installing themes on MultiSite can only be done from the Network Admin section.') . '</p>' : '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '</p>'); 44 44 45 add_contextual_help($current_screen, $help); 45 get_current_screen()->add_help_tab( array( 46 'id' => 'manage-themes', 47 'title' => __('Manage Themes'), 48 'content' => $helpmanage 49 ) ) ; 46 50 51 get_current_screen()->add_help_tab( array( 52 'id' => 'install-themes', 53 'title' => __('Install Themes'), 54 'content' => $helpinstall 55 ) ) ; 56 47 57 get_current_screen()->set_help_sidebar( 48 58 '<p><strong>' . __('For more information:') . '</strong></p>' . 49 59 '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>') . '</p>' .