Ticket #5673: 5673.patch
File 5673.patch, 1.4 KB (added by , 10 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-admin.php
119 119 120 120 <?php endif; ?> 121 121 122 <?php do_action('xprofile_admin_group_action', $group); ?> 123 122 124 </div> 123 125 </div> 124 126 … … 379 381 $field = $admin_field; ?> 380 382 381 383 <fieldset id="field_<?php echo esc_attr( $field->id ); ?>" class="sortable<?php echo ' ' . $field->type; if ( !empty( $class ) ) echo ' ' . $class; ?>"> 382 <legend><span><?php bp_the_profile_field_name(); ?> <?php if( !$field->can_delete ) : ?> <?php _e( '(Primary)', 'buddypress' ); endif; ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(Required)', 'buddypress' ) ?><?php endif; ?></span></legend> 384 <legend> 385 <span> 386 <?php bp_the_profile_field_name(); ?> 387 <?php if( !$field->can_delete ) : ?> <?php _e( '(Primary)', 'buddypress' ); endif; ?> 388 <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(Required)', 'buddypress' ) ?><?php endif; ?> 389 <?php do_action('xprofile_admin_field_name_legend', $field); ?> 390 </span> 391 </legend> 383 392 <div class="field-wrapper"> 384 393 385 394 <?php … … 408 417 </div> 409 418 410 419 <?php endif; ?> 420 421 <?php do_action('xprofile_admin_field_action', $field); ?> 422 411 423 </div> 412 424 </div> 413 425 </fieldset>