mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
01_FHEMWEB.pm: add state to associated with (Forum #54631)
git-svn-id: https://svn.fhem.de/fhem/trunk@11667 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e76d3cc75d
commit
c4f03be427
@ -1284,10 +1284,13 @@ FW_makeTableFromArray($$@) {
|
||||
FW_pO "$txt";
|
||||
FW_pO "<table class=\"block wide $class\">";
|
||||
foreach (sort @obj) {
|
||||
FW_pF "<tr class=\"%s\"><td>", ($row&1)?"odd":"even";
|
||||
$row++;
|
||||
FW_pF "<tr class=\"%s\"><td>", (($row++)&1)?"odd":"even";
|
||||
FW_pH "detail=$_", $_;
|
||||
FW_pO "</td><td><a href=$FW_ME?cmd=list%20TYPE=$defs{$_}{TYPE}>$defs{$_}{TYPE}</a></td><td> </td>";
|
||||
FW_pO "</td><td>";
|
||||
FW_pO $defs{$_}{STATE} if(defined($defs{$_}{STATE}));
|
||||
FW_pO "</td><td>";
|
||||
FW_pH "cmd=list TYPE=$defs{$_}{TYPE}", $defs{$_}{TYPE};
|
||||
FW_pO "</td>";
|
||||
FW_pO "</tr>";
|
||||
}
|
||||
FW_pO "</table></div>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user