Ticket #3586: 3586.01.patch
File 3586.01.patch, 6.8 KB (added by , 13 years ago) |
---|
-
bp-settings/bp-settings-actions.php
function bp_core_screen_general_settings() { 109 109 } 110 110 111 111 // Load the template 112 bp_core_load_template( apply_filters( 'bp_core_screen_general_settings', 'members/single/ settings/general' ) );112 bp_core_load_template( apply_filters( 'bp_core_screen_general_settings', 'members/single/home' ) ); 113 113 } 114 114 115 115 /** Notifications *************************************************************/ … … function bp_core_screen_notification_settings() { 137 137 do_action( 'bp_core_notification_settings_after_save' ); 138 138 } 139 139 140 bp_core_load_template( apply_filters( 'bp_core_screen_notification_settings', 'members/single/ settings/notifications' ) );140 bp_core_load_template( apply_filters( 'bp_core_screen_notification_settings', 'members/single/home' ) ); 141 141 } 142 142 143 143 /** Delete Account ************************************************************/ … … function bp_core_screen_delete_account() { 161 161 } 162 162 163 163 // Load the template 164 bp_core_load_template( apply_filters( 'bp_core_screen_delete_account', 'members/single/ settings/delete-account' ) );164 bp_core_load_template( apply_filters( 'bp_core_screen_delete_account', 'members/single/home' ) ); 165 165 } 166 166 167 167 ?> 168 No newline at end of file -
bp-themes/bp-default/members/single/settings/delete-account.php
1 <?php2 3 /**4 * BuddyPress Delete Account5 *6 * @package BuddyPress7 * @subpackage bp-default8 */9 ?>10 11 <?php get_header( 'buddypress' ) ?>12 13 <div id="content">14 <div class="padder">15 16 <?php do_action( 'bp_before_member_settings_template' ); ?>17 18 <div id="item-header">19 20 <?php locate_template( array( 'members/single/member-header.php' ), true ); ?>21 22 </div><!-- #item-header -->23 24 <div id="item-nav">25 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">26 <ul>27 28 <?php bp_get_displayed_user_nav(); ?>29 30 <?php do_action( 'bp_member_options_nav' ); ?>31 32 </ul>33 </div>34 </div><!-- #item-nav -->35 36 <div id="item-body" role="main">37 38 <?php do_action( 'bp_before_member_body' ); ?>39 40 <div class="item-list-tabs no-ajax" id="subnav">41 <ul>42 43 <?php bp_get_options_nav(); ?>44 45 <?php do_action( 'bp_member_plugin_options_nav' ); ?>46 47 </ul>48 </div><!-- .item-list-tabs -->49 50 1 <h3><?php _e( 'Delete Account', 'buddypress' ); ?></h3> 51 2 52 3 <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/delete-account'; ?>" name="account-delete-form" id="account-delete-form" class="standard-form" method="post"> … … 68 19 <?php wp_nonce_field( 'delete-account' ); ?> 69 20 </form> 70 21 71 <?php do_action( 'bp_after_member_body' ); ?> 72 73 </div><!-- #item-body --> 74 75 <?php do_action( 'bp_after_member_settings_template' ); ?> 76 77 </div><!-- .padder --> 78 </div><!-- #content --> 79 80 <?php get_sidebar( 'buddypress' ) ?> 81 82 <?php get_footer( 'buddypress' ) ?> 83 No newline at end of file 22 <?php do_action( 'bp_after_member_settings_template' ); ?> -
bp-themes/bp-default/members/single/settings/general.php
1 <?php2 3 /**4 * BuddyPress Member Settings5 *6 * @package BuddyPress7 * @subpackage bp-default8 */9 ?>10 11 <?php get_header( 'buddypress' ) ?>12 13 <div id="content">14 <div class="padder">15 16 <?php do_action( 'bp_before_member_settings_template' ); ?>17 18 <div id="item-header">19 20 <?php locate_template( array( 'members/single/member-header.php' ), true ); ?>21 22 </div><!-- #item-header -->23 24 <div id="item-nav">25 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">26 <ul>27 28 <?php bp_get_displayed_user_nav(); ?>29 30 <?php do_action( 'bp_member_options_nav' ); ?>31 32 </ul>33 </div>34 </div><!-- #item-nav -->35 36 <div id="item-body" role="main">37 38 <?php do_action( 'bp_before_member_body' ); ?>39 40 <div class="item-list-tabs no-ajax" id="subnav">41 <ul>42 43 <?php bp_get_options_nav(); ?>44 45 <?php do_action( 'bp_member_plugin_options_nav' ); ?>46 47 </ul>48 </div><!-- .item-list-tabs -->49 50 1 <h3><?php _e( 'General Settings', 'buddypress' ); ?></h3> 51 2 52 3 <?php do_action( 'bp_template_content' ) ?> … … 75 26 76 27 </form> 77 28 78 <?php do_action( 'bp_after_member_body' ); ?> 79 80 </div><!-- #item-body --> 81 82 <?php do_action( 'bp_after_member_settings_template' ); ?> 83 84 </div><!-- .padder --> 85 </div><!-- #content --> 86 87 <?php get_sidebar( 'buddypress' ) ?> 88 89 <?php get_footer( 'buddypress' ) ?> 90 No newline at end of file 29 <?php do_action( 'bp_after_member_settings_template' ); ?> -
bp-themes/bp-default/members/single/settings/notifications.php
1 <?php2 3 /**4 * BuddyPress Notification Settings5 *6 * @package BuddyPress7 * @subpackage bp-default8 */9 ?>10 11 <?php get_header( 'buddypress' ) ?>12 13 <div id="content">14 <div class="padder">15 16 <?php do_action( 'bp_before_member_settings_template' ); ?>17 18 <div id="item-header">19 20 <?php locate_template( array( 'members/single/member-header.php' ), true ); ?>21 22 </div><!-- #item-header -->23 24 <div id="item-nav">25 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">26 <ul>27 28 <?php bp_get_displayed_user_nav(); ?>29 30 <?php do_action( 'bp_member_options_nav' ); ?>31 32 </ul>33 </div>34 </div><!-- #item-nav -->35 36 <div id="item-body" role="main">37 38 <?php do_action( 'bp_before_member_body' ); ?>39 40 <div class="item-list-tabs no-ajax" id="subnav">41 <ul>42 43 <?php bp_get_options_nav(); ?>44 45 <?php do_action( 'bp_member_plugin_options_nav' ); ?>46 47 </ul>48 </div><!-- .item-list-tabs -->49 50 1 <h3><?php _e( 'Email Notification', 'buddypress' ); ?></h3> 51 2 52 3 <?php do_action( 'bp_template_content' ) ?> … … 68 19 69 20 </form> 70 21 71 <?php do_action( 'bp_after_member_body' ); ?> 72 73 </div><!-- #item-body --> 74 75 <?php do_action( 'bp_after_member_settings_template' ); ?> 76 77 </div><!-- .padder --> 78 </div><!-- #content --> 79 80 <?php get_sidebar( 'buddypress' ) ?> 81 82 <?php get_footer( 'buddypress' ) ?> 83 No newline at end of file 22 <?php do_action( 'bp_after_member_settings_template' ); ?>