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/latest.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/latest.php')
-rw-r--r-- | frontends/php/latest.php | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/frontends/php/latest.php b/frontends/php/latest.php index b38454f7..81b509da 100644 --- a/frontends/php/latest.php +++ b/frontends/php/latest.php @@ -110,7 +110,7 @@ # echo "<a href=\"latest.php?hostid=$hostid\">$host</a>"; # show_table3_v_delimiter(); - echo "<TABLE BORDER=0 COLS=4 WIDTH=\"100%\" cellspacing=1 cellpadding=3>"; + echo "<TABLE BORDER=0 COLS=4 WIDTH=100% cellspacing=1 cellpadding=3>"; cr(); echo "<TR BGCOLOR=\"CCCCCC\">"; cr(); @@ -135,29 +135,29 @@ } if(isset($sort)&&($sort=="lastcheck")) { - echo "<TD WIDTH=\"12%\"><B>LAST CHECK</B></TD>"; + echo "<TD WIDTH=12%><B>LAST CHECK</B></TD>"; } else { if(isset($select)) { - echo "<TD WIDTH=\"12%\"><B><a href=\"latest.php?select=$select&sort=lastcheck\">Last check</B></TD>"; + echo "<TD WIDTH=12%><B><a href=\"latest.php?select=$select&sort=lastcheck\">Last check</B></TD>"; } else { - echo "<TD WIDTH=\"12%\"><B><a href=\"latest.php?hostid=$hostid&sort=lastcheck\">Last check</B></TD>"; + echo "<TD WIDTH=12%><B><a href=\"latest.php?hostid=$hostid&sort=lastcheck\">Last check</B></TD>"; } } cr(); - echo "<TD WIDTH=\"10%\" NOSAVE><B>Last value</B></TD>"; + echo "<TD WIDTH=10%><B>Last value</B></TD>"; cr(); - echo "<TD WIDTH=\"5%\" NOSAVE><B>Change</B></TD>"; + echo "<TD WIDTH=5%><B>Change</B></TD>"; cr(); - echo "<TD WIDTH=\"5%\" NOSAVE><center><B>History</B></center></TD>"; + echo "<TD WIDTH=5% align=center><B>History</B></TD>"; cr(); - echo "<TD WIDTH=\"5%\" NOSAVE><center><B>Trends</B></center></TD>"; + echo "<TD WIDTH=5% align=center><B>Trends</B></TD>"; cr(); - echo "<TD WIDTH=\"5%\" NOSAVE><center><B>Compare</B></center></TD>"; + echo "<TD WIDTH=5% align=center><B>Compare</B></TD>"; cr(); echo "</TR>"; cr(); @@ -217,12 +217,11 @@ if(!isset($row["lastclock"])) { - echo "<center>-</center>"; + echo "<div align=center>-</div>"; } else { echo date("d M H:i:s",$row["lastclock"]); -// echo date("H:i:s",$row["lastclock"]); } echo "</font></td>"; @@ -246,7 +245,7 @@ } else { - echo "<td><center>-</center></td>"; + echo "<td align=center>-</td>"; } if( isset($row["lastvalue"]) && isset($row["prevvalue"]) && $row["lastvalue"]-$row["prevvalue"] != 0 ) { @@ -254,31 +253,31 @@ } else { - echo "<td><center>-</center></td>"; + echo "<td align=center>-</td>"; } if($row["value_type"]==0) { - echo "<td><center><a href=\"history.php?action=showhistory&itemid=".$row["itemid"]."\">Show</a></center></td>"; + echo "<td align=center><a href=\"history.php?action=showhistory&itemid=".$row["itemid"]."\">Show</a></td>"; } else { - echo "<td><center><a href=\"history.php?action=showvalues&period=3600&itemid=".$row["itemid"]."\">Show</a></center></td>"; + echo "<td align=center><a href=\"history.php?action=showvalues&period=3600&itemid=".$row["itemid"]."\">Show</a></td>"; } if($row["value_type"]==0) { - echo "<td><center><a href=\"trends.php?itemid=".$row["itemid"]."\">Show</a></center></td>"; + echo "<td align=center><a href=\"trends.php?itemid=".$row["itemid"]."\">Show</a></td>"; } else { - echo "<td><center>Show</center></td>"; + echo "<td align=center>Show</td>"; } if($row["value_type"]==0) { - echo "<td><center><a href=\"compare.php?itemid=".$row["itemid"]."\">Show</a></center></td>"; + echo "<td align=center><a href=\"compare.php?itemid=".$row["itemid"]."\">Show</a></td>"; } else { - echo "<td><center>Show</center></td>"; + echo "<td align=center>Show</td>"; } echo "</tr>"; } |