2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-28 02:44:53 +00:00

Fixing on style

git-svn-id: https://svn.fhem.de/fhem/trunk@3277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-06-12 10:55:32 +00:00
parent 52732ed930
commit 7f8644cfd7
2 changed files with 4 additions and 2 deletions
fhem

@ -2045,6 +2045,8 @@ FW_makeImage(@)
$txt = $name if(!defined($txt));
$class = "" if(!$class);
$class = "$class $name";
$class =~ s/\./_/g;
my $p = FW_iconPath($name);
return $name if(!$p);
@ -2055,7 +2057,7 @@ FW_makeImage(@)
close(FH);
$data =~ s/[\r\n]/ /g;
$data =~ s/ *$//g;
$data =~ s/<svg/<svg class="$class $name"/;
$data =~ s/<svg/<svg class="$class"/;
$name =~ m/(@.*)$/;
my $col = $1 if($1);
if($col) {

@ -57,4 +57,4 @@ select { margin-left:5px; margin-right:5px; }
pre { white-space: pre-wrap; }
svg { height:32px; width:32px; fill:#278727; }
svg.on { fill:orange; }
svg.on,svg.FS20_on { fill:orange; }