Changeset 7271 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 07/11/2013 05:28:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r7265 r7271 353 353 if ( empty( $this->id ) ) { 354 354 $title = __( 'Add New Field Group', 'buddypress' ); 355 $action = " admin.php?page=bp-profile-setup&mode=add_group";355 $action = "users.php?page=bp-profile-setup&mode=add_group"; 356 356 $button = __( 'Create Field Group', 'buddypress' ); 357 357 } else { 358 358 $title = __( 'Edit Field Group', 'buddypress' ); 359 $action = " admin.php?page=bp-profile-setup&mode=edit_group&group_id=" . $this->id;359 $action = "users.php?page=bp-profile-setup&mode=edit_group&group_id=" . $this->id; 360 360 $button = __( 'Save Changes', 'buddypress' ); 361 361 } ?> … … 404 404 <div id="major-publishing-actions"> 405 405 <div id="delete-action"> 406 <a href=" admin.php?page=bp-profile-setup" class="submitdelete deletion"><?php _e( 'Cancel', 'buddypress' ); ?></a>406 <a href="users.php?page=bp-profile-setup" class="submitdelete deletion"><?php _e( 'Cancel', 'buddypress' ); ?></a> 407 407 </div> 408 408 <div id="publishing-action"> … … 785 785 <input type="<?php echo $default_input; ?>" name="isDefault_<?php echo esc_attr( $type ); ?>_option<?php echo esc_attr( $default_name ); ?>" <?php checked( (int) $options[$i]->is_default_option, true ); ?> value="<?php echo esc_attr( $j ); ?>" /> 786 786 <span><?php _e( 'Default Value', 'buddypress' ); ?></span> 787 <a href="<?php echo esc_url( ' admin.php?page=bp-profile-setup&mode=delete_option&option_id=' . $options[$i]->id ); ?>" class="ajax-option-delete" id="delete-<?php echo esc_attr( $options[$i]->id ); ?>">[x]</a>787 <a href="<?php echo esc_url( 'users.php?page=bp-profile-setup&mode=delete_option&option_id=' . $options[$i]->id ); ?>" class="ajax-option-delete" id="delete-<?php echo esc_attr( $options[$i]->id ); ?>">[x]</a> 788 788 </p> 789 789 … … 817 817 if ( empty( $this->id ) ) { 818 818 $title = __( 'Add Field', 'buddypress' ); 819 $action = " admin.php?page=bp-profile-setup&group_id=" . $this->group_id . "&mode=add_field#tabs-" . $this->group_id;819 $action = "users.php?page=bp-profile-setup&group_id=" . $this->group_id . "&mode=add_field#tabs-" . $this->group_id; 820 820 821 821 if ( !empty( $_POST['saveField'] ) ) { … … 829 829 } else { 830 830 $title = __( 'Edit Field', 'buddypress' ); 831 $action = " admin.php?page=bp-profile-setup&mode=edit_field&group_id=" . $this->group_id . "&field_id=" . $this->id . "#tabs-" . $this->group_id;831 $action = "users.php?page=bp-profile-setup&mode=edit_field&group_id=" . $this->group_id . "&field_id=" . $this->id . "#tabs-" . $this->group_id; 832 832 } ?> 833 833 … … 926 926 <input type="hidden" name="field_order" id="field_order" value="<?php echo esc_attr( $this->field_order ); ?>" /> 927 927 <input type="submit" value="<?php _e( 'Save', 'buddypress' ); ?>" name="saveField" id="saveField" style="font-weight: bold" class="button-primary" /> 928 <?php _e( 'or', 'buddypress' ); ?> <a href=" admin.php?page=bp-profile-setup" class="deletion"><?php _e( 'Cancel', 'buddypress' ); ?></a>928 <?php _e( 'or', 'buddypress' ); ?> <a href="users.php?page=bp-profile-setup" class="deletion"><?php _e( 'Cancel', 'buddypress' ); ?></a> 929 929 </p> 930 930
Note: See TracChangeset
for help on using the changeset viewer.