0) { if (($errorCount = Report::getErrorCount()) > 0) { echo 'Error '; echo "$errorCount"; } if (($warningCount = Report::getWarningCount()) > 0) { echo 'Warning '; echo "$warningCount"; } if (($infoCount = Report::getInfoCount()) > 0) { echo 'Suggestion '; echo "$infoCount"; } } else { echo lang('no_issues'); } ?>
0) { ?>

display_value ?>  -  display_value ?>

$infoArray) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; foreach ($infoArray as $info) { echo "\n"; echo "\n"; echo "\n"; echo "'; echo ''; } } ?>
".lang($category)."".lang('code')."
".lang($info->title).""; if ($info->display_value != null) { _lang($info->display_value); } else if ($info->values != null) { for ($i = 0; $i < count($info->values); $i++) { $valArray = $info->values[$i]; foreach ((array) $valArray['values'] as $value) if ($value != null) echo '', $value, ' '; } } echo "\n"; if ($info->values != null) { $count = count($info->values); echo $count > 1 ? '
    ' : ''; for ($i = 0; $i < $count; $i++) { if (($code = $info->values[$i]['code']) != null) { echo $count > 1 ? '
  1. ' : ''; echo '', htmlspecialchars($code), ''; echo $count > 1 ? '
  2. ' : ''; } } echo $count > 1 ? '
' : ''; //echo $count > 4 ? '' : ''; } echo '

0) { ?>

  1. severity == REPORT_LEVEL_ERROR) echo 'Error'; elseif ($report->severity == REPORT_LEVEL_WARNING) echo 'Warning'; elseif ($report->severity == REPORT_LEVEL_INFO) echo 'Suggestion'; echo $report->title ?>

    explanation != null) { echo "

    ", lang('rep_explanation'), "

    "; foreach ((array) $report->explanation as $expl) echo strpos($expl, '<') === 0 ? $expl : "

    ".$expl."

    "; // if the line starts with a tag do not add inside p } if ($report->whattodo != null) { echo "

    ", lang('rep_what_to_do'), "

    "; foreach ((array) $report->whattodo as $todo) echo strpos($todo, '<') === 0 ? $todo : "

    ".$todo."

    "; } if ($report->further != null) { echo "

    ", lang('rep_further_reading'), "

    "; echo Language::format($report->further, LANG_FORMAT_OL); } ?>

*/ ?>