--- projects/cms/source/reports/php/alerts/alerts.php 2001/03/21 11:54:18 1.12 +++ projects/cms/source/reports/php/alerts/alerts.php 2001/03/21 11:58:26 1.13 @@ -40,32 +40,36 @@ function printAlert($machine, $alert) { $alertLevel = $alertLevelNames[$alertLevel]; $initialAlertTime = strftime("%x %X", intval($initialAlertTime / 1000)); - echo << - - $attributeName -   - $alertLevel -   - - - Threshold: - $thresholdValue - Initially raised: - $initialAlertTime - - - Alert value: - $value - - - - - + } + else { + echo << + + $attributeName +   + $alertLevel +   + + + Threshold: + $thresholdValue + Initially raised: + $initialAlertTime + + + Alert value: + $value + + + + + EOT; - - printLine(""); + printLine(""); + } }