X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..8f374b7233bc2815ccc387e448d208c5434eb961:/wp-admin/options-discussion.php diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index af2db9a6..22039fd4 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -1,100 +1,253 @@ 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.') . '

', +) ); -if ($action == 'retrospam') { - if ( $_GET['move'] == 'true' ) { - retrospam_mgr::move_spam( $_GET[ids] ); - } - $retrospaminator = new retrospam_mgr(); - $result = $retrospaminator->find_spam(); - echo $retrospaminator->display_edit_form( $result ); - include('./admin-footer.php'); - exit; -} +get_current_screen()->set_help_sidebar( + '

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

' . + '

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

' . + '

' . __('Support Forums') . '

' +); + +include('./admin-header.php'); ?> -
-

-
-
-(These settings may be overridden for individual articles.)') ?> -
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
-
- -
    -
  • - -
  • -
  • - -
  • -
-
-
- -
    -
  • - -
  • -
  • -
  • -
-
-
- -

' ) ?>

- -

Common spam words.') ?>

-

- -

+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+

+ +

+

+ +

+
+

- -

-
-
- -

-

- +

-

-
-

- - - -

- +
+ +

+ +

+ + + + + + + + + + + + + + + + + +
+ __( 'Don’t show Avatars' ), 1 => __( 'Show Avatars' ) ); + foreach ( $yesorno as $key => $value) { + $selected = (get_option('show_avatars') == $key) ? 'checked="checked"' : ''; + echo "\n\t
"; + } +?> +
+ + __('G — Suitable for all audiences'), + /* translators: Content suitability rating: http://bit.ly/89QxZA */ + 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), + /* translators: Content suitability rating: http://bit.ly/89QxZA */ + 'R' => __('R — Intended for adult audiences above 17'), + /* translators: Content suitability rating: http://bit.ly/89QxZA */ + 'X' => __('X — Even more mature than above') +); +foreach ($ratings as $key => $rating) : + $selected = (get_option('avatar_rating') == $key) ? 'checked="checked"' : ''; + echo "\n\t
"; +endforeach; +?> + +
+ +
+ + __('Mystery Man'), + 'blank' => __('Blank'), + 'gravatar_default' => __('Gravatar Logo'), + 'identicon' => __('Identicon (Generated)'), + 'wavatar' => __('Wavatar (Generated)'), + 'monsterid' => __('MonsterID (Generated)'), + 'retro' => __('Retro (Generated)') +); +$avatar_defaults = apply_filters('avatar_defaults', $avatar_defaults); +$default = get_option('avatar_default'); +if ( empty($default) ) + $default = 'mystery'; +$size = 32; +$avatar_list = ''; +foreach ( $avatar_defaults as $default_key => $default_name ) { + $selected = ($default == $default_key) ? 'checked="checked" ' : ''; + $avatar_list .= "\n\t'; + $avatar_list .= '
'; +} +echo apply_filters('default_avatar_select', $avatar_list); +?> + +
+ + + + +
+