You are here

function theme_total_control_overview in Total Control Admin Dashboard 7.2

Same name and namespace in other branches
  1. 6.2 total_control.theme.inc \theme_total_control_overview()
1 theme call to theme_total_control_overview()
total_control_overview_content_type_render in plugins/content_types/overview.inc
Run-time rendering of the body of the block.

File

./total_control.theme.inc, line 13
Theme functions used in total control panel panes.

Code

function theme_total_control_overview($variables) {
  $content = $variables['content'];
  $users = $variables['users'];
  $output = '<div class="total-control-site-overview">';
  $output .= '<strong>' . t('Content') . '</strong>';
  $output .= theme('item_list', array(
    'items' => $content,
  ));
  $output .= '<strong>' . t('Users') . '</strong>';
  $output .= theme('item_list', array(
    'items' => $users,
  ));
  $output .= '</div>';
  return $output;
}