aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
authorVincent Brillault2014-06-28 18:44:23 +0200
committerVincent Brillault2014-06-28 18:44:23 +0200
commit8635cd0dfb053955eedc81b1d57de3205f1f8c92 (patch)
treea69c56b67ea468eeb928d017421b6e15bc626be7 /inc/html.inc.php
parenttype/base: replace array_merge by + sign to merge a fallback array (diff)
downloadapt-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
Diffstat (limited to '')
-rw-r--r--inc/html.inc.php1
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",