From 7825f763dfe0079865c10e9a7d2eeaa412ba61cb Mon Sep 17 00:00:00 2001 From: saxmatt Date: Tue, 21 Sep 2004 23:36:27 +0000 Subject: [PATCH] Usability enhancements. git-svn-id: http://svn.automattic.com/wordpress/trunk@1701 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/users.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/wp-admin/users.php b/wp-admin/users.php index c36bb4b9ee..03a40c8eea 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -253,6 +253,7 @@ default: + $email $short_url "; - if ($user_level >= 3) - echo " ID."\" style=\"color:red;font-weight:bold;\">X "; + echo $user_data->user_level; - if ($user_level >= 2) + if ($user_level >= 6) echo " ID."&prom=up\">+ "; echo "\n"; -} echo ''; - if (($user_level >= 2) and ($user_level > $user_data->user_level)) + if (($user_level >= 6) and ($user_level > $user_data->user_level)) echo "Edit"; - echo ''; - echo ''; + echo ''; + if ($user_level >= 6) + echo "Delete"; + echo ''; + +} + ?> -

Warning: Deleting a user also deletes all posts made by this user.') ?>

+