Changeset 849 for trunk/Modules/Network/Network.php
- Timestamp:
- Sep 5, 2017, 10:52:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r835 r849 247 247 'AddressRangeIPv6' => array('Type' => 'String', 'Caption' => 'Rozsah adres IPv6', 'Default' => ''), 248 248 'Configure' => array('Type' => 'Boolean', 'Caption' => 'Nastavovat', 'Default' => ''), 249 ), 249 'Interfaces' => array('Type' => 'TNetworkSubnetInterfaceList', 'Caption' => 'Rozhraní', 'Default' => ''), 250 ), 251 )); 252 $this->System->FormManager->RegisterFormType('TNetworkSubnetInterfaceList', array( 253 'Type' => 'ManyToOne', 254 'Table' => 'NetworkInterface', 255 'Id' => 'Id', 256 'Ref' => null, 257 'Filter' => '(`TX`.`LocalIP` != "") AND CompareNetworkPrefix(INET_ATON(`TX`.`LocalIP`), INET_ATON((SELECT `NetworkSubnet`.`AddressRange` FROM `NetworkSubnet` WHERE `NetworkSubnet`.`Id`=#Id)), '. 258 '(SELECT `NetworkSubnet`.`Mask` FROM `NetworkSubnet` WHERE `NetworkSubnet`.`Id`=#Id))', 250 259 )); 251 260 $this->System->FormManager->RegisterClass('NetworkPort', array(
Note:
See TracChangeset
for help on using the changeset viewer.