Changeset 9634
- Timestamp:
- 03/23/2015 08:19:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php
r9633 r9634 374 374 public function render_admin_form( $message = '' ) { 375 375 if ( empty( $this->id ) ) { 376 $title = __( 'Add Field', 'buddypress' );376 $title = __( 'Add New Field', 'buddypress' ); 377 377 $action = "users.php?page=bp-profile-setup&group_id=" . $this->group_id . "&mode=add_field#tabs-" . $this->group_id; 378 $button = __( 'Save', 'buddypress' ); 378 379 379 380 if ( !empty( $_POST['saveField'] ) ) { … … 388 389 $title = __( 'Edit Field', 'buddypress' ); 389 390 $action = "users.php?page=bp-profile-setup&mode=edit_field&group_id=" . $this->group_id . "&field_id=" . $this->id . "#tabs-" . $this->group_id; 391 $button = __( 'Update', 'buddypress' ); 390 392 } ?> 391 393 … … 456 458 <input type="hidden" name="field_order" id="field_order" value="<?php echo esc_attr( $this->field_order ); ?>" /> 457 459 <div id="publishing-action"> 458 <input type="submit" value="<?php esc_attr_e( 'Save', 'buddypress' ); ?>" name="saveField" id="saveField" style="font-weight: bold" class="button-primary" />460 <input type="submit" name="saveField" value="<?php echo esc_attr( $button ); ?>" class="button-primary" /> 459 461 </div> 460 462 <div id="delete-action">
Note: See TracChangeset
for help on using the changeset viewer.