function theme_perfmon_mysql_reviewed in Performance monitor 7
Theme mysql report.
1 theme call to theme_perfmon_mysql_reviewed()
- perfmon_mysql_reviewed in ./
perfmon.pages.inc - Mysql settings page output.
File
- ./
perfmon.pages.inc, line 210 - @todo: Enter file description here. @todo: Add hook_help for all tests.
Code
function theme_perfmon_mysql_reviewed($variables) {
$output = '<h3>' . $variables['header'] . '</h3>';
$output .= '<p>' . $variables['description'] . '</p>';
$output .= '<table class="system-status-report">';
if (!empty($variables['items'])) {
foreach ($variables['items'] as $item) {
if ($item['bold']) {
$output .= '<tr class="' . $item['class'] . '" style="font-size:medium; font-weight:bold;">';
}
else {
$output .= '<tr class="' . $item['class'] . '">';
}
$output .= '<td>' . $item['title'] . '</td>';
$output .= '<td>' . $item['value'] . '</td>';
$output .= '<td>' . $item['message'] . '</td>';
$output .= '</tr>';
}
}
$output .= '</table>';
return $output;
}