diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-11 14:38:49 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-11 14:38:49 +0000 |
| commit | e87f5ebd4db58b76543980eb24a4efe044003e59 (patch) | |
| tree | 04c5bfc3f208d4c9d7a137ff356035ca08cb7014 /frontends/php/alerts.php | |
| parent | b4b26e48b09f36c8b533412a1b19f1f23a447a9b (diff) | |
| download | zabbix-e87f5ebd4db58b76543980eb24a4efe044003e59.tar.gz zabbix-e87f5ebd4db58b76543980eb24a4efe044003e59.tar.xz zabbix-e87f5ebd4db58b76543980eb24a4efe044003e59.zip | |
Frontend improvements.
git-svn-id: svn://svn.zabbix.com/trunk@2515 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/alerts.php')
| -rw-r--r-- | frontends/php/alerts.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/alerts.php b/frontends/php/alerts.php index 53b32116..7cfe3007 100644 --- a/frontends/php/alerts.php +++ b/frontends/php/alerts.php @@ -88,7 +88,7 @@ } $result=DBselect($sql); - $table = new Ctable(S_NO_ALERTS); + $table = new CTableInfo(S_NO_ALERTS); $table->setHeader(array(S_TIME, S_TYPE, S_STATUS, S_RECIPIENTS, S_SUBJECT, S_MESSAGE, S_ERROR)); $col=0; $zzz=0; @@ -106,11 +106,11 @@ if($row["status"] == 1) { - $status=array("value"=>S_SENT,"class"=>"off"); + $status=new CCol(S_SENT,"off"); } else { - $status=array("value"=>S_NOT_SENT,"class"=>"on"); + $status=new CCol(S_NOT_SENT,"on"); } $sendto=htmlspecialchars($row["sendto"]); $subject="<pre>".htmlspecialchars($row["subject"])."</pre>"; |
