From 1551a9298b3a86371260f5e278271845e9c9bed5 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 24 Mar 2008 08:28:15 +0000 Subject: [PATCH] Some options juggling to put things where they fit a little better, and more exposition around the more obtuse options. git-svn-id: http://svn.automattic.com/wordpress/trunk@7498 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-discussion.php | 39 ++++++++++++++++++++++++++++++++- wp-admin/options-general.php | 5 +++-- wp-admin/options-misc.php | 31 +++++++++++++++++++++++++- wp-admin/options-reading.php | 31 ++------------------------ wp-admin/options-writing.php | 28 +---------------------- 5 files changed, 74 insertions(+), 60 deletions(-) diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index bc5a73ecb..69c0bbd35 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -76,9 +76,46 @@ include('admin-header.php'); +

+ +

Gravatars — short for Globally Recognized Avatars — for the pictures that show up next to comments. Plugins may override this.'); ?>

+ + + + + + + + + + + + + +
+ __("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; +?> + +
+ +

- +

diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index cfde4b7a5..680f7ae98 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -34,7 +34,7 @@ include('./admin-header.php');
- + @@ -82,7 +82,8 @@ foreach ( $offset_range as $offset ) {
UTC time is %s'), gmdate(__('Y-m-d G:i:s'))); ?>
-%2$s'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?> +%2$s'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?>
+ diff --git a/wp-admin/options-misc.php b/wp-admin/options-misc.php index d7a8b1b71..6cf0c154c 100644 --- a/wp-admin/options-misc.php +++ b/wp-admin/options-misc.php @@ -38,8 +38,36 @@ include('admin-header.php'); +

+

+ + + + + + + + +
+ + + +
+/> + +
+ + + + +
+ + + + + +

- +

diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 794af8476..82c5049af 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -57,34 +57,7 @@ include('admin-header.php');

- - - - - - - - - - - - +
@@ -93,7 +66,7 @@ endforeach;

- +

diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index 95a2a16e1..645bfc790 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -57,32 +57,6 @@ endforeach; -

-

- - - - - - - - - - -
- - - - -/> - -
- - - - -
-

%s, %s, %s.'), wp_generate_password(), wp_generate_password(), wp_generate_password()) ?>

@@ -136,7 +110,7 @@ endforeach;

- +