Ticket #15562: 15562.diff
File 15562.diff, 1.6 KB (added by , 14 years ago) |
---|
-
wp-admin/user-new.php
228 228 229 229 <table class="form-table"> 230 230 <tr class="form-field form-required"> 231 <th scope="row"><label for=" email"><?php echo $label; ?></label></th>232 <td><input name="email" type="text" id=" email" value="" /></td>231 <th scope="row"><label for="adduser-email"><?php echo $label; ?></label></th> 232 <td><input name="email" type="text" id="adduser-email" value="" /></td> 233 233 </tr> 234 234 <tr class="form-field"> 235 <th scope="row"><label for=" role"><?php _e('Role'); ?></label></th>236 <td><select name="role" id=" role">235 <th scope="row"><label for="adduser-role"><?php _e('Role'); ?></label></th> 236 <td><select name="role" id="adduser-role"> 237 237 <?php wp_dropdown_roles( get_option('default_role') ); ?> 238 238 </select> 239 239 </td> 240 240 </tr> 241 241 <?php if ( is_super_admin() ) { ?> 242 242 <tr> 243 <th scope="row"><label for=" noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th>244 <td><label for=" noconfirmation"><input type="checkbox" name="noconfirmation" id="noconfirmation" value="1" /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></td>243 <th scope="row"><label for="adduser-noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th> 244 <td><label for="adduser-noconfirmation"><input type="checkbox" name="noconfirmation" id="adduser-noconfirmation" value="1" /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></td> 245 245 </tr> 246 246 <?php } ?> 247 247 </table>