X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3e7fab96d7874067884348df10bbdcdefa4a89ad..4f4e083f6f77639c41e2b1ddb200de8e34301cee:/wp-admin/options-discussion.php diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 78deefdd..5013ebca 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -1,84 +1,226 @@
-

+ +

+
- -

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

    ' ) ?>

    - -

    moderation queue. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?>

    +
    + +
    +

    + +

    - +

    -
    -
    - -

    +
    +

    - +

    -
    +
    + +

    + +

    + + + + + + + + + + + + + + + + + +
    + __("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'), 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 'R' => __('R — Intended for adult audiences above 17'), '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)') +); +$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); +?> + +
    + + +

    - - - +