- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r11182 r10968 36 36 do_action( 'bp_before_create_group' ); ?> 37 37 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"> 39 39 <ul> 40 40 … … 44 44 </div> 45 45 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' ); ?> 53 50 54 51 <div class="item-body" id="group-create-body"> … … 56 53 <?php /* Group creation step 1: Basic group details */ ?> 57 54 <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?> 58 59 <h2 class="bp-screen-reader-text"><?php60 /* translators: accessibility text */61 _e( 'Group Details', 'buddypress' );62 ?></h2>63 55 64 56 <?php … … 97 89 <?php /* Group creation step 2: Group settings */ ?> 98 90 <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?> 99 100 <h2 class="bp-screen-reader-text"><?php101 /* translators: accessibility text */102 _e( 'Group Settings', 'buddypress' );103 ?></h2>104 91 105 92 <?php … … 146 133 </fieldset> 147 134 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 <?php160 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 174 135 <fieldset class="group-create-invitations"> 175 136 … … 224 185 <?php /* Group creation step 3: Avatar Uploads */ ?> 225 186 <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?> 226 227 <h2 class="bp-screen-reader-text"><?php228 /* translators: accessibility text */229 _e( 'Group Avatar', 'buddypress' );230 ?></h2>231 187 232 188 <?php … … 310 266 <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?> 311 267 312 <h2 class="bp-screen-reader-text"><?php313 /* translators: accessibility text */314 _e( 'Cover Image', 'buddypress' );315 ?></h2>316 317 268 <?php 318 269 … … 345 296 <?php /* Group creation step 5: Invite friends to group */ ?> 346 297 <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?> 347 348 <h2 class="bp-screen-reader-text"><?php349 /* translators: accessibility text */350 _e( 'Group Invites', 'buddypress' );351 ?></h2>352 298 353 299 <?php
Note: See TracChangeset
for help on using the changeset viewer.