Changeset 12104 for trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
- Timestamp:
- 05/21/2018 01:00:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
r12082 r12104 25 25 26 26 <fieldset class="radio group-status-type"> 27 <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend>27 <legend><?php esc_html_e( 'Privacy Options', 'buddypress' ); ?></legend> 28 28 29 29 <label for="group-status-public"> 30 <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' ); ?>30 <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 esc_html_e( 'This is a public group', 'buddypress' ); ?> 31 31 </label> 32 32 33 33 <ul id="public-group-description"> 34 <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li>35 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>36 <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li>34 <li><?php esc_html_e( 'Any site member can join this group.', 'buddypress' ); ?></li> 35 <li><?php esc_html_e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 36 <li><?php esc_html_e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> 37 37 </ul> 38 38 39 39 <label for="group-status-private"> 40 <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' ); ?>40 <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 esc_html_e( 'This is a private group', 'buddypress' ); ?> 41 41 </label> 42 42 43 43 <ul id="private-group-description"> 44 <li><?php _e( 'Only userswho request membership and are accepted can join the group.', 'buddypress' ); ?></li>45 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>46 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>44 <li><?php esc_html_e( 'Only people who request membership and are accepted can join the group.', 'buddypress' ); ?></li> 45 <li><?php esc_html_e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 46 <li><?php esc_html_e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 47 47 </ul> 48 48 49 49 <label for="group-status-hidden"> 50 <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' ); ?>50 <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 esc_html_e( 'This is a hidden group', 'buddypress' ); ?> 51 51 </label> 52 52 53 53 <ul id="hidden-group-description"> 54 <li><?php _e( 'Only userswho are invited can join the group.', 'buddypress' ); ?></li>55 <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li>56 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>54 <li><?php esc_html_e( 'Only people who are invited can join the group.', 'buddypress' ); ?></li> 55 <li><?php esc_html_e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> 56 <li><?php esc_html_e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 57 57 </ul> 58 58 59 59 </fieldset> 60 60 61 <?php // Group type selection ?> 62 <?php if ( $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ) ) : ?> 61 <?php 62 // Group type selection 63 $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ); 64 if ( $group_types ) : ?> 63 65 64 66 <fieldset class="group-create-types"> 65 <legend><?php _e( 'Group Types', 'buddypress' ); ?></legend>67 <legend><?php esc_html_e( 'Group Types', 'buddypress' ); ?></legend> 66 68 67 <p tabindex="0"><?php _e( 'Select the types this group should be a part of.', 'buddypress' ); ?></p>69 <p tabindex="0"><?php esc_html_e( 'Select the types this group should be a part of.', 'buddypress' ); ?></p> 68 70 69 71 <?php foreach ( $group_types as $type ) : ?> … … 86 88 87 89 <fieldset class="radio group-invitations"> 88 <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend>90 <legend><?php esc_html_e( 'Group Invitations', 'buddypress' ); ?></legend> 89 91 90 <p tabindex="0"><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>92 <p tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> 91 93 92 94 <label for="group-invite-status-members"> 93 95 <input type="radio" name="group-invite-status" id="group-invite-status-members" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> 94 <?php _e( 'All group members', 'buddypress' ); ?>96 <?php esc_html_e( 'All group members', 'buddypress' ); ?> 95 97 </label> 96 98 97 99 <label for="group-invite-status-mods"> 98 100 <input type="radio" name="group-invite-status" id="group-invite-status-mods" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> 99 <?php _e( 'Group admins and mods only', 'buddypress' ); ?>101 <?php esc_html_e( 'Group admins and mods only', 'buddypress' ); ?> 100 102 </label> 101 103 102 104 <label for="group-invite-status-admins"> 103 105 <input type="radio" name="group-invite-status" id="group-invite-status-admins" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> 104 <?php _e( 'Group admins only', 'buddypress' ); ?>106 <?php esc_html_e( 'Group admins only', 'buddypress' ); ?> 105 107 </label> 106 108
Note: See TracChangeset
for help on using the changeset viewer.