- Timestamp:
- 05/30/2016 06:30:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
r10798 r10828 100 100 do_action( bp_get_the_profile_field_errors_action() ); ?> 101 101 102 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label> 102 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php 103 /* translators: accessibility text */ 104 esc_html_e( 'Select day', 'buddypress' ); 105 ?></label> 103 106 <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> 104 107 <?php bp_the_profile_field_options( array( … … 108 111 </select> 109 112 110 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label> 113 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php 114 /* translators: accessibility text */ 115 esc_html_e( 'Select month', 'buddypress' ); 116 ?></label> 111 117 <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> 112 118 <?php bp_the_profile_field_options( array( … … 116 122 </select> 117 123 118 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label> 124 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php 125 /* translators: accessibility text */ 126 esc_html_e( 'Select year', 'buddypress' ); 127 ?></label> 119 128 <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> 120 129 <?php bp_the_profile_field_options( array( … … 275 284 ) ); ?> 276 285 277 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="screen-reader-text"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label> 286 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="screen-reader-text"><?php 287 /* translators: accessibility text */ 288 esc_html_e( 'Select day', 'buddypress' ); 289 ?></label> 278 290 <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> 279 291 <?php bp_the_profile_field_options( array( 'type' => 'day' ) ); ?> 280 292 </select> 281 293 282 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="screen-reader-text"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label> 294 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="screen-reader-text"><?php 295 /* translators: accessibility text */ 296 esc_html_e( 'Select month', 'buddypress' ); 297 ?></label> 283 298 <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> 284 299 <?php bp_the_profile_field_options( array( 'type' => 'month' ) ); ?> 285 300 </select> 286 301 287 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="screen-reader-text"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label> 302 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="screen-reader-text"><?php 303 /* translators: accessibility text */ 304 esc_html_e( 'Select year', 'buddypress' ); 305 ?></label> 288 306 <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> 289 307 <?php bp_the_profile_field_options( array( 'type' => 'year' ) ); ?>
Note: See TracChangeset
for help on using the changeset viewer.