diff -r 2d1d43c3a2c2 -r fd1354e2a045 www-thermferm/index.php --- a/www-thermferm/index.php Sun May 28 14:19:57 2017 +0200 +++ b/www-thermferm/index.php Wed May 31 16:29:52 2017 +0200 @@ -1,6 +1,6 @@ * @@ -129,11 +129,11 @@ if ($f[0] == "TEMP_STATE") $temp_state = $f[1]; if (($f[0] == "TEMP_VALUE") && ($temp_state == "OK")) - $temp_value = $f[1].' °C'; + $temp_value = $f[1]; if ($f[0] == "HUM_STATE") $hum_state = $f[1]; if (($f[0] == "HUM_VALUE") && ($hum_state == "OK")) - $hum_value = $f[1].' %'; + $hum_value = $f[1]; $j++; } } @@ -167,8 +167,8 @@ $outstr .= ' ThermFerm '.$version.PHP_EOL; $outstr .= ' '.PHP_EOL; $outstr .= '
'.PHP_EOL; -$outstr .= '
'.$temp_value.'
'.PHP_EOL; -$outstr .= '
'.$hum_value.'
'.PHP_EOL; +$outstr .= '
'.$temp_value.' °C
'.PHP_EOL; +$outstr .= '
'.$hum_value.' %
'.PHP_EOL; $outstr .= '
'.PHP_EOL; $outstr .= '
'.PHP_EOL; $outstr .= ' '.PHP_EOL;