aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc
diff options
context:
space:
mode:
authorPim van den Berg2014-08-14 21:03:13 +0200
committerPim van den Berg2014-08-14 21:03:13 +0200
commite71c2a92269d123228f4803a4777a5452045d6b8 (patch)
tree9bd34852544fa910e9b7da9a185ab015f48c626c /inc
parenttype/base: fix undefined variable rrd_url when graph_type != canvas (diff)
downloadapt-panopticon_cgp-e71c2a92269d123228f4803a4777a5452045d6b8.zip
apt-panopticon_cgp-e71c2a92269d123228f4803a4777a5452045d6b8.tar.gz
apt-panopticon_cgp-e71c2a92269d123228f4803a4777a5452045d6b8.tar.bz2
apt-panopticon_cgp-e71c2a92269d123228f4803a4777a5452045d6b8.tar.xz
inc/html: add deprecation message about collectd 4
Diffstat (limited to '')
-rw-r--r--inc/html.inc.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 117d61d..161af73 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -58,7 +58,7 @@ EOT;
58 58
59 if(!function_exists('json_decode')) { 59 if(!function_exists('json_decode')) {
60 echo <<<EOT 60 echo <<<EOT
61<div id="warnheader"> 61<div class="warnheader">
62 Your php version doesn't support <a href="http://php.net/json">JSON</a>. Your graphs would have looked more beautiful if it did. 62 Your php version doesn't support <a href="http://php.net/json">JSON</a>. Your graphs would have looked more beautiful if it did.
63</div> 63</div>
64 64
@@ -66,6 +66,17 @@ EOT;
66 66
67 } 67 }
68 68
69 if($CONFIG['version'] == 4) {
70 echo <<<EOT
71<div class="warnheader">
72 You are using Collectd 4, which is deprecated by CGP. Graphs like
73 <code>df</code> and <code>interfaces</code> may be incomplete.
74</div>
75
76EOT;
77
78 }
79
69echo <<<EOT 80echo <<<EOT
70<div id="content"> 81<div id="content">
71 82