FileLog-Table-Row-Background fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@1035 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-10-01 15:55:59 +00:00
parent 699f223288
commit 18bb9126b8

View File

@@ -12,7 +12,7 @@ sub FW_calcWeblink($$);
sub FW_dev2image($);
sub FW_digestCgi($);
sub FW_doDetail($);
sub FW_dumpFileLog($$);
sub FW_dumpFileLog($$$);
sub FW_fatal($);
sub FW_fileList($);
sub FW_logWrapper($);
@@ -623,7 +623,7 @@ FW_doDetail($)
if($t eq "FileLog" ) {
pO " <table class=\"block wide\">";
FW_dumpFileLog($d, 0);
FW_dumpFileLog($d, 0, 1);
pO " </table>";
}
@@ -866,7 +866,7 @@ FW_showRoom()
FW_submit("cmd.$d", "set").
"</td>";
} elsif($type eq "FileLog") {
FW_dumpFileLog($d, 1);
$row = FW_dumpFileLog($d, 1, $row);
}
}
@@ -1688,11 +1688,10 @@ FW_makeEdit($$$)
}
sub
FW_dumpFileLog($$)
FW_dumpFileLog($$$)
{
my ($d, $oneRow) = @_;
my ($d, $oneRow,$row) = @_;
my $row = 1;
foreach my $f (FW_fileList($defs{$d}{logfile})) {
my $nr;
@@ -1720,5 +1719,6 @@ FW_dumpFileLog($$)
$row++;
}
}
return $row;
}
1;