aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.inc.php')
-rw-r--r--inc/html.inc.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 1001381..0a5b342 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -1,13 +1,17 @@
1<?php 1<?php
2 2
3require_once 'conf/common.inc.php';
4require_once 'inc/rrdtool.class.php';
5
3function html_start() { 6function html_start() {
7 global $CONFIG;
4 echo <<<EOT 8 echo <<<EOT
5<!DOCTYPE HTML> 9<!DOCTYPE HTML>
6<html> 10<html>
7<head> 11<head>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 12 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
9 <title>Collectd Graph Panel</title> 13 <title>Collectd Graph Panel</title>
10 <link rel="stylesheet" href="layout/style.css" type="text/css"> 14 <link rel="stylesheet" href="{$CONFIG['weburl']}/layout/style.css" type="text/css">
11</head> 15</head>
12<body> 16<body>
13 17
@@ -22,8 +26,6 @@ function html_end() {
22EOT; 26EOT;
23} 27}
24 28
25require_once 'conf/common.inc.php';
26require_once 'inc/rrdtool.class.php';
27function host_summary($hosts) { 29function host_summary($hosts) {
28 global $CONFIG; 30 global $CONFIG;
29 31