Ticket #6881: 6881-fieldsets.patch
File 6881-fieldsets.patch, 6.9 KB (added by , 8 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 <fieldset> 102 102 103 <div class="radio">103 <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend> 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 <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 116 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>117 <ul id="private-group-description"> 118 <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> 119 <li><?php _e( 'This group will be listed in the groups directory and in 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> 121 122 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> 122 124 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> 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> 124 130 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> 131 </div> 130 132 131 </ div>133 </fieldset> 132 134 133 < h4><?php _e( 'Group Invitations', 'buddypress' ); ?></h4>135 <fieldset> 134 136 135 <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>137 <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend> 136 138 137 <div class="radio">139 <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> 138 140 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>141 <div class="radio"> 140 142 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>143 <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 144 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>145 <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 146 145 </div>147 <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> 146 148 149 </div> 150 151 </fieldset> 152 147 153 <?php if ( bp_is_active( 'forums' ) ) : ?> 148 154 149 155 <h4><?php _e( 'Group Forums', 'buddypress' ); ?></h4>