Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/31/2016 03:04:39 PM (8 years ago)
Author:
hnla
Message:

Templates Legacy: Single Groups Admin Screens

Group admin template managing the settings & create steps sub screens has become a file which is hard for developers to navigate through to edit.

Commit re-factors the admin.php file to run as a primary include file checking for the current action variable to load the required template part.

Commit breaks out the sections representing settings /creation steps from the admin template to their own template include files located in a new directory 'single/admin/'.

Smaller split template files are now easier to manage & read for editing and overloading.

Commit re-locates admin files hidden form input to buddypress-functions.php hooking to the existing templates do_action function.

Thanks to Offereins for the original ticket - this commit follows closely the approach used in bp-nouveau templates.

Props offereins, dcavins, r-a-y

Fixes #7079

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    r11006 r11050  
    1414</div><!-- .item-list-tabs -->
    1515
    16 <?php /* Add headings before respective forms. */ ?>
    17 
    18 <?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?>
    19     <h2 class="bp-screen-reader-text"><?php _e( 'Manage Group Details', 'buddypress' ); ?></h2>
    20 
    21 <?php elseif ( bp_is_group_admin_screen( 'group-settings' ) ) : ?>
    22     <h2 class="bp-screen-reader-text"><?php _e( 'Manage Group Settings', 'buddypress' ); ?></h2>
    23 
    24 <?php elseif ( bp_is_group_admin_screen( 'manage-members' ) ) : ?>
    25     <h2 class="bp-screen-reader-text"><?php _e( 'Manage Members', 'buddypress' ); ?></h2>
    26 
    27 <?php elseif ( bp_is_group_admin_screen( 'group-avatar' ) ) : ?>
    28     <h2 class="bp-screen-reader-text"><?php _e( 'Group Avatar', 'buddypress' ); ?></h2>
    29 
    30 <?php elseif ( bp_is_group_admin_screen( 'group-cover-image' ) ) : ?>
    31     <h2><?php _e( 'Cover Image', 'buddypress' ); ?></h2>
    32 
    33 <?php elseif ( bp_is_group_admin_screen( 'membership-requests' ) ) : ?>
    34     <h2 class="bp-screen-reader-text"><?php _e( 'Manage Membership Requests', 'buddypress' ); ?></h2>
    35 
    36 <?php elseif ( bp_is_group_admin_screen( 'delete-group' ) ) : ?>
    37     <h2 class="bp-screen-reader-text"><?php _e( 'Delete Group', 'buddypress' ); ?></h2>
    38 
    39 <?php endif; ?>
    4016
    4117<form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data">
    4218
    43 <?php
     19    <?php
     20    /**
     21     * Fires inside the group admin form and before the content.
     22     *
     23     * @since 1.1.0
     24     */
     25    do_action( 'bp_before_group_admin_content' ); ?>
    4426
    45 /**
    46  * Fires inside the group admin form and before the content.
    47  *
    48  * @since 1.1.0
    49  */
    50 do_action( 'bp_before_group_admin_content' ); ?>
     27    <?php /* Fetch the template for the current admin screen being viewed */ ?>
    5128
    52 <?php /* Edit Group Details */ ?>
    53 <?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?>
     29    <?php if ( bp_is_group_admin_screen( bp_action_variable() ) ) : ?>
     30
     31        <?php bp_get_template_part( 'groups/single/admin/' . bp_action_variable() ); ?>
     32
     33    <?php endif; ?>
    5434
    5535    <?php
    5636
    5737    /**
    58      * Fires before the display of group admin details.
     38     * Fires inside the group admin template.
     39     *
     40     * Allows plugins to add custom group edit screens.
    5941     *
    6042     * @since 1.1.0
    6143     */
    62     do_action( 'bp_before_group_details_admin' ); ?>
    63 
    64     <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
    65     <input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?>" aria-required="true" />
    66 
    67     <label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label>
    68     <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea>
     44    do_action( 'groups_custom_edit_steps' ); ?>
    6945
    7046    <?php
    7147
    7248    /**
    73      * Fires after the group description admin details.
    74      *
    75      * @since 1.0.0
    76      */
    77     do_action( 'groups_custom_group_fields_editable' ); ?>
    78 
    79     <p>
    80         <label for="group-notify-members">
    81             <input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?>
    82         </label>
    83     </p>
    84 
    85     <?php
    86 
    87     /**
    88      * Fires after the display of group admin details.
     49     * Fires inside the group admin form and after the content.
    8950     *
    9051     * @since 1.1.0
    9152     */
    92     do_action( 'bp_after_group_details_admin' ); ?>
    93 
    94     <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p>
    95     <?php wp_nonce_field( 'groups_edit_group_details' ); ?>
    96 
    97 <?php endif; ?>
    98 
    99 <?php /* Manage Group Settings */ ?>
    100 <?php if ( bp_is_group_admin_screen( 'group-settings' ) ) : ?>
    101 
    102     <?php
    103 
    104     /**
    105      * Fires before the group settings admin display.
    106      *
    107      * @since 1.1.0
    108      */
    109     do_action( 'bp_before_group_settings_admin' ); ?>
    110 
    111     <?php if ( bp_is_active( 'forums' ) ) : ?>
    112 
    113         <?php if ( bp_forums_is_installed_correctly() ) : ?>
    114 
    115             <div class="checkbox">
    116                 <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php bp_group_show_forum_setting(); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label>
    117             </div>
    118 
    119             <hr />
    120 
    121         <?php endif; ?>
    122 
    123     <?php endif; ?>
    124 
    125     <fieldset class="group-create-privacy">
    126 
    127         <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend>
    128 
    129         <div class="radio">
    130 
    131             <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>
    132 
    133             <ul id="public-group-description">
    134                 <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li>
    135                 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
    136                 <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li>
    137             </ul>
    138 
    139             <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>
    140 
    141             <ul id="private-group-description">
    142                 <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li>
    143                 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
    144                 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
    145             </ul>
    146 
    147             <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>
    148 
    149             <ul id="hidden-group-description">
    150                 <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li>
    151                 <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li>
    152                 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
    153             </ul>
    154 
    155         </div>
    156 
    157     </fieldset>
    158 
    159     <fieldset class="group-create-invitations">
    160 
    161         <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend>
    162 
    163         <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>
    164 
    165         <div class="radio">
    166 
    167             <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>
    168 
    169             <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>
    170 
    171             <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>
    172 
    173         </div>
    174 
    175     </fieldset>
    176 
    177     <?php
    178 
    179     /**
    180      * Fires after the group settings admin display.
    181      *
    182      * @since 1.1.0
    183      */
    184     do_action( 'bp_after_group_settings_admin' ); ?>
    185 
    186     <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p>
    187     <?php wp_nonce_field( 'groups_edit_group_settings' ); ?>
    188 
    189 <?php endif; ?>
    190 
    191 <?php /* Group Avatar Settings */ ?>
    192 <?php if ( bp_is_group_admin_screen( 'group-avatar' ) ) : ?>
    193 
    194     <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?>
    195 
    196             <p><?php _e("Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p>
    197 
    198             <p>
    199                 <label for="file" class="bp-screen-reader-text"><?php
    200                     /* translators: accessibility text */
    201                     _e( 'Select an image', 'buddypress' );
    202                 ?></label>
    203                 <input type="file" name="file" id="file" />
    204                 <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" />
    205                 <input type="hidden" name="action" id="action" value="bp_avatar_upload" />
    206             </p>
    207 
    208             <?php if ( bp_get_group_has_avatar() ) : ?>
    209 
    210                 <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>
    211 
    212                 <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?>
    213 
    214             <?php endif; ?>
    215 
    216             <?php
    217             /**
    218              * Load the Avatar UI templates
    219              *
    220              * @since  2.3.0
    221              */
    222             bp_avatar_get_templates(); ?>
    223 
    224             <?php wp_nonce_field( 'bp_avatar_upload' ); ?>
    225 
    226     <?php endif; ?>
    227 
    228     <?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?>
    229 
    230         <h4><?php _e( 'Crop Profile Photo', 'buddypress' ); ?></h4>
    231 
    232         <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
    233 
    234         <div id="avatar-crop-pane">
    235             <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" />
    236         </div>
    237 
    238         <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />
    239 
    240         <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src(); ?>" />
    241         <input type="hidden" id="x" name="x" />
    242         <input type="hidden" id="y" name="y" />
    243         <input type="hidden" id="w" name="w" />
    244         <input type="hidden" id="h" name="h" />
    245 
    246         <?php wp_nonce_field( 'bp_avatar_cropstore' ); ?>
    247 
    248     <?php endif; ?>
    249 
    250 <?php endif; ?>
    251 
    252 <?php /* Group Cover image Settings */ ?>
    253 <?php if ( bp_is_group_admin_screen( 'group-cover-image' ) ) : ?>
    254 
    255     <?php
    256 
    257     /**
    258      * Fires before the display of profile cover image upload content.
    259      *
    260      * @since 2.4.0
    261      */
    262     do_action( 'bp_before_group_settings_cover_image' ); ?>
    263 
    264     <p><?php _e( 'The Cover Image will be used to customize the header of your group.', 'buddypress' ); ?></p>
    265 
    266     <?php bp_attachments_get_template_part( 'cover-images/index' ); ?>
    267 
    268     <?php
    269 
    270     /**
    271      * Fires after the display of group cover image upload content.
    272      *
    273      * @since 2.4.0
    274      */
    275     do_action( 'bp_after_group_settings_cover_image' ); ?>
    276 
    277 <?php endif; ?>
    278 
    279 <?php /* Manage Group Members */ ?>
    280 <?php if ( bp_is_group_admin_screen( 'manage-members' ) ) : ?>
    281 
    282     <?php
    283 
    284     /**
    285      * Fires before the group manage members admin display.
    286      *
    287      * @since 1.1.0
    288      */
    289     do_action( 'bp_before_group_manage_members_admin' ); ?>
    290 
    291     <div class="bp-widget">
    292         <h3><?php _e( 'Administrators', 'buddypress' ); ?></h3>
    293 
    294         <?php if ( bp_has_members( '&include='. bp_group_admin_ids() ) ) : ?>
    295 
    296         <ul id="admins-list" class="item-list single-line">
    297 
    298             <?php while ( bp_members() ) : bp_the_member(); ?>
    299             <li>
    300                 <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?>
    301                 <h5>
    302                     <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
    303                     <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?>
    304                     <span class="small">
    305                         <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
    306                     </span>
    307                     <?php endif; ?>
    308                 </h5>
    309             </li>
    310             <?php endwhile; ?>
    311 
    312         </ul>
    313 
    314         <?php endif; ?>
    315 
    316     </div>
    317 
    318     <?php if ( bp_group_has_moderators() ) : ?>
    319         <div class="bp-widget">
    320             <h3><?php _e( 'Moderators', 'buddypress' ); ?></h3>
    321 
    322             <?php if ( bp_has_members( '&include=' . bp_group_mod_ids() ) ) : ?>
    323                 <ul id="mods-list" class="item-list single-line">
    324 
    325                     <?php while ( bp_members() ) : bp_the_member(); ?>
    326                     <li>
    327                         <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?>
    328                         <h5>
    329                             <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
    330                             <span class="small">
    331                                 <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
    332                                 <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
    333                             </span>
    334                         </h5>
    335                     </li>
    336                     <?php endwhile; ?>
    337 
    338                 </ul>
    339 
    340             <?php endif; ?>
    341         </div>
    342     <?php endif ?>
    343 
    344 
    345     <div class="bp-widget">
    346         <h3><?php _e( "Members", 'buddypress' ); ?></h3>
    347 
    348         <?php if ( bp_group_has_members( 'per_page=15&exclude_banned=0' ) ) : ?>
    349 
    350             <?php if ( bp_group_member_needs_pagination() ) : ?>
    351 
    352                 <div class="pagination no-ajax">
    353 
    354                     <div id="member-count" class="pag-count">
    355                         <?php bp_group_member_pagination_count(); ?>
    356                     </div>
    357 
    358                     <div id="member-admin-pagination" class="pagination-links">
    359                         <?php bp_group_member_admin_pagination(); ?>
    360                     </div>
    361 
    362                 </div>
    363 
    364             <?php endif; ?>
    365 
    366             <ul id="members-list" class="item-list single-line">
    367                 <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
    368 
    369                     <li class="<?php bp_group_member_css_class(); ?>">
    370                         <?php bp_group_member_avatar_mini(); ?>
    371 
    372                         <h5>
    373                             <?php bp_group_member_link(); ?>
    374 
    375                             <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?>
    376 
    377                             <span class="small">
    378 
    379                             <?php if ( bp_get_group_member_is_banned() ) : ?>
    380 
    381                                 <a href="<?php bp_group_member_unban_link(); ?>" class="button confirm member-unban" title="<?php esc_attr_e( 'Unban this member', 'buddypress' ); ?>"><?php _e( 'Remove Ban', 'buddypress' ); ?></a>
    382 
    383                             <?php else : ?>
    384 
    385                                 <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban"><?php _e( 'Kick &amp; Ban', 'buddypress' ); ?></a>
    386                                 <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a>
    387                                 <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
    388 
    389                             <?php endif; ?>
    390 
    391                                 <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a>
    392 
    393                                 <?php
    394 
    395                                 /**
    396                                  * Fires inside the display of a member admin item in group management area.
    397                                  *
    398                                  * @since 1.1.0
    399                                  */
    400                                 do_action( 'bp_group_manage_members_admin_item' ); ?>
    401 
    402                             </span>
    403                         </h5>
    404                     </li>
    405 
    406                 <?php endwhile; ?>
    407             </ul>
    408 
    409             <?php if ( bp_group_member_needs_pagination() ) : ?>
    410 
    411                 <div class="pagination no-ajax">
    412 
    413                     <div id="member-count" class="pag-count">
    414                         <?php bp_group_member_pagination_count(); ?>
    415                     </div>
    416 
    417                     <div id="member-admin-pagination" class="pagination-links">
    418                         <?php bp_group_member_admin_pagination(); ?>
    419                     </div>
    420 
    421                 </div>
    422 
    423             <?php endif; ?>
    424 
    425         <?php else: ?>
    426 
    427             <div id="message" class="info">
    428                 <p><?php _e( 'This group has no members.', 'buddypress' ); ?></p>
    429             </div>
    430 
    431         <?php endif; ?>
    432 
    433     </div>
    434 
    435     <?php
    436 
    437     /**
    438      * Fires after the group manage members admin display.
    439      *
    440      * @since 1.1.0
    441      */
    442     do_action( 'bp_after_group_manage_members_admin' ); ?>
    443 
    444 <?php endif; ?>
    445 
    446 <?php /* Manage Membership Requests */ ?>
    447 <?php if ( bp_is_group_admin_screen( 'membership-requests' ) ) : ?>
    448 
    449     <?php
    450 
    451     /**
    452      * Fires before the display of group membership requests admin.
    453      *
    454      * @since 1.1.0
    455      */
    456     do_action( 'bp_before_group_membership_requests_admin' ); ?>
    457 
    458         <div class="requests">
    459 
    460             <?php bp_get_template_part( 'groups/single/requests-loop' ); ?>
    461 
    462         </div>
    463 
    464     <?php
    465 
    466     /**
    467      * Fires after the display of group membership requests admin.
    468      *
    469      * @since 1.1.0
    470      */
    471     do_action( 'bp_after_group_membership_requests_admin' ); ?>
    472 
    473 <?php endif; ?>
    474 
    475 <?php
    476 
    477 /**
    478  * Fires inside the group admin template.
    479  *
    480  * Allows plugins to add custom group edit screens.
    481  *
    482  * @since 1.1.0
    483  */
    484 do_action( 'groups_custom_edit_steps' ); ?>
    485 
    486 <?php /* Delete Group Option */ ?>
    487 <?php if ( bp_is_group_admin_screen( 'delete-group' ) ) : ?>
    488 
    489     <?php
    490 
    491     /**
    492      * Fires before the display of group delete admin.
    493      *
    494      * @since 1.1.0
    495      */
    496     do_action( 'bp_before_group_delete_admin' ); ?>
    497 
    498     <div id="message" class="info">
    499         <p><?php _e( 'WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back, please be careful with this option.', 'buddypress' ); ?></p>
    500     </div>
    501 
    502     <label for="delete-group-understand"><input type="checkbox" name="delete-group-understand" id="delete-group-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-group-button').disabled = ''; } else { document.getElementById('delete-group-button').disabled = 'disabled'; }" /> <?php _e( 'I understand the consequences of deleting this group.', 'buddypress' ); ?></label>
    503 
    504     <?php
    505 
    506     /**
    507      * Fires after the display of group delete admin.
    508      *
    509      * @since 1.1.0
    510      */
    511     do_action( 'bp_after_group_delete_admin' ); ?>
    512 
    513     <div class="submit">
    514         <input type="submit" disabled="disabled" value="<?php esc_attr_e( 'Delete Group', 'buddypress' ); ?>" id="delete-group-button" name="delete-group-button" />
    515     </div>
    516 
    517     <?php wp_nonce_field( 'groups_delete_group' ); ?>
    518 
    519 <?php endif; ?>
    520 
    521 <?php /* This is important, don't forget it */ ?>
    522     <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id(); ?>" />
    523 
    524 <?php
    525 
    526 /**
    527  * Fires inside the group admin form and after the content.
    528  *
    529  * @since 1.1.0
    530  */
    531 do_action( 'bp_after_group_admin_content' ); ?>
     53    do_action( 'bp_after_group_admin_content' ); ?>
    53254
    53355</form><!-- #group-settings-form -->
Note: See TracChangeset for help on using the changeset viewer.