Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/06/2009 03:07:48 AM (17 years ago)
Author:
apeatling
Message:

Converted $bp as an array to $bp as an object. See this post for more info: http://buddypress.org/forums/topic.php?id=1125

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/directories/bp-core-directory-members.php

    r897 r1021  
    22function bp_core_directory_members_setup() {
    33        global $bp, $current_blog;
    4        
    5         if ( $bp['current_component'] == MEMBERS_SLUG && $bp['current_action'] == '' ) {
     4
     5        if ( $bp->current_component == MEMBERS_SLUG && empty( $bp->current_action ) ) {
    66                add_action( 'bp_template_content', 'bp_core_directory_members_content' );
    77                add_action( 'bp_template_sidebar', 'bp_core_directory_members_sidebar' );
     
    8787                        <div id="member-dir-count" class="pag-count">
    8888                                <?php echo sprintf( __( 'Viewing member %d to %d (%d total active members)', 'buddypress' ), $from_num, $to_num, $users['total'] ); ?> &nbsp;
    89                                 <img id="ajax-loader-members" src="<?php echo $bp['core']['image_base'] ?>/ajax-loader.gif" height="7" alt="<?php _e( "Loading", "buddypress" ) ?>" style="display: none;" />
     89                                <img id="ajax-loader-members" src="<?php echo $bp->core->image_base ?>/ajax-loader.gif" height="7" alt="<?php _e( "Loading", "buddypress" ) ?>" style="display: none;" />
    9090                        </div>
    9191                       
Note: See TracChangeset for help on using the changeset viewer.