Ticket #5595: 5595.01.patch
File 5595.01.patch, 3.6 KB (added by , 11 years ago) |
---|
-
bp-xprofile/bp-xprofile-classes.php
1514 1514 <div class="datebox"> 1515 1515 1516 1516 <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 esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 1517 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 1517 1518 1518 1519 <select <?php echo $day_html; ?>> 1519 1520 <?php bp_the_profile_field_options( array( 'type' => 'day', 'user_id' => $user_id ) ); ?> … … 1738 1739 <div class="checkbox"> 1739 1740 1740 1741 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 1742 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 1741 1743 <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?> 1742 1744 1743 1745 </div> … … 1875 1877 <div class="radio"> 1876 1878 1877 1879 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 1880 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 1878 1881 <?php bp_the_profile_field_options( "user_id={$user_id}" ); 1879 1882 1880 1883 if ( ! bp_get_the_profile_field_is_required() ) : ?> … … 2019 2022 ) ); 2020 2023 ?> 2021 2024 <label for="<?php bp_the_profile_field_input_name(); ?>[]"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 2025 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 2022 2026 <select <?php echo $html; ?>> 2023 2027 <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?> 2024 2028 </select> … … 2163 2167 $html = $this->get_edit_field_html_elements( $raw_properties ); 2164 2168 ?> 2165 2169 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 2170 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 2166 2171 <select <?php echo $html; ?>> 2167 2172 <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?> 2168 2173 </select> … … 2302 2307 ) ); 2303 2308 ?> 2304 2309 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 2310 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 2305 2311 <textarea <?php echo $html; ?>><?php bp_the_profile_field_edit_value(); ?></textarea> 2306 2312 <?php 2307 2313 } … … 2384 2390 ) ); 2385 2391 ?> 2386 2392 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 2393 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 2387 2394 <input <?php echo $html; ?>> 2388 2395 <?php 2389 2396 } … … 2463 2470 ) ); 2464 2471 ?> 2465 2472 <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label> 2473 <?php do_action( bp_get_the_profile_field_errors_action() ); ?> 2466 2474 <input <?php echo $html; ?>> 2467 2475 <?php 2468 2476 }