2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 08:36:24 +00:00

76_SMAPortal: contrib 2.1.0

git-svn-id: https://svn.fhem.de/fhem/trunk@19570 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-06-07 13:41:30 +00:00
parent 0c2a3ff633
commit cab39720b0

View File

@ -1575,8 +1575,8 @@ sub PortalAsHtml ($$) {
$legend_txt .= $txt.' '.FW_makeImage($im).' '.$swicon.'  '; $legend_txt .= $txt.' '.FW_makeImage($im).' '.$swicon.'  ';
} else { } else {
my (undef,$co) = split('\@',$im); my (undef,$co) = split('\@',$im);
$co = '#cccccc' if (!$co); # Farbe per default $co = '#cccccc' if (!$co); # Farbe per default
$legend_txt .= '<font color=\''.$co.'\'>'.$txt.'</font>&nbsp;&nbsp; '; # hier auch Umbruch erlauben $legend_txt .= '<font color=\''.$co.'\'>'.$txt.'</font> '.$swicon.'&nbsp;&nbsp;'; # hier auch Umbruch erlauben
} }
} }
} }