diff --git src/bp-groups/admin/css/admin.css src/bp-groups/admin/css/admin.css
index 651a6d5..b80b8d8 100644
|
|
body.toplevel_page_bp-groups table.groups th#last_active { |
28 | 28 | #bp-groups-new-members-list { |
29 | 29 | margin: 0; |
30 | 30 | } |
31 | | #bp_group_settings legend { |
32 | | margin: 10px 0; |
| 31 | .bp-groups-settings-section { |
| 32 | margin-top: 10px; |
| 33 | line-height: 2em; |
| 34 | } |
| 35 | .bp-groups-settings-section legend { |
| 36 | margin-top: 10px; |
33 | 37 | font-weight: bold; |
34 | 38 | } |
35 | | #bp_group_settings ul { |
36 | | margin: 0; |
| 39 | .bp-groups-settings-section input[type="checkbox"], |
| 40 | .bp-groups-settings-section input[type="radio"] { |
| 41 | margin-top: 1px; |
37 | 42 | } |
38 | | .bp-groups-settings-section { |
39 | | margin-top: 10px; |
| 43 | .bp-groups-settings-section label { |
| 44 | padding: 2px 0 2px 0; |
40 | 45 | } |
41 | 46 | #bp-groups-permalink-box { |
42 | 47 | line-height: 24px; |
diff --git src/bp-groups/bp-groups-admin.php src/bp-groups/bp-groups-admin.php
index 5a2a0bf..74dad2a 100644
|
|
function bp_groups_admin_edit_metabox_settings( $item ) { |
806 | 806 | <fieldset> |
807 | 807 | <legend><?php _e( 'Privacy', 'buddypress' ); ?></legend> |
808 | 808 | |
809 | | <ul> |
810 | | <li><input type="radio" name="group-status" id="bp-group-status-public" value="public" <?php checked( $item->status, 'public' ) ?> /><label for="bp-group-status-public"><?php _e( 'Public', 'buddypress' ) ?></label></li> |
811 | | <li><input type="radio" name="group-status" id="bp-group-status-private" value="private" <?php checked( $item->status, 'private' ) ?> /><label for="bp-group-status-private"><?php _e( 'Private', 'buddypress' ) ?></label></li> |
812 | | <li><input type="radio" name="group-status" id="bp-group-status-hidden" value="hidden" <?php checked( $item->status, 'hidden' ) ?> /><label for="bp-group-status-hidden"><?php _e( 'Hidden', 'buddypress' ) ?></label></li> |
813 | | </ul> |
| 809 | <input type="radio" name="group-status" id="bp-group-status-public" value="public" <?php checked( $item->status, 'public' ) ?> /><label for="bp-group-status-public"><?php _e( 'Public', 'buddypress' ) ?></label><br /> |
| 810 | <input type="radio" name="group-status" id="bp-group-status-private" value="private" <?php checked( $item->status, 'private' ) ?> /><label for="bp-group-status-private"><?php _e( 'Private', 'buddypress' ) ?></label><br /> |
| 811 | <input type="radio" name="group-status" id="bp-group-status-hidden" value="hidden" <?php checked( $item->status, 'hidden' ) ?> /><label for="bp-group-status-hidden"><?php _e( 'Hidden', 'buddypress' ) ?></label> |
814 | 812 | </fieldset> |
815 | 813 | </div> |
816 | 814 | |
… |
… |
function bp_groups_admin_edit_metabox_settings( $item ) { |
818 | 816 | <fieldset> |
819 | 817 | <legend><?php _e( 'Who can invite others to this group?', 'buddypress' ); ?></legend> |
820 | 818 | |
821 | | <ul> |
822 | | <li><input type="radio" name="group-invite-status" id="bp-group-invite-status-members" value="members" <?php checked( $invite_status, 'members' ) ?> /><label for="bp-group-invite-status-members"><?php _e( 'All group members', 'buddypress' ) ?></label></li> |
823 | | <li><input type="radio" name="group-invite-status" id="bp-group-invite-status-mods" value="mods" <?php checked( $invite_status, 'mods' ) ?> /><label for="bp-group-invite-status-mods"><?php _e( 'Group admins and mods only', 'buddypress' ) ?></label></li> |
824 | | <li><input type="radio" name="group-invite-status" id="bp-group-invite-status-admins" value="admins" <?php checked( $invite_status, 'admins' ) ?> /><label for="bp-group-invite-status-admins"><?php _e( 'Group admins only', 'buddypress' ) ?></label></li> |
825 | | </ul> |
| 819 | <input type="radio" name="group-invite-status" id="bp-group-invite-status-members" value="members" <?php checked( $invite_status, 'members' ) ?> /><label for="bp-group-invite-status-members"><?php _e( 'All group members', 'buddypress' ) ?></label><br /> |
| 820 | <input type="radio" name="group-invite-status" id="bp-group-invite-status-mods" value="mods" <?php checked( $invite_status, 'mods' ) ?> /><label for="bp-group-invite-status-mods"><?php _e( 'Group admins and mods only', 'buddypress' ) ?></label><br /> |
| 821 | <input type="radio" name="group-invite-status" id="bp-group-invite-status-admins" value="admins" <?php checked( $invite_status, 'admins' ) ?> /><label for="bp-group-invite-status-admins"><?php _e( 'Group admins only', 'buddypress' ) ?></label> |
826 | 822 | </fieldset> |
827 | 823 | </div> |
828 | 824 | |