diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-09-08 11:52:38 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-09-08 11:52:38 +0000 |
| commit | af0a329b812599d79e26a59d9d8eaaa4312c2034 (patch) | |
| tree | a6b326d01bf7cf771b68c000eebd4918ffebedfd /frontends/php/include/events.inc.php | |
| parent | 3bf6b80b24fee06d1d8c7e2662a6a758aa1d4520 (diff) | |
| download | zabbix-af0a329b812599d79e26a59d9d8eaaa4312c2034.tar.gz zabbix-af0a329b812599d79e26a59d9d8eaaa4312c2034.tar.xz zabbix-af0a329b812599d79e26a59d9d8eaaa4312c2034.zip | |
ported 3274:3290 from 1.1.2 (Eugene)
- improved macro variables substitution in message body/subject (Eugene)
- minor fix of static linkage (Eugene)
- fixed support of PostgreSQL (Eugene)
- fixed DBinsert_id function for oracle (Eugene)
- fixed autoregistration in oracle system (Eugene)
- updated postgresql cheme, added start value for sequencers (Eugene)
- fixed limitation of return value of some items (Eugene)
- added color selection for trigger severity 'warning' and 'information' (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3291 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/events.inc.php')
| -rw-r--r-- | frontends/php/include/events.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/events.inc.php b/frontends/php/include/events.inc.php index 78e2f7d5..9ba2239b 100644 --- a/frontends/php/include/events.inc.php +++ b/frontends/php/include/events.inc.php @@ -70,8 +70,8 @@ $trigger = get_trigger_by_triggerid($row["triggerid"]); if($trigger["priority"]==0) $priority=S_NOT_CLASSIFIED; - elseif($trigger["priority"]==1) $priority=S_INFORMATION; - elseif($trigger["priority"]==2) $priority=S_WARNING; + elseif($trigger["priority"]==1) $priority=new CCol(S_INFORMATION, "information"); + elseif($trigger["priority"]==2) $priority=new CCol(S_WARNING,"warning"); elseif($trigger["priority"]==3) $priority=new CCol(S_AVERAGE,"average"); elseif($trigger["priority"]==4) $priority=new CCol(S_HIGH,"high"); elseif($trigger["priority"]==5) $priority=new CCol(S_DISASTER,"disaster"); |
