mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Making @name for color available as class for CSS
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3282 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b16b69ff5f
commit
fd1c3c153c
@ -2047,6 +2047,7 @@ FW_makeImage(@)
|
||||
$class = "" if(!$class);
|
||||
$class = "$class $name";
|
||||
$class =~ s/\./_/g;
|
||||
$class =~ s/@/ /g;
|
||||
|
||||
my $p = FW_iconPath($name);
|
||||
return $name if(!$p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user