Changeset 3369 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 11/07/2010 12:20:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r3365 r3369 445 445 446 446 // If this is a user object pass the users' email address for Gravatar so we don't have to refetch it. 447 if ( 'user' == $object && empty( $email ) )447 if ( 'user' == $object && empty( $email ) && isset( $activities_template->activity->user_email ) ) 448 448 $email = $activities_template->activity->user_email; 449 449 … … 656 656 return false; 657 657 658 $content .= '<ul>';658 $content = '<ul>'; 659 659 foreach ( (array)$comment->children as $comment ) { 660 660 if ( !$comment->user_fullname ) … … 999 999 global $bp; 1000 1000 1001 $link = ''; 1002 1001 1003 if ( $bp->current_component == $bp->profile->slug || 'just-me' == $bp->current_action ) 1002 1004 $link = $bp->displayed_user->domain . $bp->activity->slug . '/feed/'; 1003 else 1005 elseif ( $bp->friends->slug == $bp->current_action ) 1004 1006 $link = $bp->displayed_user->domain . $bp->activity->slug . '/' . $bp->friends->slug . '/feed/'; 1005 else 1007 elseif ( $bp->groups->slug == $bp->current_action ) 1006 1008 $link = $bp->displayed_user->domain . $bp->activity->slug . '/' . $bp->groups->slug . '/feed/'; 1007 else 1009 elseif ( 'favorites' == $bp->current_action ) 1008 1010 $link = $bp->displayed_user->domain . $bp->activity->slug . '/favorites/feed/'; 1009 else 1011 elseif ( 'mentions' == $bp->current_action ) 1010 1012 $link = $bp->displayed_user->domain . $bp->activity->slug . '/mentions/feed/'; 1011 1013
Note: See TracChangeset
for help on using the changeset viewer.