Changeset 2995 for trunk/wp-admin/user-edit.php
- Timestamp:
- 11/06/2005 03:58:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-edit.php
r2889 r2995 83 83 <input type="text" name="user_login" value="<?php echo $profiledata->user_login; ?>" disabled="disabled" /> 84 84 </label></p> 85 86 <p><label><?php _e('Role:') ?><br /> 87 <?php 88 // print_r($profileuser); 89 echo '<select name="role">'; 90 foreach($wp_roles->role_names as $role => $name) { 91 $selected = ($profileuser->roles[0] == $role) ? ' selected="selected"' : ''; 92 echo "<option value=\"{$role}\"{$selected}>{$name}</option>"; 93 } 94 echo '</select>'; 95 ?></label></p> 96 85 97 <p><label><?php _e('First name:') ?><br /> 86 98 <input type="text" name="first_name" value="<?php echo $profiledata->first_name ?>" /></label></p>
Note: See TracChangeset
for help on using the changeset viewer.