X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f9001779751f83dc8a10e478bfecb4d8dd5f964c..61343b82c4f0da4c68e4c6373daafff4a81efdd1:/wp-admin/options-discussion.php diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index e9bb1a67..6e8d79f3 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -15,11 +15,16 @@ if ( ! current_user_can( 'manage_options' ) ) $title = __('Discussion Settings'); $parent_file = 'options-general.php'; -add_contextual_help($current_screen, - '

' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation link below to get information on what each discussion setting does.') . '

' . - '

' . __('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' => '

' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '

' . + '

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

', +) ); + +get_current_screen()->set_help_sidebar( '

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

' . - '

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

' . + '

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

' . '

' . __('Support Forums') . '

' ); @@ -35,38 +40,39 @@ include('./admin-header.php'); - - + - - + - - + - - + - - + - - +
+
+
+
+
- +
+

+

@@ -113,42 +120,42 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+
+
+
+
+
- +
-

+
+

-

+

-

+
+

@@ -157,28 +164,25 @@ printf( __('Comments should be displayed with the %s comments at the top of each
-

+

-

+

- - + - - + - - +
- __( 'Don’t show Avatars' ), 1 => __( 'Show Avatars' ) ); - foreach ( $yesorno as $key => $value) { - $selected = (get_option('show_avatars') == $key) ? 'checked="checked"' : ''; - echo "\n\t
"; - } -?> +
+
+
+

@@ -223,7 +227,7 @@ $size = 32; $avatar_list = ''; foreach ( $avatar_defaults as $default_key => $default_name ) { $selected = ($default == $default_key) ? 'checked="checked" ' : ''; - $avatar_list .= "\n\t