| # | Line 65 | Line 65 | function printAlert($machine, $alert, $small="") { | |
|---|---|---|
| 65 | <font size="$fontsize" color="$alertColour"><b>$alertLevel</b></font> | |
| 66 | </td> | |
| 67 | <td> | |
| 68 | < | <font size="$fontsize">$attributeName</font> | 
| 68 | > | <font size="$fontsize">$attributeName (c:$value t:$thresholdValue)</font> | 
| 69 | </td> | |
| 70 | <td> | |
| 71 |   | |
| # | Line 236 | Line 236 | EOT; | |
| 236 | foreach ($machine_array as $machine) { | |
| 237 | printReports($machine, $small); | |
| 238 | } | |
| 239 | + | } | 
| 240 | + | else { | 
| 241 | + | print "<font size='$fontsize'><b>There are currently no alerts</b></font>"; | 
| 242 | } | |
| 243 | } | |
| 244 | else { | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |