function theme_security_review_help_options in Security Review 6
Same name and namespace in other branches
- 7 security_review.help.inc \theme_security_review_help_options()
2 theme calls to theme_security_review_help_options()
File
- ./
security_review.help.inc, line 63 - Main help definition.
Code
function theme_security_review_help_options($element) {
$output .= '<div class="sec-rev-help-option">';
$output .= l($element['problem'], 'admin/reports/security-review/help', array(
'fragment' => $element['type'],
'attributes' => array(
'class' => 'sec-rev-help-dyn',
),
));
$output .= '<div class="sec-rev-help-content">';
$output .= '<p>' . $element['description'] . '</p>';
foreach ($element['options'] as $option) {
$items[] = l($option['name'], $option['href']);
}
$output .= theme('item_list', $items);
$output .= '</div>';
$output .= '</div>';
return $output;
}