Ticket #6618: 6618-group-create-for-id.patch
File 6618-group-create-for-id.patch, 5.0 KB (added by , 9 years ago) |
---|
-
src/bp-templates/bp-legacy/buddypress/groups/create.php
95 95 <h4><?php _e( 'Privacy Options', 'buddypress' ); ?></h4> 96 96 97 97 <div class="radio"> 98 <label><input type="radio" name="group-status" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> /> <strong><?php _e( 'This is a public group', 'buddypress' ); ?></strong></label> 99 <ul> 98 99 <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> 100 101 <ul id="public-group-description"> 100 102 <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> 101 103 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 102 104 <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> … … 103 105 </ul> 104 106 105 107 106 <label> 107 <input type="radio" name="group-status" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> /> 108 <strong><?php _e( 'This is a private group', 'buddypress' ); ?></strong> 109 </label> 110 <ul> 108 <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> 109 110 <ul id="private-group-description"> 111 111 <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> 112 112 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 113 113 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> … … 114 114 </ul> 115 115 116 116 117 <label> 118 <input type="radio" name="group-status" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> /> 119 <strong><?php _e('This is a hidden group', 'buddypress' ); ?></strong> 120 </label> 121 <ul> 117 <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> 118 119 <ul id="hidden-group-description"> 122 120 <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> 123 121 <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> 124 122 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> … … 131 129 <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> 132 130 133 131 <div class="radio"> 134 <label>135 <input type="radio" name="group-invite-status" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> />136 <strong><?php _e( 'All group members', 'buddypress' ); ?></strong>137 </label>138 132 139 <label> 140 <input type="radio" name="group-invite-status" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> 141 <strong><?php _e( 'Group admins and mods only', 'buddypress' ); ?></strong> 142 </label> 133 <label for="group-invite-status-members"><input type="radio" name="group-invite-status" id="group-invite-status-members" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <?php _e( 'All group members', 'buddypress' ); ?></label> 143 134 144 <label >145 <input type="radio" name="group-invite-status" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> 146 <strong><?php _e( 'Group admins only', 'buddypress' ); ?></strong>147 </label> 135 <label for="group-invite-status-mods"><input type="radio" name="group-invite-status" id="group-invite-status-mods" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <?php _e( 'Group admins and mods only', 'buddypress' ); ?></label> 136 137 <label for="group-invite-status-admins"><input type="radio" name="group-invite-status" id="group-invite-status-admins" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <?php _e( 'Group admins only', 'buddypress' ); ?></label> 138 148 139 </div> 149 140 150 141 <?php if ( bp_is_active( 'forums' ) ) : ?>