Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php

    r11182 r10968  
    3636        do_action( 'bp_before_create_group' ); ?>
    3737
    38         <div class="item-list-tabs no-ajax" id="group-create-tabs">
     38        <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation">
    3939            <ul>
    4040
     
    4444        </div>
    4545
    46         <div id="template-notices" role="alert" aria-atomic="true">
    47             <?php
    48 
    49             /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    50             do_action( 'template_notices' ); ?>
    51 
    52         </div>
     46        <?php
     47
     48        /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     49        do_action( 'template_notices' ); ?>
    5350
    5451        <div class="item-body" id="group-create-body">
     
    5653            <?php /* Group creation step 1: Basic group details */ ?>
    5754            <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?>
    58 
    59                 <h2 class="bp-screen-reader-text"><?php
    60                     /* translators: accessibility text */
    61                     _e( 'Group Details', 'buddypress' );
    62                 ?></h2>
    6355
    6456                <?php
     
    9789            <?php /* Group creation step 2: Group settings */ ?>
    9890            <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?>
    99 
    100                 <h2 class="bp-screen-reader-text"><?php
    101                     /* translators: accessibility text */
    102                     _e( 'Group Settings', 'buddypress' );
    103                 ?></h2>
    10491
    10592                <?php
     
    146133                </fieldset>
    147134
    148                 <?php // Group type selection ?>
    149                 <?php if ( $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ) ): ?>
    150 
    151                     <fieldset class="group-create-types">
    152                         <legend><?php _e( 'Group Types', 'buddypress' ); ?></legend>
    153 
    154                         <p><?php _e( 'Select the types this group should be a part of.', 'buddypress' ); ?></p>
    155 
    156                         <?php foreach ( $group_types as $type ) : ?>
    157                             <div class="checkbox">
    158                                 <label for="<?php printf( 'group-type-%s', $type->name ); ?>"><input type="checkbox" name="group-types[]" id="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php checked( true, ! empty( $type->create_screen_checked ) ); ?> /> <?php echo esc_html( $type->labels['name'] ); ?>
    159                                     <?php
    160                                         if ( ! empty( $type->description ) ) {
    161                                             /* translators: Group type description shown when creating a group. */
    162                                             printf( __( '&ndash; %s', 'buddypress' ), '<span class="bp-group-type-desc">' . esc_html( $type->description ) . '</span>' );
    163                                         }
    164                                     ?>
    165                                 </label>
    166                             </div>
    167 
    168                         <?php endforeach; ?>
    169 
    170                     </fieldset>
    171 
    172                 <?php endif; ?>
    173 
    174135                <fieldset class="group-create-invitations">
    175136
     
    224185            <?php /* Group creation step 3: Avatar Uploads */ ?>
    225186            <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?>
    226 
    227                 <h2 class="bp-screen-reader-text"><?php
    228                     /* translators: accessibility text */
    229                     _e( 'Group Avatar', 'buddypress' );
    230                 ?></h2>
    231187
    232188                <?php
     
    310266            <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?>
    311267
    312                 <h2 class="bp-screen-reader-text"><?php
    313                     /* translators: accessibility text */
    314                     _e( 'Cover Image', 'buddypress' );
    315                 ?></h2>
    316 
    317268                <?php
    318269
     
    345296            <?php /* Group creation step 5: Invite friends to group */ ?>
    346297            <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?>
    347 
    348                 <h2 class="bp-screen-reader-text"><?php
    349                     /* translators: accessibility text */
    350                     _e( 'Group Invites', 'buddypress' );
    351                 ?></h2>
    352298
    353299                <?php
Note: See TracChangeset for help on using the changeset viewer.