function theme_security_review_reviewed in Security Review 7
Same name and namespace in other branches
- 6 security_review.module \theme_security_review_reviewed()
1 theme call to theme_security_review_reviewed()
File
- ./
security_review.pages.inc, line 409 - security_review.pages.inc
Code
function theme_security_review_reviewed($variables) {
// @todo
//drupal_add_js(drupal_get_path('module', 'security_review') . '/security_review.js', array('scope' => 'footer'));
$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) {
$output .= '<tr class="' . $item['class'] . '">';
$output .= '<td class="status-icon"><div title="' . $item['title'] . '"><span class="element-invisible">' . $item['title'] . '</span></div></td>';
$output .= '<td>' . $item['message'] . '</td>';
$output .= '<td>' . $item['help_link'] . '</td>';
$output .= '<td>' . $item['toggle_link'] . '</td>';
$output .= '</tr>';
}
}
$output .= '</table>';
return $output;
}