From e87f5ebd4db58b76543980eb24a4efe044003e59 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Wed, 11 Jan 2006 14:38:49 +0000 Subject: Frontend improvements. git-svn-id: svn://svn.zabbix.com/trunk@2515 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/alerts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontends/php/alerts.php') 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="
".htmlspecialchars($row["subject"])."
"; -- cgit