--- projects/cms/source/reports/php/alerts/alerts.php 2001/03/21 11:58:26 1.13
+++ projects/cms/source/reports/php/alerts/alerts.php 2001/03/21 12:07:59 1.14
@@ -22,7 +22,7 @@ function getValue($value, $alert) {
return $matches[1];
}
-function printAlert($machine, $alert) {
+function printAlert($machine, $alert, $small="") {
include("alerts_config.inc.php");
@@ -40,8 +40,8 @@ function printAlert($machine, $alert) {
$alertLevel = $alertLevelNames[$alertLevel];
$initialAlertTime = strftime("%x %X", intval($initialAlertTime / 1000));
- if ($small) {
-
+ if ($small == "true") {
+ echo "small";
}
else {
echo <<
-
-
- Current alerts for $machine
-
-
- Sorted by time, latest first. - - - |
- ||
+ if ($small == "true") {
+
+ }
+ else {
+ echo <<
|