diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-08-11 16:16:22 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-08-11 16:16:22 +0000 |
commit | cbb3323a0ad2ae65d0134e01b807faf8df99a2d2 (patch) | |
tree | ad55125fb7f264d94d07d873e00f45c19097f4f6 /frontends/php/alerts.php | |
parent | 150ed6cf4a06893d5ab64eb31c7efc06c4e05744 (diff) | |
download | zabbix-cbb3323a0ad2ae65d0134e01b807faf8df99a2d2.tar.gz zabbix-cbb3323a0ad2ae65d0134e01b807faf8df99a2d2.tar.xz zabbix-cbb3323a0ad2ae65d0134e01b807faf8df99a2d2.zip |
- added housekeeping procedure for table sessions (Alexei)
- changed width=\"X%\" to width=X% in *.php (Alexei)
- Status of a trigger will blink if it was changes during last 60
seconds (Alexei)
- Zabbix daemons to update triggers.lastchange when triggers.values
is changed (Alexei)
- added misc/init.d/debian/zabbix-[suckerd|trapperd] (Alexei)
- removed misc/init.d/debian/zabbix-server (Alexei)
- send_email() will timeout after 10 seconds (Alexei)
- DBadd_alarm() renamed to add_alarm() (Alexei)
- support for SCO OpenServer (Alexei). Thanks to Alexender Kirhenstein.
- ./configure will correctly define socklen_t (Alexei)
- <center> changed to <div align=center> (Alexei)
- reason of problem in screen IT Services (Alexei)
- added frontends.php/helpdesk.php (Alexei)
- added tables: problems, problems_comments,categories (Alexei)
- added "...#form" to button Change in form Configuration of Users (Alexei)
- "Just for information" changed to "Information" (Alexei)
- fixed ./configure to correctly find zlib (Alexei)
- housekeeping to delete no more than HousekeepingFrequency*3600 records
from table history and history_str at once (MySQL only) (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@450 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/alerts.php')
-rw-r--r-- | frontends/php/alerts.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/frontends/php/alerts.php b/frontends/php/alerts.php index 983839c7..e595b43b 100644 --- a/frontends/php/alerts.php +++ b/frontends/php/alerts.php @@ -49,13 +49,12 @@ } $result=DBselect($sql); - echo "<CENTER>"; - echo "<TABLE WIDTH=100% BORDER=0 BGCOLOR=\"#CCCCCC\" cellspacing=1 cellpadding=3>"; + echo "<TABLE WIDTH=100% align=center BORDER=0 BGCOLOR=\"#CCCCCC\" cellspacing=1 cellpadding=3>"; echo "<TR>"; - echo "<TD WIDTH=\"10%\"><b>Time</b></TD>"; - echo "<TD WIDTH=\"5%\"><b>Type</b></TD>"; - echo "<TD WIDTH=\"5%\"><b>Status</b></TD>"; - echo "<TD WIDTH=\"15%\"><b>Recipient(s)</b></TD>"; + echo "<TD WIDTH=10%><b>Time</b></TD>"; + echo "<TD WIDTH=5%><b>Type</b></TD>"; + echo "<TD WIDTH=5%><b>Status</b></TD>"; + echo "<TD WIDTH=15%><b>Recipient(s)</b></TD>"; echo "<TD><b>Subject</b></TD>"; echo "<TD><b>Message</b></TD>"; echo "</TR>"; @@ -96,19 +95,20 @@ echo "<TD><font color=\"AA0000\">not sent</font></TD>"; } echo "<TD>".$row["sendto"]."</TD>"; - echo "<TD>".$row["subject"]."</TD>"; + echo "<TD><pre>".$row["subject"]."</pre></TD>"; echo "<TD>"; - for($i=0;$i<strlen($row["message"]);$i++) - { - if($row["message"][$i]=="\n") - { - echo "<br>"; - } - else - { - echo $row["message"][$i]; - } - } + echo "<pre>".$row["message"]."</pre>";; +// for($i=0;$i<strlen($row["message"]);$i++) +// { +// if($row["message"][$i]=="\n") +// { +// echo "<br>"; +// } +// else +// { +// echo $row["message"][$i]; +// } +// } echo "</TD>"; echo "</TR>"; } @@ -116,7 +116,7 @@ ?> </FONT> </TR> -</TABLE></CENTER> +</TABLE> <? show_footer(); |