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:
Ryan Boren
2007-10-09 22:49:42 +00:00
parent 1e41dc0c9e
commit 490789554f
27 changed files with 453 additions and 377 deletions

View File

@@ -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>