Ticket #6531: 6531-settings-email.2.patch
File 6531-settings-email.2.patch, 10.4 KB (added by , 9 years ago) |
---|
-
src/bp-activity/bp-activity-screens.php
387 387 <tr id="activity-notification-settings-mentions"> 388 388 <td> </td> 389 389 <td><?php printf( __( 'A member mentions you in an update using "@%s"', 'buddypress' ), bp_core_get_username( bp_displayed_user_id() ) ) ?></td> 390 <td class="yes">< input type="radio" name="notifications[notification_activity_new_mention]" value="yes" <?php checked( $mention, 'yes', true ) ?>/></td>391 <td class="no">< input type="radio" name="notifications[notification_activity_new_mention]" value="no" <?php checked( $mention, 'no', true ) ?>/></td>390 <td class="yes"><label><input type="radio" name="notifications[notification_activity_new_mention]" value="yes" <?php checked( $mention, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 391 <td class="no"><label><input type="radio" name="notifications[notification_activity_new_mention]" value="no" <?php checked( $mention, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 392 392 </tr> 393 393 <?php endif; ?> 394 394 … … 395 395 <tr id="activity-notification-settings-replies"> 396 396 <td> </td> 397 397 <td><?php _e( "A member replies to an update or comment you've posted", 'buddypress' ) ?></td> 398 <td class="yes">< input type="radio" name="notifications[notification_activity_new_reply]" value="yes" <?php checked( $reply, 'yes', true ) ?>/></td>399 <td class="no">< input type="radio" name="notifications[notification_activity_new_reply]" value="no" <?php checked( $reply, 'no', true ) ?>/></td>398 <td class="yes"><label><input type="radio" name="notifications[notification_activity_new_reply]" value="yes" <?php checked( $reply, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 399 <td class="no"><label><input type="radio" name="notifications[notification_activity_new_reply]" value="no" <?php checked( $reply, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 400 400 </tr> 401 401 402 402 <?php -
src/bp-friends/bp-friends-screens.php
116 116 <tr id="friends-notification-settings-request"> 117 117 <td></td> 118 118 <td><?php _ex( 'A member sends you a friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td> 119 <td class="yes">< input type="radio" name="notifications[notification_friends_friendship_request]" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/></td>120 <td class="no">< input type="radio" name="notifications[notification_friends_friendship_request]" value="no" <?php checked( $send_requests, 'no', true ) ?>/></td>119 <td class="yes"><label><input type="radio" name="notifications[notification_friends_friendship_request]" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 120 <td class="no"><label><input type="radio" name="notifications[notification_friends_friendship_request]" value="no" <?php checked( $send_requests, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 121 121 </tr> 122 122 <tr id="friends-notification-settings-accepted"> 123 123 <td></td> 124 124 <td><?php _ex( 'A member accepts your friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td> 125 <td class="yes">< input type="radio" name="notifications[notification_friends_friendship_accepted]" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/></td>126 <td class="no">< input type="radio" name="notifications[notification_friends_friendship_accepted]" value="no" <?php checked( $accept_requests, 'no', true ) ?>/></td>125 <td class="yes"><label><input type="radio" name="notifications[notification_friends_friendship_accepted]" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 126 <td class="no"><label><input type="radio" name="notifications[notification_friends_friendship_accepted]" value="no" <?php checked( $accept_requests, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 127 127 </tr> 128 128 129 129 <?php -
src/bp-groups/bp-groups-screens.php
1338 1338 <tr id="groups-notification-settings-invitation"> 1339 1339 <td></td> 1340 1340 <td><?php _ex( 'A member invites you to join a group', 'group settings on notification settings page','buddypress' ) ?></td> 1341 <td class="yes">< input type="radio" name="notifications[notification_groups_invite]" value="yes" <?php checked( $group_invite, 'yes', true ) ?>/></td>1342 <td class="no">< input type="radio" name="notifications[notification_groups_invite]" value="no" <?php checked( $group_invite, 'no', true ) ?>/></td>1341 <td class="yes"><label><input type="radio" name="notifications[notification_groups_invite]" value="yes" <?php checked( $group_invite, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 1342 <td class="no"><label><input type="radio" name="notifications[notification_groups_invite]" value="no" <?php checked( $group_invite, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 1343 1343 </tr> 1344 1344 <tr id="groups-notification-settings-info-updated"> 1345 1345 <td></td> 1346 1346 <td><?php _ex( 'Group information is updated', 'group settings on notification settings page', 'buddypress' ) ?></td> 1347 <td class="yes">< input type="radio" name="notifications[notification_groups_group_updated]" value="yes" <?php checked( $group_update, 'yes', true ) ?>/></td>1348 <td class="no">< input type="radio" name="notifications[notification_groups_group_updated]" value="no" <?php checked( $group_update, 'no', true ) ?>/></td>1347 <td class="yes"><label><input type="radio" name="notifications[notification_groups_group_updated]" value="yes" <?php checked( $group_update, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 1348 <td class="no"><label><input type="radio" name="notifications[notification_groups_group_updated]" value="no" <?php checked( $group_update, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 1349 1349 </tr> 1350 1350 <tr id="groups-notification-settings-promoted"> 1351 1351 <td></td> 1352 1352 <td><?php _ex( 'You are promoted to a group administrator or moderator', 'group settings on notification settings page', 'buddypress' ) ?></td> 1353 <td class="yes">< input type="radio" name="notifications[notification_groups_admin_promotion]" value="yes" <?php checked( $group_promo, 'yes', true ) ?>/></td>1354 <td class="no">< input type="radio" name="notifications[notification_groups_admin_promotion]" value="no" <?php checked( $group_promo, 'no', true ) ?>/></td>1353 <td class="yes"><label><input type="radio" name="notifications[notification_groups_admin_promotion]" value="yes" <?php checked( $group_promo, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 1354 <td class="no"><label><input type="radio" name="notifications[notification_groups_admin_promotion]" value="no" <?php checked( $group_promo, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 1355 1355 </tr> 1356 1356 <tr id="groups-notification-settings-request"> 1357 1357 <td></td> 1358 1358 <td><?php _ex( 'A member requests to join a private group for which you are an admin', 'group settings on notification settings page', 'buddypress' ) ?></td> 1359 <td class="yes">< input type="radio" name="notifications[notification_groups_membership_request]" value="yes" <?php checked( $group_request, 'yes', true ) ?>/></td>1360 <td class="no">< input type="radio" name="notifications[notification_groups_membership_request]" value="no" <?php checked( $group_request, 'no', true ) ?>/></td>1359 <td class="yes"><label><input type="radio" name="notifications[notification_groups_membership_request]" value="yes" <?php checked( $group_request, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 1360 <td class="no"><label><input type="radio" name="notifications[notification_groups_membership_request]" value="no" <?php checked( $group_request, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 1361 1361 </tr> 1362 1362 1363 1363 <?php -
src/bp-messages/bp-messages-screens.php
209 209 <tr id="messages-notification-settings-new-message"> 210 210 <td></td> 211 211 <td><?php _e( 'A member sends you a new message', 'buddypress' ) ?></td> 212 <td class="yes">< input type="radio" name="notifications[notification_messages_new_message]" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/></td>213 <td class="no">< input type="radio" name="notifications[notification_messages_new_message]" value="no" <?php checked( $new_messages, 'no', true ) ?>/></td>212 <td class="yes"><label><input type="radio" name="notifications[notification_messages_new_message]" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Send email', 'buddypress' ); ?></span></label></td> 213 <td class="no"><label><input type="radio" name="notifications[notification_messages_new_message]" value="no" <?php checked( $new_messages, 'no', true ) ?>/><span class="bp-screen-reader-text"><?php _e( 'Do not send email', 'buddypress' ); ?></span></label></td> 214 214 </tr> 215 215 216 216 <?php