Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/forums/index.php

    r11171 r10265  
    3030        do_action( 'bp_before_directory_forums_content' ); ?>
    3131
    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 
     32        <div id="forums-dir-search" class="dir-search" role="search">
     33
     34            <?php bp_directory_forums_search_form(); ?>
     35
     36        </div>
    4537    </form>
    4638
     
    5648    <form action="" method="post" id="forums-directory-form" class="dir-form">
    5749
    58         <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>" role="navigation">
     50        <div class="item-list-tabs" role="navigation">
    5951            <ul>
    6052                <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>
     
    7870        </div>
    7971
    80         <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation">
     72        <div class="item-list-tabs" id="subnav" role="navigation">
    8173            <ul>
    8274
     
    169161                    <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5>
    170162
    171                     <div id="template-notices" role="alert" aria-atomic="true">
    172163                    <?php
    173164
    174                         /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    175                         do_action( 'template_notices' ); ?>
    176 
    177                     </div>
     165                    /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     166                    do_action( 'template_notices' ); ?>
    178167
    179168                    <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label>
Note: See TracChangeset for help on using the changeset viewer.