diff --git a/html/pages/device/overview/current.inc.php b/html/pages/device/overview/current.inc.php index 1eb729f0a6..a503a5d556 100644 --- a/html/pages/device/overview/current.inc.php +++ b/html/pages/device/overview/current.inc.php @@ -23,7 +23,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE $current_year = "graph.php?id=" . $current['sensor_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100"; $current_minigraph = ""; - $current_link = ""; diff --git a/html/pages/device/overview/fanspeeds.inc.php b/html/pages/device/overview/fanspeeds.inc.php index 03c39a2cfd..73b538a57b 100644 --- a/html/pages/device/overview/fanspeeds.inc.php +++ b/html/pages/device/overview/fanspeeds.inc.php @@ -23,7 +23,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE $fan_year = "graph.php?id=" . $fan['sensor_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100"; $fan_minigraph = ""; - $fan_link = ""; diff --git a/html/pages/device/overview/frequencies.inc.php b/html/pages/device/overview/frequencies.inc.php index 77d94951ac..42241bd11f 100644 --- a/html/pages/device/overview/frequencies.inc.php +++ b/html/pages/device/overview/frequencies.inc.php @@ -24,7 +24,7 @@ if(mysql_result(mysql_query("SELECT count(freq_id) from frequency WHERE device_i $freq_year = "graph.php?id=" . $freq['freq_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100"; $freq_minigraph = ""; - $freq_link = ""; diff --git a/html/pages/device/overview/humidity.inc.php b/html/pages/device/overview/humidity.inc.php index 342f8e0572..a0ac41d4b3 100644 --- a/html/pages/device/overview/humidity.inc.php +++ b/html/pages/device/overview/humidity.inc.php @@ -25,7 +25,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE $humidity_year = "graph.php?id=" . $humidity['sensor_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100"; $humidity_minigraph = ""; - $humidity_link = ""; diff --git a/html/pages/device/overview/mempools.inc.php b/html/pages/device/overview/mempools.inc.php index cd4a3909f3..51ca4569ca 100644 --- a/html/pages/device/overview/mempools.inc.php +++ b/html/pages/device/overview/mempools.inc.php @@ -14,7 +14,7 @@ if(mysql_result(mysql_query("SELECT count(*) from mempools WHERE device_id = '" $text_descr = rewrite_entity_descr($mempool['mempool_descr']); - $mempool_url = "/device/".$device['device_id']."/health/memory/"; + $mempool_url = $config['base_url'] . "/device/".$device['device_id']."/health/memory/"; $mini_url = $config['base_url'] . "/graph.php?id=".$mempool['mempool_id']."&type=".$graph_type."&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4"; $mempool_popup = "onmouseover=\"return overlib('
".$device['hostname']." - ".$text_descr; diff --git a/html/pages/device/overview/storage.inc.php b/html/pages/device/overview/storage.inc.php index ad05a02a0f..10a8f448a0 100644 --- a/html/pages/device/overview/storage.inc.php +++ b/html/pages/device/overview/storage.inc.php @@ -37,7 +37,7 @@ if(mysql_result(mysql_query("SELECT count(storage_id) from storage WHERE device_ $free = formatStorage($drive['storage_free']); $used = formatStorage($drive['storage_used']); - $fs_url = "/device/".$device['device_id']."/health/storage/"; + $fs_url = $config['base_url'] . "/device/".$device['device_id']."/health/storage/"; $fs_popup = "onmouseover=\"return overlib('
".$device['hostname']." - ".$drive['storage_descr']; $fs_popup .= "
"; diff --git a/html/pages/device/overview/temperatures.inc.php b/html/pages/device/overview/temperatures.inc.php index a0df738480..171c23c94e 100644 --- a/html/pages/device/overview/temperatures.inc.php +++ b/html/pages/device/overview/temperatures.inc.php @@ -25,7 +25,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE $temp_year = "graph.php?id=" . $temp['sensor_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100"; $temp_minigraph = ""; - $temp_link = "
"; diff --git a/html/pages/device/overview/voltages.inc.php b/html/pages/device/overview/voltages.inc.php index 1ab2a2a4f5..bd773877e1 100644 --- a/html/pages/device/overview/voltages.inc.php +++ b/html/pages/device/overview/voltages.inc.php @@ -23,7 +23,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE $volt_year = "graph.php?id=" . $volt['sensor_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100"; $volt_minigraph = ""; - $volt_link = "";