You are here

function theme_activity_block in Activity 5.3

Same name and namespace in other branches
  1. 5.4 activity.module \theme_activity_block()
  2. 6 activity.module \theme_activity_block()

theme function for displaying the users activity page

2 theme calls to theme_activity_block()
activity_block in ./activity.module
create a block for display
buddylistactivity_block in contrib/buddylistactivity/buddylistactivity.module

File

./activity.module, line 724
Activity module: Allow users to see their friends' activity on the site.

Code

function theme_activity_block($activities, $more_link = '') {
  if ($content = theme('item_list', $activities, NULL, 'ul', array(
    'class' => 'activity-list',
  ))) {
    $content .= $more_link;
    return $content;
  }
}