Changeset 717 for trunk/Modules/Network/HostList.php
- Timestamp:
- Jan 1, 2015, 2:36:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/HostList.php
r669 r717 36 36 } else 37 37 { 38 $Output .= '<tr><td colspan=" 2" style="text-align: left; font-weight: bold; '.$Style.'">'.$Device['Name'].'</td><td>'.$Device['HostType'].'</td><td style="text-align: right;">'.HumanDate($Device['LastOnline']).'</td><td style="text-align: right;">'.$Device['UserName'].'</td></tr>';38 $Output .= '<tr><td colspan="3" style="text-align: left; font-weight: bold; '.$Style.'">'.$Device['Name'].'</td><td>'.$Device['HostType'].'</td><td style="text-align: right;">'.HumanDate($Device['LastOnline']).'</td><td style="text-align: right;">'.$Device['UserName'].'</td></tr>'; 39 39 $DbResult2 = $this->Database->query('SELECT * FROM NetworkInterface WHERE Device = '.$Device['Id']); 40 40 while($Interface = $DbResult2->fetch_assoc()) … … 44 44 $InterfaceName = $Device['Name']; 45 45 if($Interface['Name'] != '') $InterfaceName .= '-'.$Interface['Name']; 46 $Output .= '<tr><td style="text-align: left; '.$Style.'"> '.$InterfaceName.'</td><td>'.$Interface['LocalIP'].'</td><td> </td><td> </td><td> </td>< /tr>';46 $Output .= '<tr><td style="text-align: left; '.$Style.'"> '.$InterfaceName.'</td><td>'.$Interface['LocalIP'].'</td><td> </td><td> </td><td> </td><td> </td></tr>'; 47 47 } 48 48 }
Note:
See TracChangeset
for help on using the changeset viewer.