diff --git a/fuTelldus_v3.zip b/fuTelldus_v3.zip
deleted file mode 100644
index 98f4d90..0000000
Binary files a/fuTelldus_v3.zip and /dev/null differ
diff --git a/images/Thumbs.db b/images/Thumbs.db
deleted file mode 100644
index 494629d..0000000
Binary files a/images/Thumbs.db and /dev/null differ
diff --git a/inc/chart.php b/inc/chart.php
index e21f13d..6a57764 100644
--- a/inc/chart.php
+++ b/inc/chart.php
@@ -10,19 +10,14 @@
/* Get chart type
--------------------------------------------------------------------------- */
- if (empty($user['chart_type'])) $chartType = "rgraph";
+ if (empty($user['chart_type'])) $chartType = "mergeHCharts";
else $chartType = $user['chart_type'];
if (isset($_GET['charttype'])) {
$chartType = clean($_GET['charttype']);
}
- if (isset($_GET['view'])) {
- $view = clean($_GET['view']);
- }
-
-
-
+echo "";
/* Headline
@@ -37,34 +32,22 @@
echo "
";
-
-
-
-
-
-
/* Include chart
--------------------------------------------------------------------------- */
- if (!isset($_GET['view'])) {
if ($chartType == "rgraph") {
include("inc/chart_rgraph.php");
}
@@ -73,20 +56,16 @@
include("inc/chart_highchart.php");
}
- elseif ($charttype == "mergeCharts") {
+ elseif ($chartType == "mergeCharts") {
include("inc/chart_rgraph_mergeSensors.php");
}
- else {
- echo "Something went wrong.. Could'n determine chart to display. Try selecting chart in your userprofile.";
+ elseif ($chartType == "mergeHCharts") {
+ include("inc/chart_highchart_mergeSensors.php");
}
- }
-
- else {
- if ($view == "mergeCharts") {
- include("inc/chart_rgraph_mergeSensors.php");
+ else {
+ echo "Something went wrong.. Could'n determine chart to display. Try selecting chart in your userprofile.";
}
- }
-?>
\ No newline at end of file
+?>
diff --git a/inc/chart_highchart_mergeSensors.php b/inc/chart_highchart_mergeSensors.php
new file mode 100644
index 0000000..e71188a
--- /dev/null
+++ b/inc/chart_highchart_mergeSensors.php
@@ -0,0 +1,137 @@
+
+
+
+
+
diff --git a/lib/languages/en.php b/lib/languages/en.php
index 41fa2c2..96b2e0c 100644
--- a/lib/languages/en.php
+++ b/lib/languages/en.php
@@ -176,6 +176,7 @@
"Secondary" => "Secondary",
"Now" => "Now",
"Action" => "Action",
+ "Chart type" => "Chart type",
// send warning IF temperature IS more/less THAN / FOR sensor ...
"If" => "If",
@@ -205,4 +206,4 @@
);
-?>
\ No newline at end of file
+?>
diff --git a/lib/languages/no.php b/lib/languages/no.php
index 7094073..87563b7 100644
--- a/lib/languages/no.php
+++ b/lib/languages/no.php
@@ -175,6 +175,7 @@
"Secondary" => "Sekundær",
"Now" => "Nå",
"Action" => "Action",
+ "Chart type" => "Graftype",
// send warning IF temperature IS more/less THAN / FOR sensor ...
"If" => "Hvis",
@@ -204,4 +205,4 @@
);
-?>
\ No newline at end of file
+?>
diff --git a/lib/languages/sw.php b/lib/languages/sw.php
index 2aece45..01fbc75 100644
--- a/lib/languages/sw.php
+++ b/lib/languages/sw.php
@@ -173,6 +173,7 @@
"Secondary" => "Sekundär",
"Now" => "Nu",
"Action" => "Action",
+ "Chart type" => "Graftyp",
// send warning IF temperature IS more/less THAN / FOR sensor ...
"If" => "If",
@@ -202,4 +203,4 @@
);
-?>
\ No newline at end of file
+?>