mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 05:01:57 +00:00
contrib/InfoPanel: fixed typo
git-svn-id: https://svn.fhem.de/fhem/trunk@7750 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ffd4f110a2
commit
71cce06d4e
@ -329,7 +329,7 @@ sub btIP_itemRect {
|
|||||||
$id = ($id eq '-') ? createUniqueId() : $id;
|
$id = ($id eq '-') ? createUniqueId() : $id;
|
||||||
my $width = $x2 - $x1;
|
my $width = $x2 - $x1;
|
||||||
my $height = $y2 - $y1;
|
my $height = $y2 - $y1;
|
||||||
my $output = "<rect id=\”$id\” x=\"$x1\" y=\"$y1\" width=\"$width\" height=\"$height\" rx=\”$rx\” ry=\"$ry\" ";
|
my $output = "<rect id=\”$id\” x=\"$x1\" y=\"$y1\" width=\"$width\" height=\"$height\" rx=\"$rx\" ry=\"$ry\" ";
|
||||||
if($filled) {
|
if($filled) {
|
||||||
my ($r,$g,$b,$a) = btIP_color($params{rgb});
|
my ($r,$g,$b,$a) = btIP_color($params{rgb});
|
||||||
$output .= "style=\"fill:rgb($r,$g,$b); fill-opacity:$a; stroke-width:0;\" "
|
$output .= "style=\"fill:rgb($r,$g,$b); fill-opacity:$a; stroke-width:0;\" "
|
||||||
@ -893,7 +893,7 @@ sub btIP_HTMLHead($$) {
|
|||||||
my $r= (defined($refresh) && $refresh) ? "<meta http-equiv=\"refresh\" content=\"$refresh\"/>\n" : "";
|
my $r= (defined($refresh) && $refresh) ? "<meta http-equiv=\"refresh\" content=\"$refresh\"/>\n" : "";
|
||||||
# css and js header output should be coded only in one place
|
# css and js header output should be coded only in one place
|
||||||
my $css= "";
|
my $css= "";
|
||||||
my $scripts= ""; #btIP_getScript();
|
my $scripts= btIP_getScript();
|
||||||
my $code= "$doctype\n<html $xmlns>\n<head>\n<title>$title</title>\n$r$css$scripts</head>\n";
|
my $code= "$doctype\n<html $xmlns>\n<head>\n<title>$title</title>\n$r$css$scripts</head>\n";
|
||||||
return $code;
|
return $code;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user