[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BP Nouveau Group's edit details template.
   4   *
   5   * @since 3.0.0
   6   * @version 3.1.0
   7   * @version 4.0.0 Removed 'Notify group members' checkbox in favor of hooked callback.
   8   */
   9  ?>
  10  
  11  <?php if ( bp_is_group_create() ) : ?>
  12  
  13      <h3 class="bp-screen-title creation-step-name">
  14          <?php esc_html_e( 'Enter Group Name &amp; Description', 'buddypress' ); ?>
  15      </h3>
  16  
  17  <?php else : ?>
  18  
  19      <h2 class="bp-screen-title">
  20          <?php esc_html_e( 'Edit Group Name &amp; Description', 'buddypress' ); ?>
  21      </h2>
  22  
  23  <?php endif; ?>
  24  
  25  <label for="group-name"><?php esc_html_e( 'Group Name (required)', 'buddypress' ); ?></label>
  26  <input type="text" name="group-name" id="group-name" value="<?php if ( bp_is_group_create() ) : echo esc_attr( bp_get_new_group_name() ); else : echo esc_attr( bp_get_group_name() ); endif; ?>" aria-required="true" />
  27  
  28  <label for="group-desc"><?php esc_html_e( 'Group Description (required)', 'buddypress' ); ?></label>
  29  <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_is_group_create() ? bp_new_group_description() : bp_group_description_editable(); ?></textarea>


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