mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
pgm3: Bat low in fht.php
git-svn-id: https://svn.fhem.de/fhem/trunk@612 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
342fdb9b62
commit
59877b2ce9
@ -234,7 +234,9 @@ setlocale (LC_ALL, 'de_DE.utf8');
|
||||
$text=$battery;
|
||||
if ($battery == 'none') {$text='Bat: ok';}
|
||||
elseif ($battery =='empty') {$text='Bat: low'; $txtcolor=$red;}
|
||||
else {$text='';};
|
||||
elseif ($battery =='Battery low') {$text='Bat: low'; $txtcolor=$red;}
|
||||
else {$text=$battery;};
|
||||
#else {$text='';};
|
||||
ImageTTFText ($im, $fontsize, 0, 165, 10, $txtcolor, $fontttf, $text);
|
||||
$fontsize=7;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user