Changeset 822
- Timestamp:
- Apr 2, 2016, 7:59:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r820 r822 99 99 class ModuleNetwork extends AppModule 100 100 { 101 var $MinNotifyTime; 102 101 103 function __construct($System) 102 104 { … … 108 110 $this->Description = 'Networking related tools'; 109 111 $this->Dependencies = array('Notify'); 112 113 // TODO: Make notify time configurable 114 $this->MinNotifytime = 2 * 60; 110 115 } 111 116 … … 752 757 $Output = ''; 753 758 $Output = $this->OnlineList('Nově online', 1, 0, 0); 754 $Output .= $this->OnlineList('Nově offline', 0, 1, 5 * 60);759 $Output .= $this->OnlineList('Nově offline', 0, 1, $this->MinNotifyTime); 755 760 if($Output != '') $Output .= $this->OnlineList('Stále offline', 0, 0, 0); 756 761 return($Output); … … 799 804 $Output = ''; 800 805 $Output = $this->PortCheckList('Nově online', 1, 0, 0); 801 $Output .= $this->PortCheckList('Nově offline', 0, 1, 5 * 60);806 $Output .= $this->PortCheckList('Nově offline', 0, 1, $this->MinNotifyTime); 802 807 if($Output != '') $Output .= $this->PortCheckList('Stále offline', 0, 0, 0); 803 808 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.