diff --git src/bp-groups/bp-groups-template.php src/bp-groups/bp-groups-template.php
index 0e3ec0a..3f96261 100644
|
|
function bp_new_group_invite_friend_list( $args = array() ) { |
4953 | 4953 | $invites = groups_get_invites_for_group( $r['user_id'], $r['group_id'] ); |
4954 | 4954 | |
4955 | 4955 | for ( $i = 0, $count = count( $friends ); $i < $count; ++$i ) { |
| 4956 | |
4956 | 4957 | $checked = in_array( (int) $friends[ $i ]['id'], (array) $invites ); |
4957 | | $items[] = '<' . $r['separator'] . '><input' . checked( $checked ) . ' type="checkbox" name="friends[]" id="f-' . esc_attr( $friends[ $i ]['id'] ) . '" value="' . esc_attr( $friends[ $i ]['id'] ) . '" /> ' . esc_html( $friends[ $i ]['full_name'] ) . '</' . $r['separator'] . '>'; |
| 4958 | |
| 4959 | $items[] = '<' . $r['separator'] . '><label for="f-' . esc_attr( $friends[ $i ]['id'] ) . '"><input' . checked( $checked ) . ' type="checkbox" name="friends[]" id="f-' . esc_attr( $friends[ $i ]['id'] ) . '" value="' . esc_attr( $friends[ $i ]['id'] ) . '" /> ' . esc_html( $friends[ $i ]['full_name'] ) . '</label></' . $r['separator'] . '>'; |
4958 | 4960 | } |
4959 | 4961 | } |
4960 | 4962 | |
diff --git src/bp-templates/bp-legacy/css/buddypress-rtl.css src/bp-templates/bp-legacy/css/buddypress-rtl.css
index b10a629..f333dda 100644
|
|
body.activity-permalink #buddypress div.activity-comments div.acomment-content { |
655 | 655 | margin: 15px 0 5px 0; |
656 | 656 | width: auto; |
657 | 657 | } |
658 | | #buddypress .standard-form p label { |
| 658 | #buddypress .standard-form p label, |
| 659 | #buddypress .standard-form #invite-list label { |
659 | 660 | font-weight: normal; |
660 | 661 | margin: auto; |
661 | 662 | } |
diff --git src/bp-templates/bp-legacy/css/buddypress.css src/bp-templates/bp-legacy/css/buddypress.css
index 0d78f61..6d0ef13 100644
|
|
body.activity-permalink #buddypress div.activity-comments div.acomment-content { |
655 | 655 | margin: 15px 0 5px 0; |
656 | 656 | width: auto; |
657 | 657 | } |
658 | | #buddypress .standard-form p label { |
| 658 | #buddypress .standard-form p label, |
| 659 | #buddypress .standard-form #invite-list label { |
659 | 660 | font-weight: normal; |
660 | 661 | margin: auto; |
661 | 662 | } |