Changeset 619 for trunk/Modules/Network
- Timestamp:
- Dec 26, 2013, 7:37:44 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/Modules/Network/Network.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r615 r619 156 156 )); 157 157 $this->System->FormManager->RegisterClass('NetworkDomainAlias', array( 158 'Title' => 'Alias domény',159 'Table' => 'NetworkDomainAlias',160 'Items' => array(161 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),162 'Target' => array('Type' => 'String', 'Caption' => 'Cíl', 'Default' => ''),163 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''),164 ),158 'Title' => 'Alias domény', 159 'Table' => 'NetworkDomainAlias', 160 'Items' => array( 161 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 162 'Target' => array('Type' => 'String', 'Caption' => 'Cíl', 'Default' => ''), 163 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''), 164 ), 165 165 )); 166 166 $this->System->FormManager->RegisterClass('NetworkDevice', array( 167 'Title' => 'Síťové zařízení',168 'Table' => 'NetworkDevice',169 'Items' => array(170 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),171 'Type' => array('Type' => 'TNetworkDeviceType', 'Caption' => 'Typ', 'Default' => '0'),172 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '0'),173 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '0'),174 'Service' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Služba', 'Default' => '', 'Null' => true),175 'Used' => array('Type' => 'Boolean', 'Caption' => 'Použito', 'Default' => '1'),176 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),177 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true),178 'PermanentOnline' => array('Type' => 'Boolean', 'Caption' => 'Běží stále', 'Default' => '0'),179 'Interfaces' => array('Type' => 'TInterfaceList', 'Caption' => 'Rozhraní', 'Default' => ''),180 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '0', 'Null' => true),181 'LoginName' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => '', 'Null' => true),182 'LoginPassword' => array('Type' => 'String', 'Caption' => 'Přihlašovací heslo', 'Default' => '', 'Null' => true),183 ),184 'Actions' => array(185 array('Caption' => 'Dostupnost zařízení', 'URL' => '/network/availability/'),186 ),167 'Title' => 'Síťové zařízení', 168 'Table' => 'NetworkDevice', 169 'Items' => array( 170 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 171 'Type' => array('Type' => 'TNetworkDeviceType', 'Caption' => 'Typ', 'Default' => '0'), 172 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '0'), 173 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '0'), 174 'Service' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Služba', 'Default' => '', 'Null' => true), 175 'Used' => array('Type' => 'Boolean', 'Caption' => 'Použito', 'Default' => '1'), 176 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true), 177 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true), 178 'PermanentOnline' => array('Type' => 'Boolean', 'Caption' => 'Běží stále', 'Default' => '0'), 179 'Interfaces' => array('Type' => 'TInterfaceList', 'Caption' => 'Rozhraní', 'Default' => ''), 180 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '0', 'Null' => true), 181 'LoginName' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => '', 'Null' => true), 182 'LoginPassword' => array('Type' => 'String', 'Caption' => 'Přihlašovací heslo', 'Default' => '', 'Null' => true), 183 ), 184 'Actions' => array( 185 array('Caption' => 'Dostupnost zařízení', 'URL' => '/network/availability/'), 186 ), 187 187 )); 188 188 $this->System->FormManager->RegisterClass('NetworkDeviceType', array( 189 'Title' => 'Typ síťového zařízení',190 'Table' => 'NetworkDeviceType',191 'Items' => array(192 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),193 'ShowOnline' => array('Type' => 'Boolean', 'Caption' => 'Ukázat online', 'Default' => '0'),194 'IconName' => array('Type' => 'String', 'Caption' => 'Jméno ikony', 'Default' => '0'),195 ),189 'Title' => 'Typ síťového zařízení', 190 'Table' => 'NetworkDeviceType', 191 'Items' => array( 192 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 193 'ShowOnline' => array('Type' => 'Boolean', 'Caption' => 'Ukázat online', 'Default' => '0'), 194 'IconName' => array('Type' => 'String', 'Caption' => 'Jméno ikony', 'Default' => '0'), 195 ), 196 196 )); 197 197 $this->System->FormManager->RegisterClass('NetworkInterface', array( 198 'Title' => 'Síťové rozhraní',199 'Table' => 'NetworkInterface',200 'Items' => array(201 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),202 'Type' => array('Type' => 'TNetworkInterfaceType', 'Caption' => 'Typ', 'Default' => '0'),203 'MAC' => array('Type' => 'MacAddress', 'Caption' => 'Fyzická adresa (MAC)', 'Default' => ''),204 'LocalIP' => array('Type' => 'IPv4Address', 'Caption' => 'IPv4', 'Default' => ''),205 'IPv6' => array('Type' => 'IPv6Address', 'Caption' => 'IPv6', 'Default' => '', 'Null' => true),206 'ExternalIP' => array('Type' => 'IPv4Address', 'Caption' => 'Veřejná IPv4', 'Default' => '', 'Null' => true),207 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''),208 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),209 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true),210 'Links1' => array('Type' => 'TNetworkLinkListInterface1', 'Caption' => 'Propojení 1', 'Default' => ''),211 'Links2' => array('Type' => 'TNetworkLinkListInterface2', 'Caption' => 'Propojení 2', 'Default' => ''),212 ),198 'Title' => 'Síťové rozhraní', 199 'Table' => 'NetworkInterface', 200 'Items' => array( 201 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 202 'Type' => array('Type' => 'TNetworkInterfaceType', 'Caption' => 'Typ', 'Default' => '0'), 203 'MAC' => array('Type' => 'MacAddress', 'Caption' => 'Fyzická adresa (MAC)', 'Default' => ''), 204 'LocalIP' => array('Type' => 'IPv4Address', 'Caption' => 'IPv4', 'Default' => ''), 205 'IPv6' => array('Type' => 'IPv6Address', 'Caption' => 'IPv6', 'Default' => '', 'Null' => true), 206 'ExternalIP' => array('Type' => 'IPv4Address', 'Caption' => 'Veřejná IPv4', 'Default' => '', 'Null' => true), 207 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''), 208 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true), 209 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true), 210 'Links1' => array('Type' => 'TNetworkLinkListInterface1', 'Caption' => 'Propojení 1', 'Default' => ''), 211 'Links2' => array('Type' => 'TNetworkLinkListInterface2', 'Caption' => 'Propojení 2', 'Default' => ''), 212 ), 213 213 )); 214 214 $this->System->FormManager->RegisterClass('NetworkInterfaceType', array( 215 'Title' => 'Typ síťového rozhraní',216 'Table' => 'NetworkInterfaceType',217 'Items' => array(218 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),219 'MaxSpeed' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost', 'Default' => '0', 'Suffix' => 'Mbit/s'),220 'FullDuplex' => array('Type' => 'Boolean', 'Caption' => 'Plně duplexní', 'Default' => '0'),221 'Color' => array('Type' => 'Color', 'Caption' => 'Barva', 'Default' => '0'),222 ),215 'Title' => 'Typ síťového rozhraní', 216 'Table' => 'NetworkInterfaceType', 217 'Items' => array( 218 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 219 'MaxSpeed' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost', 'Default' => '0', 'Suffix' => 'Mbit/s'), 220 'FullDuplex' => array('Type' => 'Boolean', 'Caption' => 'Plně duplexní', 'Default' => '0'), 221 'Color' => array('Type' => 'Color', 'Caption' => 'Barva', 'Default' => '0'), 222 ), 223 223 )); 224 224 $this->System->FormManager->RegisterClass('NetworkSubnet', array( 225 'Title' => 'Podsítě',226 'DefaultSortColumn' => 'Name',227 'Table' => 'NetworkSubnet',228 'Items' => array(229 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),230 'AddressRange' => array('Type' => 'String', 'Caption' => 'Rozsah adres', 'Default' => ''),231 'Mask' => array('Type' => 'Integer', 'Caption' => 'Prefix', 'Default' => ''),232 'DHCP' => array('Type' => 'IPv4Address', 'Caption' => 'DHCP', 'Default' => ''),233 'Gateway' => array('Type' => 'IPv4Address', 'Caption' => 'Brána', 'Default' => ''),234 'WINS' => array('Type' => 'IPv4Address', 'Caption' => 'WINS', 'Default' => ''),235 'DNS' => array('Type' => 'String', 'Caption' => 'DNS', 'Default' => ''),236 'Domain' => array('Type' => 'String', 'Caption' => 'Doména', 'Default' => ''),237 'NTP' => array('Type' => 'String', 'Caption' => 'NTP', 'Default' => ''),238 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '', 'Null' => true),239 'ExtAddressRange' => array('Type' => 'String', 'Caption' => 'Vnější rozsah adres', 'Default' => ''),240 'ExtMask' => array('Type' => 'String', 'Caption' => 'Vnější prefix', 'Default' => ''),241 'AddressRangeIPv6' => array('Type' => 'String', 'Caption' => 'Rozsah adres IPv6', 'Default' => ''),242 'Configure' => array('Type' => 'Boolean', 'Caption' => 'Nastavovat', 'Default' => ''),243 ),225 'Title' => 'Podsítě', 226 'DefaultSortColumn' => 'Name', 227 'Table' => 'NetworkSubnet', 228 'Items' => array( 229 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 230 'AddressRange' => array('Type' => 'String', 'Caption' => 'Rozsah adres', 'Default' => ''), 231 'Mask' => array('Type' => 'Integer', 'Caption' => 'Prefix', 'Default' => ''), 232 'DHCP' => array('Type' => 'IPv4Address', 'Caption' => 'DHCP', 'Default' => ''), 233 'Gateway' => array('Type' => 'IPv4Address', 'Caption' => 'Brána', 'Default' => ''), 234 'WINS' => array('Type' => 'IPv4Address', 'Caption' => 'WINS', 'Default' => ''), 235 'DNS' => array('Type' => 'String', 'Caption' => 'DNS', 'Default' => ''), 236 'Domain' => array('Type' => 'String', 'Caption' => 'Doména', 'Default' => ''), 237 'NTP' => array('Type' => 'String', 'Caption' => 'NTP', 'Default' => ''), 238 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '', 'Null' => true), 239 'ExtAddressRange' => array('Type' => 'String', 'Caption' => 'Vnější rozsah adres', 'Default' => ''), 240 'ExtMask' => array('Type' => 'String', 'Caption' => 'Vnější prefix', 'Default' => ''), 241 'AddressRangeIPv6' => array('Type' => 'String', 'Caption' => 'Rozsah adres IPv6', 'Default' => ''), 242 'Configure' => array('Type' => 'Boolean', 'Caption' => 'Nastavovat', 'Default' => ''), 243 ), 244 244 )); 245 245 $this->System->FormManager->RegisterClass('NetworkLink', array(
Note:
See TracChangeset
for help on using the changeset viewer.
