Changeset 10152 for trunk/src/bp-core/admin/bp-core-admin-settings.php
- Timestamp:
- 09/29/2015 10:03:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-settings.php
r10108 r10152 160 160 } 161 161 162 /** 163 * Allow members to upload cover images field. 164 * 165 * @since 2.4.0 166 */ 167 function bp_admin_setting_callback_cover_image_uploads() { 168 ?> 169 <input id="bp-disable-cover-image-uploads" name="bp-disable-cover-image-uploads" type="checkbox" value="1" <?php checked( ! bp_disable_cover_image_uploads() ); ?> /> 170 <label for="bp-disable-cover-image-uploads"><?php _e( 'Allow registered members to upload cover images', 'buddypress' ); ?></label> 171 <?php 172 } 173 162 174 /** Groups Section ************************************************************/ 163 175 … … 195 207 <input id="bp-disable-group-avatar-uploads" name="bp-disable-group-avatar-uploads" type="checkbox" value="1" <?php checked( ! bp_disable_group_avatar_uploads() ); ?> /> 196 208 <label for="bp-disable-group-avatar-uploads"><?php _e( 'Allow customizable avatars for groups', 'buddypress' ); ?></label> 209 <?php 210 } 211 212 /** 213 * 'Enable group cover images' field markup. 214 * 215 * @since 2.4.0 216 */ 217 function bp_admin_setting_callback_group_cover_image_uploads() { 218 ?> 219 <input id="bp-disable-group-cover-image-uploads" name="bp-disable-group-cover-image-uploads" type="checkbox" value="1" <?php checked( ! bp_disable_group_cover_image_uploads() ); ?> /> 220 <label for="bp-disable-group-cover-image-uploads"><?php _e( 'Allow customizable cover images for groups', 'buddypress' ); ?></label> 197 221 <?php 198 222 } … … 300 324 'bp-disable-account-deletion', 301 325 'bp-disable-avatar-uploads', 326 'bp-disable-cover-image-uploads', 302 327 'bp-disable-group-avatar-uploads', 328 'bp-disable-group-cover-image-uploads', 303 329 'bp_disable_blogforum_comments', 304 330 'bp-disable-profile-sync',
Note: See TracChangeset
for help on using the changeset viewer.