mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 23:06:05 +00:00
01_FHEMWEB.pm: removed the FHEM_COLOR coloring feature (Forum #12605)
git-svn-id: https://svn.fhem.de/fhem/trunk@15524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5545aae5cb
commit
2aa8869257
@ -2458,11 +2458,9 @@ FW_makeImage(@)
|
||||
$col = "#$col" if($col =~ m/^([A-F0-9]{6})$/);
|
||||
$data =~ s/fill="#000000"/fill="$col"/g;
|
||||
$data =~ s/fill:#000000/fill:$col/g;
|
||||
$data =~ s/FHEM_COLOR/$col/g;
|
||||
} else {
|
||||
$data =~ s/fill="#000000"//g;
|
||||
$data =~ s/fill:#000000//g;
|
||||
$data =~ s/FHEM_COLOR//g;
|
||||
}
|
||||
return $data;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user