You are here

function theme_redhen_activity_list in RedHen CRM 7

Theme function for activity message list.

Parameters

$variables:

Return value

string

1 theme call to theme_redhen_activity_list()
redhen_activity_activity_page in modules/redhen_activity/redhen_activity.module
Page callback for a list of activities.

File

modules/redhen_activity/redhen_activity.module, line 643

Code

function theme_redhen_activity_list($variables) {
  $rows = $variables['rows'];
  $header = $variables['header'];
  $render['table'] = array(
    '#theme' => 'table',
    '#header' => $header,
    '#rows' => $rows,
    '#empty' => t('Sorry, there are no activities that match your criteria.'),
  );
  $render['pager'] = array(
    '#theme' => 'pager',
  );
  return render($render);
}