- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r10968 r11182 36 36 do_action( 'bp_before_create_group' ); ?> 37 37 38 <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation">38 <div class="item-list-tabs no-ajax" id="group-create-tabs"> 39 39 <ul> 40 40 … … 44 44 </div> 45 45 46 <?php 47 48 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 49 do_action( 'template_notices' ); ?> 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> 50 53 51 54 <div class="item-body" id="group-create-body"> … … 53 56 <?php /* Group creation step 1: Basic group details */ ?> 54 57 <?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> 55 63 56 64 <?php … … 89 97 <?php /* Group creation step 2: Group settings */ ?> 90 98 <?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> 91 104 92 105 <?php … … 133 146 </fieldset> 134 147 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( __( '– %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 135 174 <fieldset class="group-create-invitations"> 136 175 … … 185 224 <?php /* Group creation step 3: Avatar Uploads */ ?> 186 225 <?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> 187 231 188 232 <?php … … 266 310 <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?> 267 311 312 <h2 class="bp-screen-reader-text"><?php 313 /* translators: accessibility text */ 314 _e( 'Cover Image', 'buddypress' ); 315 ?></h2> 316 268 317 <?php 269 318 … … 296 345 <?php /* Group creation step 5: Invite friends to group */ ?> 297 346 <?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> 298 352 299 353 <?php
Note: See TracChangeset
for help on using the changeset viewer.