Guest User

Date field issue

a guest
Jun 10th, 2011
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.06 KB | None | 0 0
  1. <?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
  2.  
  3.                                     <div class="datebox">
  4.                                         <label for="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
  5.                                         <?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
  6.  
  7.                                         <select name="<?php bp_the_profile_field_input_name() ?>_day" id="<?php bp_the_profile_field_input_name() ?>_day">
  8.                                             <?php bp_the_profile_field_options( 'type=day' ) ?>
  9.                                         </select>
  10.  
  11.                                         <select name="<?php bp_the_profile_field_input_name() ?>_month" id="<?php bp_the_profile_field_input_name() ?>_month">
  12.                                             <?php bp_the_profile_field_options( 'type=month' ) ?>
  13.                                         </select>
  14.  
  15.                                         <select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name() ?>_year">
  16.                                             <?php bp_the_profile_field_options( 'type=year' ) ?>
  17.                                         </select>
  18.                                     </div>
Advertisement
Add Comment
Please, Sign In to add comment