You are here

function theme_security_review_help_options in Security Review 6

Same name and namespace in other branches
  1. 7 security_review.help.inc \theme_security_review_help_options()
2 theme calls to theme_security_review_help_options()
_security_review_help_spam in ./security_review.help.inc
_security_review_help_ssl in ./security_review.help.inc

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;
}