diff options
author | Vincent Brillault | 2014-06-28 18:44:23 +0200 |
---|---|---|
committer | Vincent Brillault | 2014-06-28 18:44:23 +0200 |
commit | 8635cd0dfb053955eedc81b1d57de3205f1f8c92 (patch) | |
tree | a69c56b67ea468eeb928d017421b6e15bc626be7 | |
parent | type/base: replace array_merge by + sign to merge a fallback array (diff) | |
download | apt-panopticon_cgp-8635cd0dfb053955eedc81b1d57de3205f1f8c92.zip apt-panopticon_cgp-8635cd0dfb053955eedc81b1d57de3205f1f8c92.tar.gz apt-panopticon_cgp-8635cd0dfb053955eedc81b1d57de3205f1f8c92.tar.bz2 apt-panopticon_cgp-8635cd0dfb053955eedc81b1d57de3205f1f8c92.tar.xz |
Use config time_range for canvas graphs
-rw-r--r-- | inc/html.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php index 1efca93..69609d8 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php | |||
@@ -305,6 +305,7 @@ function graphs_from_plugin($host, $plugin, $overview=false) { | |||
305 | isset($items['pi']) ? $_GET['pi'] = $items['pi'] : $_GET['pi'] = ''; | 305 | isset($items['pi']) ? $_GET['pi'] = $items['pi'] : $_GET['pi'] = ''; |
306 | isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; | 306 | isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; |
307 | isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; | 307 | isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; |
308 | $_GET['s'] = $time; | ||
308 | include $CONFIG['webdir'].'/graph.php'; | 309 | include $CONFIG['webdir'].'/graph.php'; |
309 | } else { | 310 | } else { |
310 | printf('<a href="%s%s"><img src="%s%s"></a>'."\n", | 311 | printf('<a href="%s%s"><img src="%s%s"></a>'."\n", |