From b1f866709a3ce30678e183e08d424247e761ca44 Mon Sep 17 00:00:00 2001
From: Pim van den Berg
Date: Tue, 29 Sep 2009 22:07:01 +0200
Subject: make width and heigth of graphs configurable
These configuration options have been added:
- width
- heigth
- detail-width
- detail-heigth
---
inc/collectd.inc.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'inc/collectd.inc.php')
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) {
);
printf(''."\n",
$CONFIG['weburl'],
- build_url('detail.php', $items).'&x=800&y=350',
+ build_url('detail.php', $items),
$CONFIG['weburl'],
build_url('graph.php', $items)
);
@@ -140,7 +140,7 @@ function graphs_from_plugin($host, $plugin) {
);
printf(''."\n",
$CONFIG['weburl'],
- build_url('detail.php', $items).'&x=800&y=350',
+ build_url('detail.php', $items),
$CONFIG['weburl'],
build_url('graph.php', $items)
);
--
cgit v1.1