Skip to:
Content

BuddyPress.org

Ticket #5595: 5595.01.patch

File 5595.01.patch, 3.6 KB (added by r-a-y, 11 years ago)
  • bp-xprofile/bp-xprofile-classes.php

     
    15141514                <div class="datebox">
    15151515
    15161516                        <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() ); ?>
    15171518
    15181519                        <select <?php echo $day_html; ?>>
    15191520                                <?php bp_the_profile_field_options( array( 'type' => 'day', 'user_id' => $user_id ) ); ?>
     
    17381739                <div class="checkbox">
    17391740
    17401741                        <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() ); ?>
    17411743                        <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?>
    17421744
    17431745                </div>
     
    18751877                <div class="radio">
    18761878
    18771879                        <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() ); ?>
    18781881                        <?php bp_the_profile_field_options( "user_id={$user_id}" );
    18791882
    18801883                        if ( ! bp_get_the_profile_field_is_required() ) : ?>
     
    20192022                ) );
    20202023        ?>
    20212024                <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() ); ?>
    20222026                <select <?php echo $html; ?>>
    20232027                        <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?>
    20242028                </select>
     
    21632167                $html = $this->get_edit_field_html_elements( $raw_properties );
    21642168        ?>
    21652169                <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() ); ?>
    21662171                <select <?php echo $html; ?>>
    21672172                        <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?>
    21682173                </select>
     
    23022307                ) );
    23032308        ?>
    23042309                <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() ); ?>
    23052311                <textarea <?php echo $html; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>
    23062312        <?php
    23072313        }
     
    23842390                ) );
    23852391        ?>
    23862392                <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() ); ?>
    23872394                <input <?php echo $html; ?>>
    23882395        <?php
    23892396        }
     
    24632470                ) );
    24642471        ?>
    24652472                <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() ); ?>
    24662474                <input <?php echo $html; ?>>
    24672475        <?php
    24682476        }