aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/collectd.inc.php
diff options
context:
space:
mode:
authorPim van den Berg2009-09-29 22:07:01 +0200
committerPim van den Berg2009-09-29 22:07:01 +0200
commitb1f866709a3ce30678e183e08d424247e761ca44 (patch)
treea52f5aea35f90c1a061929263ff8d0fb7db2542f /inc/collectd.inc.php
parentprevent warning when no categories are defined (diff)
downloadapt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.zip
apt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.tar.gz
apt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.tar.bz2
apt-panopticon_cgp-b1f866709a3ce30678e183e08d424247e761ca44.tar.xz
make width and heigth of graphs configurable
These configuration options have been added: - width - heigth - detail-width - detail-heigth
Diffstat (limited to 'inc/collectd.inc.php')
-rw-r--r--inc/collectd.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php
index 2724c05..306086a 100644
--- a/inc/collectd.inc.php
+++ b/inc/collectd.inc.php
@@ -123,7 +123,7 @@ function graphs_from_plugin($host, $plugin) {
123 ); 123 );
124 printf('<a href="%s/%s"><img src="%s/%s"></a>'."\n", 124 printf('<a href="%s/%s"><img src="%s/%s"></a>'."\n",
125 $CONFIG['weburl'], 125 $CONFIG['weburl'],
126 build_url('detail.php', $items).'&x=800&y=350', 126 build_url('detail.php', $items),
127 $CONFIG['weburl'], 127 $CONFIG['weburl'],
128 build_url('graph.php', $items) 128 build_url('graph.php', $items)
129 ); 129 );
@@ -140,7 +140,7 @@ function graphs_from_plugin($host, $plugin) {
140 ); 140 );
141 printf('<a href="%s/%s"><img src="%s/%s"></a>'."\n", 141 printf('<a href="%s/%s"><img src="%s/%s"></a>'."\n",
142 $CONFIG['weburl'], 142 $CONFIG['weburl'],
143 build_url('detail.php', $items).'&x=800&y=350', 143 build_url('detail.php', $items),
144 $CONFIG['weburl'], 144 $CONFIG['weburl'],
145 build_url('graph.php', $items) 145 build_url('graph.php', $items)
146 ); 146 );