Changeset 5561 for trunk/src/templates/default/bbpress/form-user-edit.php
- Timestamp:
- 11/10/2014 11:21:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-user-edit.php
r5035 r5561 23 23 <div> 24 24 <label for="first_name"><?php _e( 'First Name', 'bbpress' ) ?></label> 25 <input type="text" name="first_name" id="first_name" value="<?php bbp_displayed_user_field( 'first_name', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>"/>25 <input type="text" name="first_name" id="first_name" value="<?php bbp_displayed_user_field( 'first_name', 'edit' ); ?>" class="regular-text" /> 26 26 </div> 27 27 28 28 <div> 29 29 <label for="last_name"><?php _e( 'Last Name', 'bbpress' ) ?></label> 30 <input type="text" name="last_name" id="last_name" value="<?php bbp_displayed_user_field( 'last_name', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>"/>30 <input type="text" name="last_name" id="last_name" value="<?php bbp_displayed_user_field( 'last_name', 'edit' ); ?>" class="regular-text" /> 31 31 </div> 32 32 33 33 <div> 34 34 <label for="nickname"><?php _e( 'Nickname', 'bbpress' ); ?></label> 35 <input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>"/>35 <input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" /> 36 36 </div> 37 37 … … 56 56 <div> 57 57 <label for="url"><?php _e( 'Website', 'bbpress' ) ?></label> 58 <input type="text" name="url" id="url" value="<?php bbp_displayed_user_field( 'user_url', 'edit' ); ?>" class="regular-text code" tabindex="<?php bbp_tab_index(); ?>"/>58 <input type="text" name="url" id="url" value="<?php bbp_displayed_user_field( 'user_url', 'edit' ); ?>" class="regular-text code" /> 59 59 </div> 60 60 … … 63 63 <div> 64 64 <label for="<?php echo esc_attr( $name ); ?>"><?php echo apply_filters( 'user_' . $name . '_label', $desc ); ?></label> 65 <input type="text" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" value="<?php bbp_displayed_user_field( $name, 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>"/>65 <input type="text" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" value="<?php bbp_displayed_user_field( $name, 'edit' ); ?>" class="regular-text" /> 66 66 </div> 67 67 … … 81 81 <div> 82 82 <label for="description"><?php _e( 'Biographical Info', 'bbpress' ); ?></label> 83 <textarea name="description" id="description" rows="5" cols="30" tabindex="<?php bbp_tab_index(); ?>"><?php bbp_displayed_user_field( 'description', 'edit' ); ?></textarea>83 <textarea name="description" id="description" rows="5" cols="30"><?php bbp_displayed_user_field( 'description', 'edit' ); ?></textarea> 84 84 </div> 85 85 … … 97 97 <div> 98 98 <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?></label> 99 <input type="text" name="user_login" id="user_login" value="<?php bbp_displayed_user_field( 'user_login', 'edit' ); ?>" disabled="disabled" class="regular-text" tabindex="<?php bbp_tab_index(); ?>"/>99 <input type="text" name="user_login" id="user_login" value="<?php bbp_displayed_user_field( 'user_login', 'edit' ); ?>" disabled="disabled" class="regular-text" /> 100 100 </div> 101 101 … … 103 103 <label for="email"><?php _e( 'Email', 'bbpress' ); ?></label> 104 104 105 <input type="text" name="email" id="email" value="<?php bbp_displayed_user_field( 'user_email', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>"/>105 <input type="text" name="email" id="email" value="<?php bbp_displayed_user_field( 'user_email', 'edit' ); ?>" class="regular-text" /> 106 106 107 107 <?php … … 124 124 <label for="pass1"><?php _e( 'New Password', 'bbpress' ); ?></label> 125 125 <fieldset class="bbp-form password"> 126 <input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" tabindex="<?php bbp_tab_index(); ?>"/>126 <input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> 127 127 <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.', 'bbpress' ); ?></span> 128 128 129 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" tabindex="<?php bbp_tab_index(); ?>"/>129 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> 130 130 <span class="description"><?php _e( 'Type your new password again.', 'bbpress' ); ?></span><br /> 131 131 … … 153 153 <label for="super_admin"><?php _e( 'Network Role', 'bbpress' ); ?></label> 154 154 <label> 155 <input class="checkbox" type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( bbp_get_displayed_user_id() ) ); ?> tabindex="<?php bbp_tab_index(); ?>"/>155 <input class="checkbox" type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( bbp_get_displayed_user_id() ) ); ?> /> 156 156 <?php _e( 'Grant this user super admin privileges for the Network.', 'bbpress' ); ?> 157 157 </label> … … 176 176 <?php bbp_edit_user_form_fields(); ?> 177 177 178 <button type="submit" tabindex="<?php bbp_tab_index(); ?>"id="bbp_user_edit_submit" name="bbp_user_edit_submit" class="button submit user-submit"><?php bbp_is_user_home_edit() ? _e( 'Update Profile', 'bbpress' ) : _e( 'Update User', 'bbpress' ); ?></button>178 <button type="submit" id="bbp_user_edit_submit" name="bbp_user_edit_submit" class="button submit user-submit"><?php bbp_is_user_home_edit() ? _e( 'Update Profile', 'bbpress' ) : _e( 'Update User', 'bbpress' ); ?></button> 179 179 </div> 180 180 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.