Ticket #7348: 7348-move-desc-close-to-form-controls.patch
File 7348-move-desc-close-to-form-controls.patch, 8.6 KB (added by , 7 years ago) |
---|
-
src/bp-templates/bp-legacy/buddypress/members/register.php
222 222 */ 223 223 do_action( 'bp_custom_profile_edit_fields' ); ?> 224 224 225 <p class="description"><?php bp_the_profile_field_description(); ?></p>226 227 225 </div> 228 226 229 227 <?php endwhile; ?> -
src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
91 91 */ 92 92 do_action( 'bp_custom_profile_edit_fields' ); ?> 93 93 94 <p class="description"><?php bp_the_profile_field_description(); ?></p>95 94 </div> 96 95 97 96 <?php endwhile; ?> -
src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
73 73 <?php bp_the_profile_field_required_label(); ?> 74 74 </legend> 75 75 76 <?php if ( bp_get_the_profile_field_description() ) : ?> 77 <p class="description" tabindex="0"><?php bp_the_profile_field_description(); ?></p> 78 <?php endif; ?> 79 76 80 <?php 77 81 78 82 /** This action is documented in bp-xprofile/bp-xprofile-classes */ -
src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
87 87 <?php bp_the_profile_field_required_label(); ?> 88 88 </legend> 89 89 90 <?php if ( bp_get_the_profile_field_description() ) : ?> 91 <p class="description" tabindex="0"><?php bp_the_profile_field_description(); ?></p> 92 <?php endif; ?> 93 90 94 <div class="input-options datebox-selects"> 91 95 92 96 <?php -
src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php
83 83 /** This action is documented in bp-xprofile/bp-xprofile-classes */ 84 84 do_action( bp_get_the_profile_field_errors_action() ); ?> 85 85 86 <select <?php echo $this->get_edit_field_html_elements( $r ); ?> >86 <select <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3"> 87 87 <?php bp_the_profile_field_options( array( 88 88 'user_id' => $user_id 89 89 ) ); ?> 90 90 </select> 91 91 92 <?php if ( bp_get_the_profile_field_description() ) : ?> 93 <p class="description" id="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_description(); ?></p> 94 <?php endif; ?> 95 92 96 <?php if ( ! bp_get_the_profile_field_is_required() ) : ?> 93 97 94 98 <a class="clear-value" href="javascript:clear( '<?php echo esc_js( bp_get_the_profile_field_input_name() ); ?>[]' );"> -
src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php
75 75 /** This action is documented in bp-xprofile/bp-xprofile-classes */ 76 76 do_action( bp_get_the_profile_field_errors_action() ); ?> 77 77 78 <input <?php echo $this->get_edit_field_html_elements( $r ); ?> >78 <input <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3"> 79 79 80 <?php if ( bp_get_the_profile_field_description() ) : ?> 81 <p class="description" id="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_description(); ?></p> 82 <?php endif; ?> 83 80 84 <?php 81 85 } 82 86 -
src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
72 72 <?php bp_the_profile_field_required_label(); ?> 73 73 </legend> 74 74 75 <?php if ( bp_get_the_profile_field_description() ) : ?> 76 <p class="description" tabindex="0"><?php bp_the_profile_field_description(); ?></p> 77 <?php endif; ?> 78 75 79 <?php 76 80 77 81 /** This action is documented in bp-xprofile/bp-xprofile-classes */ -
src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php
75 75 /** This action is documented in bp-xprofile/bp-xprofile-classes */ 76 76 do_action( bp_get_the_profile_field_errors_action() ); ?> 77 77 78 <select <?php echo $this->get_edit_field_html_elements( $raw_properties ); ?> >78 <select <?php echo $this->get_edit_field_html_elements( $raw_properties ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3"> 79 79 <?php bp_the_profile_field_options( array( 'user_id' => $user_id ) ); ?> 80 80 </select> 81 81 82 <?php if ( bp_get_the_profile_field_description() ) : ?> 83 <p class="description" id="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_description(); ?></p> 84 <?php endif; ?> 85 82 86 <?php 83 87 } 84 88 -
src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php
81 81 82 82 ?> 83 83 84 <textarea <?php echo $this->get_edit_field_html_elements( $r ); ?> ><?php bp_the_profile_field_edit_value(); ?></textarea>84 <textarea <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_edit_value(); ?></textarea> 85 85 86 86 <?php 87 87 … … 117 117 $editor_args 118 118 ); 119 119 } 120 121 if ( bp_get_the_profile_field_description() ) : ?> 122 <p class="description" id="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_description(); ?></p> 123 <?php endif; 120 124 } 121 125 122 126 /** -
src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php
74 74 /** This action is documented in bp-xprofile/bp-xprofile-classes */ 75 75 do_action( bp_get_the_profile_field_errors_action() ); ?> 76 76 77 <input <?php echo $this->get_edit_field_html_elements( $r ); ?> >77 <input <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3"> 78 78 79 <?php if ( bp_get_the_profile_field_description() ) : ?> 80 <p class="description" id="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_description(); ?></p> 81 <?php endif; ?> 82 79 83 <?php 80 84 } 81 85 -
src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
76 76 /** This action is documented in bp-xprofile/bp-xprofile-classes */ 77 77 do_action( bp_get_the_profile_field_errors_action() ); ?> 78 78 79 <input <?php echo $this->get_edit_field_html_elements( $r ); ?> >79 <input <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3"> 80 80 81 <?php if ( bp_get_the_profile_field_description() ) : ?> 82 <p class="description" id="<?php bp_the_profile_field_input_name(); ?>-3"><?php bp_the_profile_field_description(); ?></p> 83 <?php endif; ?> 84 81 85 <?php 82 86 } 83 87