mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -393,7 +393,7 @@ foreach($roleclasses as $role => $roleclass) {
|
||||
<th colspan="2" style="text-align: center"><?php _e('Actions') ?></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="role-<?php echo $role; ?>"><?php
|
||||
<tbody id="role-<?php echo $role; ?>" class="list:user user-list"><?php
|
||||
$style = '';
|
||||
foreach ( (array) $roleclass as $user_object ) {
|
||||
$style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
|
||||
@@ -456,7 +456,7 @@ foreach ( (array) $roleclass as $user_object ) {
|
||||
else
|
||||
echo '<p>' . sprintf(__('Users cannot currently <a href="%1$s">register themselves</a>, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '</p>';
|
||||
?>
|
||||
<form action="#add-new-user" method="post" name="adduser" id="adduser">
|
||||
<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:user-list:">
|
||||
<?php wp_nonce_field('add-user') ?>
|
||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||
<tr>
|
||||
@@ -507,6 +507,11 @@ foreach ( (array) $roleclass as $user_object ) {
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<table style="color:red">
|
||||
<tbody id="user-list" class="list:user">
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user