[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/groups/single/admin/ -> delete-group.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Groups Admin - Delete Group
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  ?>
  11  
  12  <h2 class="bp-screen-reader-text"><?php _e( 'Delete Group', 'buddypress' ); ?></h2>
  13  
  14  <?php
  15  
  16  /**
  17   * Fires before the display of group delete admin.
  18   *
  19   * @since 1.1.0
  20   */
  21  do_action( 'bp_before_group_delete_admin' ); ?>
  22  
  23  <div id="message" class="info">
  24      <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>
  25  </div>
  26  
  27  <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>
  28  
  29  <?php
  30  
  31  /**
  32   * Fires after the display of group delete admin.
  33   *
  34   * @since 1.1.0
  35   */
  36  do_action( 'bp_after_group_delete_admin' ); ?>
  37  
  38  <div class="submit">
  39      <input type="submit" disabled="disabled" value="<?php esc_attr_e( 'Delete Group', 'buddypress' ); ?>" id="delete-group-button" name="delete-group-button" />
  40  </div>
  41  
  42  <?php wp_nonce_field( 'groups_delete_group' );


Generated: Fri Dec 6 01:00:58 2024 Cross-referenced by PHPXref 0.7.1