diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/html.inc.php | 13 |
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 | |||
| 76 | EOT; | ||
| 77 | |||
| 78 | } | ||
| 79 | |||
| 69 | echo <<<EOT | 80 | echo <<<EOT |
| 70 | <div id="content"> | 81 | <div id="content"> |
| 71 | 82 | ||
