diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-02-26 09:36:54 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-02-26 09:36:54 +0000 |
commit | c4b9f414885a3c6e67b23d09b48c3e32c5fd9336 (patch) | |
tree | 24d5e7581cfd3e58990db691ea7b0697692ac6b6 /frontends/php/overview.php | |
parent | 7930deb026eeb837902eca36d5e83c48d2ddc46a (diff) | |
download | zabbix-c4b9f414885a3c6e67b23d09b48c3e32c5fd9336.tar.gz zabbix-c4b9f414885a3c6e67b23d09b48c3e32c5fd9336.tar.xz zabbix-c4b9f414885a3c6e67b23d09b48c3e32c5fd9336.zip |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@1674 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/overview.php')
-rw-r--r-- | frontends/php/overview.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/frontends/php/overview.php b/frontends/php/overview.php index 9de75767..08240b2e 100644 --- a/frontends/php/overview.php +++ b/frontends/php/overview.php @@ -26,6 +26,12 @@ ?> <?php + define("SHOW_TRIGGERS",0); + define("SHOW_DATA",1); +?> + + +<?php if(!check_anyright("Host","R")) { show_table_header("<font color=\"AA0000\">".S_NO_PERMISSIONS."</font>"); @@ -95,7 +101,7 @@ $_GET["sort"]="description"; } - if(isset($_GET["groupid"])&&isset($_GET["type"])&&($_GET["type"]==1)) + if(isset($_GET["groupid"])&&isset($_GET["type"])&&($_GET["type"]==SHOW_DATA)) { table_begin(); $header=array(" "); @@ -162,7 +168,7 @@ } table_end(); } - else if(isset($_GET["groupid"])&&isset($_GET["type"])&&($_GET["type"]==0)) + else if(isset($_GET["groupid"])&&isset($_GET["type"])&&($_GET["type"]==SHOW_TRIGGERS)) { table_begin(); $header=array(" "); @@ -234,13 +240,7 @@ } else { - echo "<TABLE BORDER=0 align=center WIDTH=\"100%\" BGCOLOR=\"#CCCCCC\" cellspacing=1 cellpadding=3>"; - echo "<TR BGCOLOR=\"#DDDDDD\">"; - echo "<TD ALIGN=CENTER>"; - echo "..."; - echo "</TD>"; - echo "</TR>"; - echo "</TABLE>"; + table_nodata(); } ?> |