Enhanced styling

This commit is contained in:
bergware
2023-12-03 20:07:45 +01:00
parent 98d5f97557
commit 6ac604a810

View File

@@ -51,7 +51,7 @@ function my_temp($value) {
global $display;
$unit = _var($display,'unit','C');
$number = _var($display,'number','.,');
return is_numeric($value) ? (($unit=='F' ? fahrenheit($value) : str_replace('.', $number[0], $value)).' °'.$unit) : $value;
return is_numeric($value) ? (($unit=='F' ? fahrenheit($value) : str_replace('.', $number[0], $value)).' °'.$unit) : $value;
}
function my_disk($name, $raw=false) {
global $display;