- Timestamp:
- 12/08/2017 12:22:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r11591 r11763 194 194 <h4><?php _e( 'Group Forums', 'buddypress' ); ?></h4> 195 195 196 <?php if ( bp_forums_is_installed_correctly() ) : ?> 197 198 <p><?php _e( 'Should this group have a forum?', 'buddypress' ); ?></p> 199 200 <div class="checkbox"> 201 <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php checked( bp_get_new_group_enable_forum(), true, true ); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label> 202 </div> 203 <?php elseif ( is_super_admin() ) : ?> 204 205 <p><?php printf( __( '<strong>Attention Site Admin:</strong> Group forums require the <a href="%s">correct setup and configuration</a> of a bbPress installation.', 'buddypress' ), bp_core_do_network_admin() ? network_admin_url( 'settings.php?page=bb-forums-setup' ) : admin_url( 'admin.php?page=bb-forums-setup' ) ); ?></p> 206 207 <?php endif; ?> 196 <p><?php _e( 'Should this group have a forum?', 'buddypress' ); ?></p> 197 198 <div class="checkbox"> 199 <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php checked( bp_get_new_group_enable_forum(), true, true ); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label> 200 </div> 208 201 209 202 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.