X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4f9d63e13cd8c6e275797c75b401b074b82937bc..refs/tags/wordpress-3.4.2-scripts:/wp-admin/options-media.php diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index 2e5d10d0..ee324010 100644 --- a/wp-admin/options-media.php +++ b/wp-admin/options-media.php @@ -15,13 +15,29 @@ if ( ! current_user_can( 'manage_options' ) ) $title = __('Media Settings'); $parent_file = 'options-general.php'; -add_contextual_help($current_screen, - '

' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '

' . - '

' . __('The Embed option allows you embed a video, image, or other media content into your content automatically by typing the URL (of the web page where the file lives) on its own line when you create your content.') . '

' . - '

' . __('Uploading Options gives you folder and path choices for storing your files in your installation’s directory.') . '

' . - '

' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

' . +$media_options_help = '

' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '

' . + '

' . __('The Embed option allows you embed a video, image, or other media content into your content automatically by typing the URL (of the web page where the file lives) on its own line when you create your content.'); + +if ( ! empty( $content_width ) ) + $media_options_help .= ' ' . __( 'If you do not set the maximum embed size, it will be automatically sized to fit into your content area.' ); + +$media_options_help .= '

'; + +if ( ! is_multisite() ) { + $media_options_help .= '

' . __('Uploading Files allows you to choose the folder and path for storing your uploaded files.') . '

'; +} + +$media_options_help .= '

' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

'; + +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => $media_options_help, +) ); + +get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Media Settings') . '

' . + '

' . __('Documentation on Media Settings') . '

' . '

' . __('Support Forums') . '

' ); @@ -44,9 +60,9 @@ include('./admin-header.php'); - + -
+
/> @@ -56,9 +72,9 @@ include('./admin-header.php');
- + - +
@@ -66,9 +82,9 @@ include('./admin-header.php');
- + - +
@@ -81,8 +97,8 @@ include('./admin-header.php'); -
- +
+
@@ -90,10 +106,12 @@ include('./admin-header.php'); - + - -' . __("If the width value is left blank, embeds will default to the max width of your theme."); ?> + +' . __( 'If the width value is left blank, embeds will default to the max width of your theme.' ) . '

'; +?> @@ -106,14 +124,14 @@ include('./admin-header.php'); -wp-content/uploads'); ?> +

wp-content/uploads'); ?>

- +

@@ -132,9 +150,7 @@ include('./admin-header.php'); -

- -

+