/bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php

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