diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-05-25 07:40:51 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-05-25 07:40:51 +0000 |
| commit | 231faf1162a0aac6feb4e30b18da7bd14bb8de11 (patch) | |
| tree | 5c9266d54cb8b65d5014629871ff730547268bdb /frontends/php/report2.php | |
| parent | d3efc4c51bb20d6122b9b45964017a9d1eae7c3a (diff) | |
| download | zabbix-231faf1162a0aac6feb4e30b18da7bd14bb8de11.tar.gz zabbix-231faf1162a0aac6feb4e30b18da7bd14bb8de11.tar.xz zabbix-231faf1162a0aac6feb4e30b18da7bd14bb8de11.zip | |
- added support for real delta. item.delta=2. (Alexei)
- new selection for triggers.php (Alexei)
- new selection for items.php (Alexei)
- removed helpdesk.php (Alexei)
- fixed check of permissions for screenedit.php (Alexei)
- new selection for graphs in charts.php (Alexei)
- new selection of maps in maps.php (Alexei)
- new selection of group and host for latest.php (Alexei)
- added support for macro {IPADDRESS} (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1348 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report2.php')
| -rw-r--r-- | frontends/php/report2.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/frontends/php/report2.php b/frontends/php/report2.php index 52ff7e8c..353300e0 100644 --- a/frontends/php/report2.php +++ b/frontends/php/report2.php @@ -20,7 +20,7 @@ ?> <?php include "include/config.inc.php"; - $page["title"] = "Availability report"; + $page["title"] = S_AVAILABILITY_REPORT; $page["file"] = "report2.php"; show_header($page["title"],0,0); ?> @@ -28,7 +28,7 @@ <?php if(!check_anyright("Host","R")) { - show_table_header("<font color=\"AA0000\">No permissions !</font>"); + show_table_header("<font color=\"AA0000\">".S_NO_PERMISSIONS."</font>"); show_footer(); exit; } @@ -36,7 +36,7 @@ <?php show_table_header_begin(); - echo "AVAILABILITY REPORT"; + echo S_AVAILABILITY_REPORT_BIG; show_table_v_delimiter(); @@ -74,12 +74,12 @@ $result=DBselect("select distinct h.hostid,h.host,t.triggerid,t.expression,t.description,t.value from triggers t,hosts h,items i,functions f where f.itemid=i.itemid and h.hostid=i.hostid and t.status=0 and t.triggerid=f.triggerid and h.hostid=".$HTTP_GET_VARS["hostid"]." and h.status in (0,2) and i.status=0 order by h.host, t.description"); echo "<TABLE BORDER=0 COLS=3 WIDTH=100% BGCOLOR=\"#CCCCCC\" cellspacing=1 cellpadding=3>"; echo "<TR>"; - echo "<TD><B>Description</B></TD>"; + echo "<TD><B>".S_DESCRIPTION."</B></TD>"; // echo "<TD><B>Expression</B></TD>"; - echo "<TD WIDTH=5%><B>True</B></TD>"; - echo "<TD WIDTH=5%><B>False</B></TD>"; - echo "<TD WIDTH=5%><B>Unknown</B></TD>"; - echo "<TD WIDTH=5%><B>Graph</B></TD>"; + echo "<TD WIDTH=5%><B>".S_TRUE."</B></TD>"; + echo "<TD WIDTH=5%><B>".S_FALSE."</B></TD>"; + echo "<TD WIDTH=5%><B>".S_UNKNOWN."</B></TD>"; + echo "<TD WIDTH=5%><B>".S_GRAPH."</B></TD>"; echo "</TR>\n"; $col=0; while($row=DBfetch($result)) @@ -114,7 +114,7 @@ printf("%.4f%%",$availability["unknown"]); echo "</TD>"; echo "<TD>"; - echo "<a href=\"report2.php?hostid=".$HTTP_GET_VARS["hostid"]."&triggerid=".$row["triggerid"]."\">Show</a>"; + echo "<a href=\"report2.php?hostid=".$HTTP_GET_VARS["hostid"]."&triggerid=".$row["triggerid"]."\">".S_SHOW."</a>"; echo "</TD>"; echo "</TR>\n"; } |
