You are here

function theme_activity_block in Activity 6

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

Theme function for displaying an activity block.

3 theme calls to theme_activity_block()
activity_block in ./activity.module
Implementation of hook_block().
ogactivity_block in contrib/ogactivity/ogactivity.module
create a block for display
user_relationshipsactivity_block in contrib/user_relationshipsactivity/user_relationshipsactivity.module
Implementation of hook_block().

File

./activity.module, line 1298
activity.module

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;
  }
}