Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/02/2008 09:04:12 PM (17 years ago)
Author:
apeatling
Message:

Added profile field filters
Added RSS feeds to site wide, personal and friend feeds
Small fixes on blog, member and group directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-widgets.php

    r436 r601  
    1818
    1919function bp_activity_widget_sitewide_activity($args) {
    20     global $current_blog;
     20    global $bp, $current_blog;
    2121   
    2222    extract($args);
     
    2929
    3030    <?php if ( (int)$current_blog->blog_id == 1 ) : ?>
    31         <?php $activity = BP_Activity_Activity::get_sitewide_activity( $options['max_items'] ) ?>
     31        <?php $activity = bp_activity_get_sitewide_activity( $options['max_items'] ) ?>
    3232       
    3333        <?php if ( $activity ) : ?>
     34            <div class="item-options" id="activity-list-options">
     35                <img src="<?php echo $bp['activity']['image_base'] ?>/rss.png" alt="<?php _e( 'RSS Feed', 'buddypress' ) ?>" /> <a href="<?php bp_sitewide_activity_feed_link() ?>" title="<?php _e( 'Site Wide Activity RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a>
     36            </div>
    3437            <ul id="site-wide-stream" class="activity-list">
    3538            <?php foreach( $activity as $item ) : ?>
Note: See TracChangeset for help on using the changeset viewer.