2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 20:06:18 +00:00

Call detailFn and summaryFn with FW_wname instead of FW_chash, consistent with webCmdFn.

git-svn-id: https://svn.fhem.de/fhem/trunk@3106 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-04-23 10:55:08 +00:00
parent bf43989a4a
commit 05e0d87f9f
3 changed files with 4 additions and 4 deletions

View File

@ -798,7 +798,7 @@ FW_doDetail($)
if($modules{$t}{FW_detailFn}) {
no strict "refs";
FW_pO &{$modules{$t}{FW_detailFn}}($FW_chash, $d, $FW_room) . "<br>";
FW_pO &{$modules{$t}{FW_detailFn}}($FW_wname, $d, $FW_room) . "<br>";
use strict "refs";
}
@ -1062,7 +1062,7 @@ FW_showRoom()
if($modules{$type}{FW_summaryFn}) {
FW_pO "<td>";
no strict "refs";
FW_pO &{$modules{$type}{FW_summaryFn}}($FW_chash, $d, $FW_room, \%extPage);
FW_pO &{$modules{$type}{FW_summaryFn}}($FW_wname,$d,$FW_room,\%extPage);
use strict "refs";
FW_pO "</td>";
next;

View File

@ -170,7 +170,7 @@ FileLog_Set($@)
sub
FW_dumpFileLog($$$$)
{
my ($FW_chash, $d, $room, $pageHash) = @_; # pageHash is set for summaryFn.
my ($FW_wname, $d, $room, $pageHash) = @_; # pageHash is set for summaryFn.
return "<div id=\"$d\" align=\"center\" class=\"col2\">$defs{$d}{STATE}</div>"
if($FW_ss && $pageHash);

View File

@ -75,7 +75,7 @@ weblink_FwDetail($)
sub
weblink_FwFn($$$$)
{
my ($FW_chash, $d, $room, $pageHash) = @_; # pageHash is set for summaryFn.
my ($FW_wname, $d, $room, $pageHash) = @_; # pageHash is set for summaryFn.
my $hash = $defs{$d};
my $link = $hash->{LINK};
my $wltype = $hash->{WLTYPE};