Skip to:
Content

BuddyPress.org

Changeset 3515


Ignore:
Timestamp:
12/05/2010 04:48:46 PM (15 years ago)
Author:
boonebgorges
Message:

Adds ids to specific notification settings rows. Fixes #2534

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r3492 r3515  
    215215
    216216        <tbody>
    217             <tr>
     217            <tr id="activity-notification-settings-mentions">
    218218                <td></td>
    219219                <td><?php printf( __( 'A member mentions you in an update using "@%s"', 'buddypress' ), bp_core_get_username( $bp->loggedin_user->id, $bp->loggedin_user->userdata->user_nicename, $bp->loggedin_user->userdata->user_login ) ) ?></td>
     
    221221                <td class="no"><input type="radio" name="notifications[notification_activity_new_mention]" value="no" <?php if ( 'no' == get_user_meta( $bp->loggedin_user->id, 'notification_activity_new_mention', true ) ) { ?>checked="checked" <?php } ?>/></td>
    222222            </tr>
    223             <tr>
     223            <tr id="activity-notification-settings-replies">
    224224                <td></td>
    225225                <td><?php _e( "A member replies to an update or comment you've posted", 'buddypress' ) ?></td>
  • trunk/bp-friends.php

    r3479 r3515  
    120120
    121121        <tbody>
    122             <tr>
     122            <tr id="friends-notification-settings-request">
    123123                <td></td>
    124124                <td><?php _e( 'A member sends you a friendship request', 'buddypress' ) ?></td>
     
    126126                <td class="no"><input type="radio" name="notifications[notification_friends_friendship_request]" value="no" <?php if ( get_user_meta( $current_user->id, 'notification_friends_friendship_request', true ) == 'no' ) { ?>checked="checked" <?php } ?>/></td>
    127127            </tr>
    128             <tr>
     128            <tr id="friends-notification-settings-accepted">
    129129                <td></td>
    130130                <td><?php _e( 'A member accepts your friendship request', 'buddypress' ) ?></td>
  • trunk/bp-groups.php

    r3473 r3515  
    937937
    938938        <tbody>
    939             <tr>
     939            <tr id="groups-notification-settings-invitation">
    940940                <td></td>
    941941                <td><?php _e( 'A member invites you to join a group', 'buddypress' ) ?></td>
     
    943943                <td class="no"><input type="radio" name="notifications[notification_groups_invite]" value="no" <?php if ( 'no' == get_user_meta( $current_user->id, 'notification_groups_invite', true ) ) { ?>checked="checked" <?php } ?>/></td>
    944944            </tr>
    945             <tr>
     945            <tr id="groups-notification-settings-info-updated">
    946946                <td></td>
    947947                <td><?php _e( 'Group information is updated', 'buddypress' ) ?></td>
     
    949949                <td class="no"><input type="radio" name="notifications[notification_groups_group_updated]" value="no" <?php if ( 'no' == get_user_meta( $current_user->id, 'notification_groups_group_updated', true ) ) { ?>checked="checked" <?php } ?>/></td>
    950950            </tr>
    951             <tr>
     951            <tr id="groups-notification-settings-promoted">
    952952                <td></td>
    953953                <td><?php _e( 'You are promoted to a group administrator or moderator', 'buddypress' ) ?></td>
     
    955955                <td class="no"><input type="radio" name="notifications[notification_groups_admin_promotion]" value="no" <?php if ( 'no' == get_user_meta( $current_user->id, 'notification_groups_admin_promotion', true ) ) { ?>checked="checked" <?php } ?>/></td>
    956956            </tr>
    957             <tr>
     957            <tr id="groups-notification-settings-request">
    958958                <td></td>
    959959                <td><?php _e( 'A member requests to join a private group for which you are an admin', 'buddypress' ) ?></td>
  • trunk/bp-messages.php

    r3364 r3515  
    180180
    181181        <tbody>
    182             <tr>
     182            <tr id="messages-notification-settings-new-message">
    183183                <td></td>
    184184                <td><?php _e( 'A member sends you a new message', 'buddypress' ) ?></td>
     
    186186                <td class="no"><input type="radio" name="notifications[notification_messages_new_message]" value="no" <?php if ( 'no' == get_user_meta( $current_user->id, 'notification_messages_new_message', true ) ) { ?>checked="checked" <?php } ?>/></td>
    187187            </tr>
    188             <tr>
     188            <tr id="messages-notification-settings-new-site-notice">
    189189                <td></td>
    190190                <td><?php _e( 'A new site notice is posted', 'buddypress' ) ?></td>
Note: See TracChangeset for help on using the changeset viewer.