function theme_views_maintenance_views_thead in Views Maintenance 6
Same name and namespace in other branches
- 7 theme/theme.inc \theme_views_maintenance_views_thead()
Returns HTML for primary views table thead tag.
Code was copied from theme_table().
Parameters
array $header:
1 theme call to theme_views_maintenance_views_thead()
- template_preprocess_views_maintenance_views_table in theme/
theme.inc - Prepares views info for output and includes required CSS/JS.
File
- theme/
theme.inc, line 105 - Preprocessing and theming functions for Views Maintenance.
Code
function theme_views_maintenance_views_thead($header) {
$ts = tablesort_init($header);
$output = '<thead><tr>';
foreach ($header as $cell) {
$cell = tablesort_header($cell, $header, $ts);
$output .= _theme_table_cell($cell, TRUE);
}
$output .= "</tr></thead>\n";
return $output;
}