- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php
r10487 r11171 34 34 do_action( 'bp_before_directory_groups_content' ); ?> 35 35 36 <div id="group-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_groups_search_form(); ?> 38 </div><!-- #group-dir-search --> 36 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 37 <?php if ( has_filter( 'bp_directory_groups_search_form' ) ) : ?> 38 39 <div id="group-dir-search" class="dir-search" role="search"> 40 <?php bp_directory_groups_search_form(); ?> 41 </div><!-- #group-dir-search --> 42 43 <?php else: ?> 44 45 <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> 46 47 <?php endif; ?> 39 48 40 49 <form action="" method="post" id="groups-directory-form" class="dir-form"> 41 50 42 <?php 51 <div id="template-notices" role="alert" aria-atomic="true"> 52 <?php 43 53 44 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */45 do_action( 'template_notices' ); ?>54 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 55 do_action( 'template_notices' ); ?> 46 56 47 <div class="item-list-tabs" role="navigation"> 57 </div> 58 59 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'buddypress' ); ?>"> 48 60 <ul> 49 61 <li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count() . '</span>' ); ?></a></li> … … 65 77 </div><!-- .item-list-tabs --> 66 78 67 <div class="item-list-tabs" id="subnav" role="navigation">79 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'buddypress' ); ?>" role="navigation"> 68 80 <ul> 69 81 <?php … … 98 110 </ul> 99 111 </div> 112 113 <h2 class="bp-screen-reader-text"><?php 114 /* translators: accessibility text */ 115 _e( 'Groups directory', 'buddypress' ); 116 ?></h2> 100 117 101 118 <div id="groups-dir-list" class="groups dir-list">
Note: See TracChangeset
for help on using the changeset viewer.