Ticket #6881: 6881.patch
File 6881.patch, 7.0 KB (added by , 9 years ago) |
---|
-
src/bp-templates/bp-legacy/buddypress/groups/create.php
98 98 */ 99 99 do_action( 'bp_before_group_settings_creation_step' ); ?> 100 100 101 < h4><?php _e( 'Privacy Options', 'buddypress' ); ?></h4>101 <div aria-labelledby="create-privacy-options" role="group"> 102 102 103 <div class="radio">103 <h2 id="create-privacy-options"><?php _e( 'Privacy Options', 'buddypress' ); ?></h2> 104 104 105 < 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>105 <div class="radio"> 106 106 107 <ul id="public-group-description"> 108 <li><?php _e( 'Any site member can join this 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 be visible to any site member.', 'buddypress' ); ?></li> 111 </ul> 107 <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> 112 108 109 <ul id="public-group-description"> 110 <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> 111 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 112 <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> 113 </ul> 113 114 114 <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>115 115 116 <ul id="private-group-description"> 117 <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> 118 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 119 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 120 </ul> 116 <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> 121 117 118 <ul id="private-group-description"> 119 <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> 120 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 121 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 122 </ul> 122 123 123 <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>124 124 125 <ul id="hidden-group-description"> 126 <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> 127 <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> 128 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 129 </ul> 125 <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> 130 126 127 <ul id="hidden-group-description"> 128 <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> 129 <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> 130 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 131 </ul> 132 133 </div> 134 131 135 </div> 132 136 133 < h4><?php _e( 'Group Invitations', 'buddypress' ); ?></h4>137 <div aria-labelledby="create-group-invitations" role="group"> 134 138 135 <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>139 <h2 id="create-group-invitations"><?php _e( 'Group Invitations', 'buddypress' ); ?></h2> 136 140 137 <div class="radio">141 <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> 138 142 139 < 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 <div class="radio"> 140 144 141 <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>145 <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> 142 146 143 <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>147 <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> 144 148 149 <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> 150 s 151 </div> 152 145 153 </div> 146 154 147 155 <?php if ( bp_is_active( 'forums' ) ) : ?>