Changeset 601 for trunk/bp-activity/bp-activity-widgets.php
- Timestamp:
- 12/02/2008 09:04:12 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-widgets.php
r436 r601 18 18 19 19 function bp_activity_widget_sitewide_activity($args) { 20 global $ current_blog;20 global $bp, $current_blog; 21 21 22 22 extract($args); … … 29 29 30 30 <?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'] ) ?> 32 32 33 33 <?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> 34 37 <ul id="site-wide-stream" class="activity-list"> 35 38 <?php foreach( $activity as $item ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.