- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php
r10265 r11166 34 34 do_action( 'bp_before_directory_blogs_content' ); ?> 35 35 36 <div id="blog-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_blogs_search_form(); ?> 38 </div><!-- #blog-dir-search --> 36 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 37 <?php if ( has_filter( 'bp_directory_blogs_search_form' ) ) : ?> 38 39 <div id="blog-dir-search" class="dir-search" role="search"> 40 <?php bp_directory_blogs_search_form(); ?> 41 </div><!-- #blog-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 <?php … … 49 58 <form action="" method="post" id="blogs-directory-form" class="dir-form"> 50 59 51 <div class="item-list-tabs" role="navigation">60 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation"> 52 61 <ul> 53 62 <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?></a></li> … … 71 80 </div><!-- .item-list-tabs --> 72 81 73 <div class="item-list-tabs" id="subnav" role="navigation">82 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Sites directory secondary navigation', 'buddypress' ); ?>" role="navigation"> 74 83 <ul> 75 84 … … 104 113 </ul> 105 114 </div> 115 116 <h2 class="bp-screen-reader-text"><?php 117 /* translators: accessibility text */ 118 _e( 'Sites directory', 'buddypress' ); 119 ?></h2> 106 120 107 121 <div id="blogs-dir-list" class="blogs dir-list">
Note: See TracChangeset
for help on using the changeset viewer.