<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <?php bp_group_admin_tabs(); ?> </ul> </div><!-- .item-list-tabs --> <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" role="main"> <?php do_action('bp_before_group_admin_content'); ?> <?php /* Edit Group Details */ if (bp_is_group_admin_screen('edit-details')) { ?> <?php do_action('bp_before_group_details_admin'); ?> <label for="group-name"><?php _e('Group Name (required)', 'buddypress'); ?> </label> <input type="text" name="group-name" id="group-name" value="<?php
bp_group_mod_memberlist(true); ?> </div> <?php } ?> <div class="info-group"> <h4><?php _e("Members", "buddypress"); ?> </h4> <form action="<?php bp_group_admin_form_action('manage-members'); ?> " name="group-members-form" id="group-members-form" class="standard-form" method="post"> <?php if (bp_group_has_members('per_page=15&exclude_banned=false')) { ?> <?php if (bp_group_member_needs_pagination()) { ?> <div id="member-count" class="pag-count"> <?php bp_group_member_pagination_count(); ?> </div>
</ul> </div> <div id="main"> <h2><?php _e('Delete Group', 'buddypress'); ?> </h2> <?php do_action('template_notices'); ?> <form action="<?php bp_group_admin_form_action('delete-group'); ?> " name="group-delete-form" id="group-delete-form" class="standard-form" method="post"> <div id="message" class="info"> <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> </div> <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'); ?> <p><input type="submit" disabled="disabled" value="<?php _e('Delete Group', 'buddypress');
</ul> </div> <div id="content"> <h2><?php _e('Group Settings', 'buddypress'); ?> </h2> <?php do_action('template_notices'); ?> <form action="<?php bp_group_admin_form_action('group-settings'); ?> " name="group-settings-form" id="group-settings-form" class="standard-form" method="post"> <?php if (function_exists('bp_wire_install')) { ?> <div class="checkbox"> <label><input type="checkbox" name="group-show-wire" id="group-show-wire" value="1"<?php bp_group_show_wire_setting(); ?> /> <?php _e('Enable comment wire', 'buddypress'); ?> </label> </div>
</ul> </div> <div id="main"> <h2><?php _e('Group Avatar', 'buddypress'); ?> </h2> <?php do_action('template_notices'); ?> <form action="<?php bp_group_admin_form_action('group-avatar'); ?> " name="group-avatar-form" id="group-avatar-form" class="standard-form" method="post" enctype="multipart/form-data"> <div class="page-menu"> <?php bp_group_current_avatar(); ?> </div> <div class="main-column"> <p><?php _e("Upload an image to use as an avatar for this group. The image will be shown on the main group page, and in search results.", 'buddypress'); ?> </p>
</ul> </div> <div id="content"> <h2><?php _e('Edit Details', 'buddypress'); ?> </h2> <?php do_action('template_notices'); ?> <form action="<?php bp_group_admin_form_action('edit-details'); ?> " name="edit-details-form" id="edit-details-form" class="standard-form" method="post"> <label for="group-name">* <?php _e('Group Name', 'buddypress'); ?> </label> <input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?> " /> <label for="group-desc">* <?php _e('Group Description', 'buddypress'); ?> </label>