diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-21 12:04:14 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-21 12:04:14 +0000 |
| commit | 6cedc68a94791171bc3b3bd3087d6330f039c031 (patch) | |
| tree | e83e801e16b5259bbd6712f51d6219e6d0b8f01e /frontends/php/maps.php | |
| parent | acb94184d3be234c51afae80428233c548977b7f (diff) | |
| download | zabbix-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/maps.php')
| -rw-r--r-- | frontends/php/maps.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php index af0a03ca..88bc1a3a 100644 --- a/frontends/php/maps.php +++ b/frontends/php/maps.php @@ -39,6 +39,16 @@ ?> <?php +// VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION + $fields=array( + "sysmapid"=> array(T_ZBX_INT, O_OPT, P_SYS|P_NZERO, BETWEEN(0,65535), NULL), + "fullscreen"=> array(T_ZBX_INT, O_OPT, P_SYS, IN("1"), NULL) + ); + + check_fields($fields); +?> + +<?php if(isset($_REQUEST["sysmapid"])&&!check_right("Network map","R",$_REQUEST["sysmapid"])) { show_table_header("<font color=\"AA0000\">".S_NO_PERMISSIONS."</font>"); @@ -58,11 +68,6 @@ { show_table3_header_begin(); - if(isset($_REQUEST["sysmapid"])&&($_REQUEST["sysmapid"]==0)) - { - unset($_REQUEST["sysmapid"]); - } - if(isset($_REQUEST["sysmapid"])) { $result=get_map_by_sysmapid($_REQUEST["sysmapid"]); |
