From 59877b2ce973dd5ff8ea3e02e06416b44b884f38 Mon Sep 17 00:00:00 2001 From: martinhaas <> Date: Thu, 1 Apr 2010 08:17:56 +0000 Subject: [PATCH] pgm3: Bat low in fht.php git-svn-id: https://svn.fhem.de/fhem/trunk@612 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm3/include/fht.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/webfrontend/pgm3/include/fht.php b/fhem/webfrontend/pgm3/include/fht.php index 28185889a..6cd5a0060 100755 --- a/fhem/webfrontend/pgm3/include/fht.php +++ b/fhem/webfrontend/pgm3/include/fht.php @@ -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;