Usability enhancements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1702 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
562bb9223b
commit
9524e9134c
|
@ -243,7 +243,7 @@ default:
|
||||||
if ($users) {
|
if ($users) {
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2><?php _e('Users') ?></h2>
|
<h2><?php _e('Registered Users') ?></h2>
|
||||||
<table cellpadding="3" cellspacing="3" width="100%">
|
<table cellpadding="3" cellspacing="3" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('ID') ?></th>
|
<th><?php _e('ID') ?></th>
|
||||||
|
@ -251,7 +251,7 @@ default:
|
||||||
<th><?php _e('Name') ?></th>
|
<th><?php _e('Name') ?></th>
|
||||||
<th><?php _e('E-mail') ?></th>
|
<th><?php _e('E-mail') ?></th>
|
||||||
<th><?php _e('Website') ?></th>
|
<th><?php _e('Website') ?></th>
|
||||||
<th><?php _e('Level') ?></th>
|
<th></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -276,16 +276,15 @@ echo "\n<tr $style>
|
||||||
<td><a href='$url' title='website: $url'>$short_url</a></td>
|
<td><a href='$url' title='website: $url'>$short_url</a></td>
|
||||||
<td align='center'>";
|
<td align='center'>";
|
||||||
|
|
||||||
echo $user_data->user_level;
|
|
||||||
if ($user_level >= 6)
|
if ($user_level >= 6)
|
||||||
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
|
echo "<a href='users.php?action=promote&id=$user_data->ID&prom=up' class='edit'>". __('Promote') . '</a>';
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo '<td>';
|
echo '<td>';
|
||||||
if (($user_level >= 6) and ($user_level > $user_data->user_level))
|
if (($user_level >= 6) and ($user_level > $user_data->user_level))
|
||||||
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>Edit</a>";
|
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>Edit</a>";
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
if ($user_level >= 6)
|
if ($user_level >= 6)
|
||||||
echo "<a href='users.php?action=delete&id=$user_data->ID' class='delete'>Delete</a>";
|
echo "<a href='users.php?action=delete&id=$user_data->ID' class='delete'>" . __('Delete'). '</a>';
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue