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:
DS_Starter
2019-06-07 13:41:30 +00:00
parent 11900f4c4d
commit 4c0f0a8e1c

View File

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