2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

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 4e5a7d404e
commit 45f84d4bad

View File

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