104 | | <label> |
105 | | <input type="radio" name="group-status" value="private"<?php bp_group_show_status_setting( 'private' ); ?> /> |
106 | | <strong><?php _e( 'This is a private group', 'buddypress' ); ?></strong> |
107 | | <ul> |
108 | | <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> |
109 | | <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> |
110 | | <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> |
111 | | </ul> |
112 | | </label> |
| 95 | <label for="group-status-public"><input type="radio" name="group-status" id="group-status-public" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <?php _e( 'This is a public group', 'buddypress' ); ?></label> |
114 | | <label> |
115 | | <input type="radio" name="group-status" value="hidden"<?php bp_group_show_status_setting( 'hidden' ); ?> /> |
116 | | <strong><?php _e( 'This is a hidden group', 'buddypress' ); ?></strong> |
117 | | <ul> |
118 | | <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> |
119 | | <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> |
120 | | <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> |
121 | | </ul> |
122 | | </label> |
| 97 | <ul id="public-group-description"> |
| 98 | <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> |
| 99 | <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> |
| 100 | <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> |
| 101 | </ul> |
| 102 | |
| 103 | <label for="group-status-private"><input type="radio" name="group-status" id="group-status-private" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <?php _e( 'This is a private group', 'buddypress' ); ?></label> |
| 104 | |
| 105 | <ul id="private-group-description"> |
| 106 | <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> |
| 107 | <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> |
| 108 | <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> |
| 109 | </ul> |
| 110 | |
| 111 | <label for="group-status-hidden"><input type="radio" name="group-status" id="group-status-hidden" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <?php _e('This is a hidden group', 'buddypress' ); ?></label> |
| 112 | |
| 113 | <ul id="hidden-group-description"> |
| 114 | <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> |
| 115 | <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> |
| 116 | <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> |
| 117 | </ul> |
| 118 | |