- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/forums/index.php
r10265 r11171 30 30 do_action( 'bp_before_directory_forums_content' ); ?> 31 31 32 <div id="forums-dir-search" class="dir-search" role="search"> 33 34 <?php bp_directory_forums_search_form(); ?> 35 36 </div> 32 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 33 <?php if ( has_filter( 'bp_directory_forums_search_form' ) ) : ?> 34 35 <div id="forums-dir-search" class="dir-search" role="search"> 36 <?php bp_directory_forums_search_form(); ?> 37 </div> 38 39 <?php else: ?> 40 41 <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> 42 43 <?php endif; ?> 44 37 45 </form> 38 46 … … 48 56 <form action="" method="post" id="forums-directory-form" class="dir-form"> 49 57 50 <div class="item-list-tabs" role="navigation">58 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>" role="navigation"> 51 59 <ul> 52 60 <li class="selected" id="forums-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ); ?>"><?php printf( __( 'All Topics %s', 'buddypress' ), '<span>' . bp_get_forum_topic_count() . '</span>' ); ?></a></li> … … 70 78 </div> 71 79 72 <div class="item-list-tabs" id="subnav" role="navigation">80 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> 73 81 <ul> 74 82 … … 161 169 <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5> 162 170 171 <div id="template-notices" role="alert" aria-atomic="true"> 163 172 <?php 164 173 165 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 166 do_action( 'template_notices' ); ?> 174 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 175 do_action( 'template_notices' ); ?> 176 177 </div> 167 178 168 179 <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label>
Note: See TracChangeset
for help on using the changeset viewer.