Changeset 11156
- Timestamp:
- 09/22/2016 01:54:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-slugs.php
r10825 r11156 185 185 <h3><?php _e( 'Registration', 'buddypress' ); ?></h3> 186 186 187 <p><?php _e( 'Associate WordPress Pages with the following BuddyPress Registration pages.', 'buddypress' ); ?></p> 187 <?php if ( bp_get_signup_allowed() ) : ?> 188 <p><?php _e( 'Associate WordPress Pages with the following BuddyPress Registration pages.', 'buddypress' ); ?></p> 189 <?php else : ?> 190 <?php if ( is_multisite() ) : ?> 191 <p><?php printf( __( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by selecting either the "User accounts may be registered" or "Both sites and user accounts can be registered" option on <a href="%s">this page</a>.', 'buddypress' ), network_admin_url( 'settings.php' ) ); ?></p> 192 <?php else : ?> 193 <p><?php printf( __( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by clicking on the "Anyone can register" checkbox on <a href="%s">this page</a>.', 'buddypress' ), admin_url( 'options-general.php' ) ); ?></p> 194 <?php endif; ?> 195 <?php endif; ?> 188 196 189 197 <table class="form-table"> 190 198 <tbody> 191 199 192 <?php foreach ( $static_pages as $name => $label ) : ?>200 <?php if ( bp_get_signup_allowed() ) : foreach ( $static_pages as $name => $label ) : ?> 193 201 194 202 <tr valign="top"> … … 219 227 </tr> 220 228 221 <?php endforeach ?>229 <?php endforeach; endif; ?> 222 230 223 231 <?php
Note: See TracChangeset
for help on using the changeset viewer.