diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-14 15:14:24 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-14 15:14:24 +0000 |
| commit | beb9fbcdd9d8d9b5b9c6e5d9c6c1af91caf3dfea (patch) | |
| tree | 131965548929548eac6d51236a437f8d0d65ba4f /frontends/php/charts.php | |
| parent | 38591cdcd09a97021d0cf109fbd75978c8632f06 (diff) | |
- [DEV-85] improvements to graph navigations (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5177 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/charts.php')
| -rw-r--r-- | frontends/php/charts.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php index 568405a1..37fc6926 100644 --- a/frontends/php/charts.php +++ b/frontends/php/charts.php @@ -48,12 +48,8 @@ include_once 'include/page_header.php'; 'groupid'=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL), 'hostid'=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL), 'graphid'=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL), - 'dec'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), - 'inc'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), - 'left'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), - 'right'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), 'from'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), - 'period'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(ZBX_MIN_PERIOD,ZBX_MAX_PERIOD),NULL), + 'period'=> array(T_ZBX_INT, O_OPT, P_SYS, null,NULL), 'stime'=> array(T_ZBX_STR, O_OPT, P_SYS, NULL,NULL), 'action'=> array(T_ZBX_STR, O_OPT, P_SYS, IN("'go'"),NULL), 'reset'=> array(T_ZBX_STR, O_OPT, P_SYS, IN("'reset'"),NULL), @@ -74,7 +70,7 @@ include_once 'include/page_header.php'; $_REQUEST["period"] = get_request("period",get_profile("web.graph[".$_REQUEST["graphid"]."].period", ZBX_PERIOD_DEFAULT)); $effectiveperiod = navigation_bar_calc(); - + $options = array("allow_all_hosts","monitored_hosts","with_items");//, "always_select_first_host"); if(!$ZBX_WITH_SUBNODES) array_push($options,"only_current_node"); |
