[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Groups Admin - Edit Details
   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( 'Manage Group Details', 'buddypress' ); ?></h2>
  13  
  14  <?php
  15  
  16  /**
  17   * Fires before the display of group admin details.
  18   *
  19   * @since 1.1.0
  20   */
  21  do_action( 'bp_before_group_details_admin' ); ?>
  22  
  23  <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
  24  <input type="text" name="group-name" id="group-name" value="<?php echo esc_attr( bp_get_group_name() ); ?>" aria-required="true" />
  25  
  26  <label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label>
  27  <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea>
  28  
  29  <?php
  30  
  31  /**
  32   * Fires after the group description admin details.
  33   *
  34   * @since 1.0.0
  35   */
  36  do_action( 'groups_custom_group_fields_editable' ); ?>
  37  
  38  <p>
  39      <label for="group-notify-members">
  40          <input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?>
  41      </label>
  42  </p>
  43  
  44  <?php
  45  
  46  /**
  47   * Fires after the display of group admin details.
  48   *
  49   * @since 1.1.0
  50   */
  51  do_action( 'bp_after_group_details_admin' ); ?>
  52  
  53  <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p>
  54  <?php wp_nonce_field( 'groups_edit_group_details' );


Generated: Mon Apr 6 01:01:29 2020 Cross-referenced by PHPXref 0.7.1