Changeset 3352
- Timestamp:
- 11/05/2010 03:18:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-settings.php
r3300 r3352 58 58 if ( !$pass_error && wp_update_user( get_object_vars( $current_user ) ) ) 59 59 $bp_settings_updated = true; 60 61 do_action( 'bp_core_general_settings_after_save' ); 60 62 } 61 63 … … 67 69 68 70 function bp_core_screen_general_settings_title() { 69 _e( 'General Settings', 'buddypress');71 echo apply_filters( 'bp_core_general_settings_title', __( 'General Settings', 'buddypress' ) ); 70 72 } 71 73 … … 92 94 <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small" /> <?php _e( 'New Password', 'buddypress' ) ?><br /> 93 95 <input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small" /> <?php _e( 'Repeat New Password', 'buddypress' ) ?> 96 97 <?php do_action( 'bp_core_general_settings_before_submit' ) ?> 94 98 95 99 <div class="submit"> 96 100 <input type="submit" name="submit" value="<?php _e( 'Save Changes', 'buddypress' ) ?>" id="submit" class="auto" /> 97 101 </div> 102 103 <?php do_action( 'bp_core_general_settings_after_submit' ) ?> 98 104 99 105 <?php wp_nonce_field('bp_settings_general') ?> … … 119 125 120 126 $bp_settings_updated = true; 127 128 do_action( 'bp_core_notification_settings_after_save' ); 121 129 } 122 130 … … 128 136 129 137 function bp_core_screen_notification_settings_title() { 130 _e( 'Notification Settings', 'buddypress' );138 echo apply_filters( 'bp_core_notification_settings_title', __( 'Notification Settings', 'buddypress' ) );; 131 139 } 132 140 … … 150 158 </div> 151 159 160 <?php do_action( 'bp_core_notification_settings_after_submit' ) ?> 161 152 162 <?php wp_nonce_field('bp_settings_notifications') ?> 153 163 … … 174 184 175 185 function bp_core_screen_delete_account_title() { 176 _e( 'Delete Account', 'buddypress');186 echo apply_filters( 'bp_core_delete_account_title', __( 'Delete Account', 'buddypress' ) ); 177 187 } 178 188 … … 188 198 <input type="checkbox" name="delete-account-understand" id="delete-account-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-account-button').disabled = ''; } else { document.getElementById('delete-account-button').disabled = 'disabled'; }" /> <?php _e( 'I understand the consequences of deleting my account.', 'buddypress' ); ?> 189 199 200 <?php do_action( 'bp_core_delete_account_before_submit' ) ?> 201 190 202 <div class="submit"> 191 203 <input type="submit" disabled="disabled" value="<?php _e( 'Delete My Account', 'buddypress' ) ?> →" id="delete-account-button" name="delete-account-button" /> 192 204 </div> 205 206 <?php do_action( 'bp_core_delete_account_after_submit' ) ?> 193 207 194 208 <?php wp_nonce_field('delete-account') ?>
Note: See TracChangeset
for help on using the changeset viewer.