Advertisement
Guest User

form-user-edit.php

a guest
Aug 24th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1.         <?php foreach ( bbp_edit_user_contact_methods() as $name => $desc ) : ?>
  2.  
  3.             <div class="control-group">
  4.                 <label class="control-label" for="<?php echo $name; ?>"><?php echo apply_filters( 'user_'.$name.'_label', $desc ); ?></label>
  5.                 <div class="controls">
  6.                 <input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'name' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
  7.                 </div>
  8.             </div>
  9.  
  10.         <?php endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement