aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/html.inc.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 9107269..c8cfbaf 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -54,6 +54,19 @@ echo <<<EOT
54 <h1><a href="{$html_weburl}">Collectd Graph Panel</a></h1> 54 <h1><a href="{$html_weburl}">Collectd Graph Panel</a></h1>
55</div> 55</div>
56 56
57EOT;
58
59 if(!function_exists('json_decode')) {
60 echo <<<EOT
61<div id="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.
63</div>
64
65EOT;
66
67 }
68
69echo <<<EOT
57<div id="content"> 70<div id="content">
58 71
59EOT; 72EOT;