| 1 | Index: /Users/simon/Projects/WordPress/site/wordpress/wp-admin/user-edit.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- /Users/simon/Projects/WordPress/site/wordpress/wp-admin/user-edit.php (revision 8852) |
|---|
| 4 | +++ /Users/simon/Projects/WordPress/site/wordpress/wp-admin/user-edit.php (working copy) |
|---|
| 5 | @@ -166,14 +166,14 @@ |
|---|
| 6 | |
|---|
| 7 | <h3><?php _e('Personal Options'); ?></h3> |
|---|
| 8 | |
|---|
| 9 | -<table class="form-table"> |
|---|
| 10 | +<table class="form-table personal-options"> |
|---|
| 11 | <?php if ( rich_edit_exists() ) : // don't bother showing the option if the editor has been removed ?> |
|---|
| 12 | - <tr> |
|---|
| 13 | + <tr class="visual-editor"> |
|---|
| 14 | <th scope="row"><?php _e('Visual Editor')?></th> |
|---|
| 15 | <td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', $profileuser->rich_editing); ?> /> <?php _e('Use the visual editor when writing'); ?></label></td> |
|---|
| 16 | </tr> |
|---|
| 17 | <?php endif; ?> |
|---|
| 18 | -<tr> |
|---|
| 19 | +<tr class="admin-colour-scheme"> |
|---|
| 20 | <th scope="row"><?php _e('Admin Color Scheme')?></th> |
|---|
| 21 | <td><fieldset><legend class="hidden"><?php _e('Admin Color Scheme')?></legend> |
|---|
| 22 | <?php |
|---|
| 23 | @@ -207,13 +207,13 @@ |
|---|
| 24 | <h3><?php _e('Name') ?></h3> |
|---|
| 25 | |
|---|
| 26 | <table class="form-table"> |
|---|
| 27 | - <tr> |
|---|
| 28 | + <tr class="username"> |
|---|
| 29 | <th><label for="user_login"><?php _e('Username'); ?></label></th> |
|---|
| 30 | <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" /> <?php _e('Your username cannot be changed'); ?></td> |
|---|
| 31 | </tr> |
|---|
| 32 | |
|---|
| 33 | <?php if ( !$is_profile_page ): ?> |
|---|
| 34 | -<tr><th><label for="role"><?php _e('Role:') ?></label></th> |
|---|
| 35 | +<tr class="role"><th><label for="role"><?php _e('Role:') ?></label></th> |
|---|
| 36 | <?php |
|---|
| 37 | // print_r($profileuser); |
|---|
| 38 | echo '<td><select name="role" id="role">'; |
|---|
| 39 | @@ -237,22 +237,22 @@ |
|---|
| 40 | ?> |
|---|
| 41 | <?php endif; ?> |
|---|
| 42 | |
|---|
| 43 | -<tr> |
|---|
| 44 | +<tr class="first-name"> |
|---|
| 45 | <th><label for="first_name"><?php _e('First name') ?></label></th> |
|---|
| 46 | <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" /></td> |
|---|
| 47 | </tr> |
|---|
| 48 | |
|---|
| 49 | -<tr> |
|---|
| 50 | +<tr class="last-name"> |
|---|
| 51 | <th><label for="last_name"><?php _e('Last name') ?></label></th> |
|---|
| 52 | <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" /></td> |
|---|
| 53 | </tr> |
|---|
| 54 | |
|---|
| 55 | -<tr> |
|---|
| 56 | +<tr class="nickname"> |
|---|
| 57 | <th><label for="nickname"><?php _e('Nickname') ?></label></th> |
|---|
| 58 | <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></td> |
|---|
| 59 | </tr> |
|---|
| 60 | |
|---|
| 61 | -<tr> |
|---|
| 62 | +<tr class="display-name"> |
|---|
| 63 | <th><label for="display_name"><?php _e('Display name publicly as') ?></label></th> |
|---|
| 64 | <td> |
|---|
| 65 | <select name="display_name" id="display_name"> |
|---|
| 66 | @@ -278,28 +278,28 @@ |
|---|
| 67 | |
|---|
| 68 | <h3><?php _e('Contact Info') ?></h3> |
|---|
| 69 | |
|---|
| 70 | -<table class="form-table"> |
|---|
| 71 | -<tr> |
|---|
| 72 | +<table class="form-table contact-info"> |
|---|
| 73 | +<tr class="email"> |
|---|
| 74 | <th><label for="email"><?php _e('E-mail') ?></label></th> |
|---|
| 75 | <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /> <?php _e('Required'); ?></td> |
|---|
| 76 | </tr> |
|---|
| 77 | |
|---|
| 78 | -<tr> |
|---|
| 79 | +<tr class="website"> |
|---|
| 80 | <th><label for="url"><?php _e('Website') ?></label></th> |
|---|
| 81 | <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" /></td> |
|---|
| 82 | </tr> |
|---|
| 83 | |
|---|
| 84 | -<tr> |
|---|
| 85 | +<tr class="aim"> |
|---|
| 86 | <th><label for="aim"><?php _e('AIM') ?></label></th> |
|---|
| 87 | <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" /></td> |
|---|
| 88 | </tr> |
|---|
| 89 | |
|---|
| 90 | -<tr> |
|---|
| 91 | +<tr class="yahoo-im"> |
|---|
| 92 | <th><label for="yim"><?php _e('Yahoo IM') ?></label></th> |
|---|
| 93 | <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" /></td> |
|---|
| 94 | </tr> |
|---|
| 95 | |
|---|
| 96 | -<tr> |
|---|
| 97 | +<tr class="jabber-google-talk"> |
|---|
| 98 | <th><label for="jabber"><?php _e('Jabber / Google Talk') ?></label></th> |
|---|
| 99 | <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></td> |
|---|
| 100 | </tr> |
|---|
| 101 | @@ -307,8 +307,8 @@ |
|---|
| 102 | |
|---|
| 103 | <h3><?php $is_profile_page? _e('About Yourself') : _e('About the user'); ?></h3> |
|---|
| 104 | |
|---|
| 105 | -<table class="form-table"> |
|---|
| 106 | -<tr> |
|---|
| 107 | +<table class="form-table about-yourself"> |
|---|
| 108 | +<tr class="biographical-info"> |
|---|
| 109 | <th><label for="description"><?php _e('Biographical Info'); ?></label></th> |
|---|
| 110 | <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea><br /><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></td> |
|---|
| 111 | </tr> |
|---|
| 112 | @@ -317,7 +317,7 @@ |
|---|
| 113 | $show_password_fields = apply_filters('show_password_fields', true); |
|---|
| 114 | if ( $show_password_fields ) : |
|---|
| 115 | ?> |
|---|
| 116 | -<tr> |
|---|
| 117 | +<tr class="password"> |
|---|
| 118 | <th><label for="pass1"><?php _e('New Password'); ?></label></th> |
|---|
| 119 | <td><input type="password" name="pass1" id="pass1" size="16" value="" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br /> |
|---|
| 120 | <input type="password" name="pass2" id="pass2" size="16" value="" /> <?php _e("Type your new password again."); ?><br /> |
|---|
| 121 | @@ -340,7 +340,7 @@ |
|---|
| 122 | |
|---|
| 123 | <?php if (count($profileuser->caps) > count($profileuser->roles)): ?> |
|---|
| 124 | <br class="clear" /> |
|---|
| 125 | - <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> |
|---|
| 126 | + <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform additional-capabilities"> |
|---|
| 127 | <tr> |
|---|
| 128 | <th scope="row"><?php _e('Additional Capabilities') ?></th> |
|---|
| 129 | <td><?php |
|---|