Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/17/2011 08:34:53 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Normalize index actions in bp-default. Fixes regression from 1.2.9. Fixes #3484.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/groups/index.php

    r4923 r4994  
    1212<?php get_header( 'buddypress' ); ?>
    1313
    14     <?php do_action( 'bp_before_directory_groups_content' ); ?>
     14    <?php do_action( 'bp_before_directory_groups_page' ); ?>
    1515
    1616    <div id="content">
    1717        <div class="padder">
    1818
     19        <?php do_action( 'bp_before_directory_groups' ); ?>
     20
    1921        <form action="" method="post" id="groups-directory-form" class="dir-form">
    2022
    2123            <h3><?php _e( 'Groups Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?> &nbsp;<a class="button" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ); ?>"><?php _e( 'Create a Group', 'buddypress' ); ?></a><?php endif; ?></h3>
     24
     25            <?php do_action( 'bp_before_directory_groups_content' ); ?>
    2226
    2327            <div id="group-dir-search" class="dir-search" role="search">
     
    7579            <?php wp_nonce_field( 'directory_groups', '_wpnonce-groups-filter' ); ?>
    7680
     81            <?php do_action( 'bp_after_directory_groups_content' ); ?>
     82
    7783        </form><!-- #groups-directory-form -->
     84
     85        <?php do_action( 'bp_after_directory_groups' ); ?>
    7886
    7987        </div><!-- .padder -->
    8088    </div><!-- #content -->
    8189
    82     <?php do_action( 'bp_after_directory_groups_content' ); ?>
     90    <?php do_action( 'bp_after_directory_groups_page' ); ?>
    8391
    8492<?php get_sidebar( 'buddypress' ); ?>
Note: See TracChangeset for help on using the changeset viewer.