Changeset 6955
- Timestamp:
- 04/26/2013 11:40:21 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-screens.php
r6876 r6955 524 524 return false; 525 525 526 if ( !groups_edit_base_group_details( $_POST['group-id'], $_POST['group-name'], $_POST['group-desc'], (int) $_POST['group-notify-members'] ) ) { 526 $group_notify_members = isset( $_POST['group-notify-members'] ) ? (int) $_POST['group-notify-members'] : 0; 527 528 if ( !groups_edit_base_group_details( $_POST['group-id'], $_POST['group-name'], $_POST['group-desc'], $group_notify_members ) ) { 527 529 bp_core_add_message( __( 'There was an error updating group details, please try again.', 'buddypress' ), 'error' ); 528 530 } else { -
trunk/bp-templates/bp-legacy/buddypress/groups/single/admin.php
r6284 r6955 23 23 24 24 <p> 25 <label for="group-notifiy-members"> <?php _e( 'Notify group members of changes via email', 'buddypress' ); ?></label>26 <input type="radio" name="group-notify-members" value="1" /> <?php _e( 'Yes', 'buddypress' ); ?> 27 < input type="radio" name="group-notify-members" value="0" checked="checked" /> <?php _e( 'No', 'buddypress' ); ?> 25 <label for="group-notifiy-members"> 26 <input type="checkbox" name="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?> 27 </label> 28 28 </p> 29 29 -
trunk/bp-themes/bp-default/groups/single/admin.php
r5879 r6955 23 23 24 24 <p> 25 <label for="group-notifiy-members"> <?php _e( 'Notify group members of changes via email', 'buddypress' ); ?></label>26 <input type="radio" name="group-notify-members" value="1" /> <?php _e( 'Yes', 'buddypress' ); ?> 27 < input type="radio" name="group-notify-members" value="0" checked="checked" /> <?php _e( 'No', 'buddypress' ); ?> 25 <label for="group-notifiy-members"> 26 <input type="checkbox" name="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?> 27 </label> 28 28 </p> 29 29
Note: See TracChangeset
for help on using the changeset viewer.