summaryrefslogtreecommitdiffstats
path: root/frontends/php/charts.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-07 15:10:02 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-07 15:10:02 +0000
commit20c868daba2e67f316f7a73258a10e2996e55859 (patch)
tree9782915076acddb67c7078ac9686d714de2db0ba /frontends/php/charts.php
parentd1f0507236793e1d4b28eb213b17432cef9bdd99 (diff)
- [DEV-137] made refreshable charts with custom period & start time (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5596 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/charts.php')
-rw-r--r--frontends/php/charts.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php
index 664f9e6a..12a98aae 100644
--- a/frontends/php/charts.php
+++ b/frontends/php/charts.php
@@ -31,13 +31,11 @@
$page['type'] = detect_page_type(PAGE_TYPE_HTML);
?>
<?php
- if(isset($_REQUEST['fullscreen']))
- {
+ if(isset($_REQUEST['fullscreen'])){
define('ZBX_PAGE_NO_MENU', 1);
}
- if(isset($_REQUEST['graphid']) && $_REQUEST['graphid'] > 0 && !isset($_REQUEST['period']) && !isset($_REQUEST['stime']) && (PAGE_TYPE_HTML == $page['type']))
- {
+ if(isset($_REQUEST['graphid']) && ($_REQUEST['graphid'] > 0) && (PAGE_TYPE_HTML == $page['type'])){
define('ZBX_PAGE_DO_REFRESH', 1);
}