summaryrefslogtreecommitdiffstats
path: root/frontends/php/report2.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-21 12:04:14 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-21 12:04:14 +0000
commit6cedc68a94791171bc3b3bd3087d6330f039c031 (patch)
treee83e801e16b5259bbd6712f51d6219e6d0b8f01e /frontends/php/report2.php
parentacb94184d3be234c51afae80428233c548977b7f (diff)
downloadzabbix-6cedc68a94791171bc3b3bd3087d6330f039c031.tar.gz
zabbix-6cedc68a94791171bc3b3bd3087d6330f039c031.tar.xz
zabbix-6cedc68a94791171bc3b3bd3087d6330f039c031.zip
Frontend improvements.
git-svn-id: svn://svn.zabbix.com/trunk@2554 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report2.php')
-rw-r--r--frontends/php/report2.php16
1 files changed, 11 insertions, 5 deletions
diff --git a/frontends/php/report2.php b/frontends/php/report2.php
index 8bedc6c0..89fe6bd9 100644
--- a/frontends/php/report2.php
+++ b/frontends/php/report2.php
@@ -35,15 +35,21 @@
?>
<?php
- update_profile("web.menu.reports.last",$page["file"]);
+// VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION
+ $fields=array(
+ "groupid"=> array(T_ZBX_INT, O_OPT, P_SYS|P_NZERO, DB_ID, NULL),
+ "hostid"=> array(T_ZBX_INT, O_OPT, P_SYS|P_NZERO, DB_ID, NULL),
+ "triggerid"=> array(T_ZBX_INT, O_OPT, P_SYS|P_NZERO, DB_ID, NULL)
+ );
+
+ check_fields($fields);
?>
<?php
- if(isset($_REQUEST["groupid"])&&($_REQUEST["groupid"]==0))
- {
- unset($_REQUEST["groupid"]);
- }
+ update_profile("web.menu.reports.last",$page["file"]);
+?>
+<?php
$h1="&nbsp;".S_AVAILABILITY_REPORT_BIG;
$h2=S_GROUP."&nbsp;";