summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-02-08 13:58:55 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-02-08 13:58:55 +0000
commitf9c605b4e59b74dbe50d5b94b58d01b8d4717b01 (patch)
treed6a29d56d27e7f06668e804c0581f8a6231fbc24 /frontends/php/include
parent307f025df6a7a26c2c8220ebbb988a3c08a34172 (diff)
Improvement for overview.php.
git-svn-id: svn://svn.zabbix.com/trunk@1659 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 9d543b8e..97f62c8a 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -1661,8 +1661,9 @@ echo "</head>";
$menu=array(
"view"=>array(
"label"=>"View",
- "pages"=>array("latest.php","tr_status.php","queue.php","latestalarms.php","alerts.php","maps.php","charts.php","screens.php","srv_status.php","alarms.php","history.php","tr_comments.php","report3.php"),
+ "pages"=>array("overview.php","latest.php","tr_status.php","queue.php","latestalarms.php","alerts.php","maps.php","charts.php","screens.php","srv_status.php","alarms.php","history.php","tr_comments.php","report3.php"),
"level2"=>array(
+ array("label"=>"Overview","url"=>"overview.php"),
array("label"=>"Latest data","url"=>"latest.php"),
array("label"=>"Triggers","url"=>"tr_status.php?onlytrue=true&noactions=true&compact=true"),
array("label"=>"Queue","url"=>"queue.php"),
@@ -1771,6 +1772,7 @@ echo "</head>";
{
// Check permissions
if(($sub["url"]=="latest.php")&&!check_anyright("Host","R")) continue;
+ if(($sub["url"]=="overview.php")&&!check_anyright("Host","R")) continue;
if(($sub["url"]=="tr_status.php?onlytrue=true&noactions=true&compact=true")&&!check_anyright("Host","R")) continue;
if(($sub["url"]=="queue.php")&&!check_anyright("Host","R")) continue;
if(($sub["url"]=="latestalarms.php")&&!check_anyright("Default permission","R")) continue;