You are here

function theme_search_log_report in Search Log 7

Same name and namespace in other branches
  1. 6 search_log.admin.inc \theme_search_log_report()

Theme report.

1 theme call to theme_search_log_report()
search_log_report in ./search_log.admin.inc
Display search log report.

File

./search_log.admin.inc, line 459
Admin page callbacks file for the search_log module.

Code

function theme_search_log_report($variables) {
  drupal_add_css(drupal_get_path('module', 'search_log') . '/search_log.css');
  $output = '<div class="search-log-filter">' . drupal_render($variables['filters']) . '</div>';
  $output .= '<div class="search-log-results">';
  $output .= '<fieldset class="summary"><legend>' . t('Report results') . '</legend><div class="fieldset-wrapper">' . $variables['summary'] . '</div></fieldset>';
  $output .= $variables['table'];
  $output .= $variables['pager'];
  $output .= '</div>';
  return $output;
}