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:
parent
0c2a3ff633
commit
cab39720b0
@ -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> '; # hier auch Umbruch erlauben
|
$legend_txt .= '<font color=\''.$co.'\'>'.$txt.'</font> '.$swicon.' '; # hier auch Umbruch erlauben
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user