Changeset 769 for trunk/Modules/Network/Network.php
- Timestamp:
- Nov 24, 2015, 9:56:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r760 r769 138 138 'Target' => array('Type' => 'String', 'Caption' => 'Cíl', 'Default' => ''), 139 139 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''), 140 ), 140 'Domain' => array('Type' => 'TNetworkDomain', 'Caption' => 'Síťová doména', 'Default' => ''), 141 ), 142 )); 143 $this->System->FormManager->RegisterFormType('TNetworkDomainAliasListDomain', array( 144 'Type' => 'ManyToOne', 145 'Table' => 'NetworkDomainAlias', 146 'Id' => 'Id', 147 'Ref' => 'Domain', 148 'Filter' => '1', 141 149 )); 142 150 $this->System->FormManager->RegisterClass('NetworkDevice', array( … … 267 275 ), 268 276 )); 277 $this->System->FormManager->RegisterClass('NetworkAddressCategory', array( 278 'Title' => 'Kategorie síťové adresy', 279 'Table' => 'NetworkAddressCategory', 280 'DefaultSortColumn' => 'Name', 281 'DefaultSortOrder' => 1, 282 'Items' => array( 283 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 284 ), 285 )); 286 $this->System->FormManager->RegisterFormType('TNetworkAddressCategory', array( 287 'Type' => 'Reference', 288 'Table' => 'NetworkAddressCategory', 289 'Id' => 'Id', 290 'Name' => 'Name', 291 'Filter' => '1', 292 )); 269 293 $this->System->FormManager->RegisterClass('NetworkDeviceConfig', array( 270 294 'Title' => 'Nastavení zařízení', … … 295 319 'TTL' => array('Type' => 'Integer', 'Caption' => 'TTL', 'Default' => '86400', 'Suffix' => 'sekund'), 296 320 'Servers' => array('Type' => 'TNetworkDomainServerList', 'Caption' => 'Servery', 'Default' => ''), 321 'Views' => array('Type' => 'TNetworkDomainViewListDomain', 'Caption' => 'Pohledy', 'Default' => ''), 322 'ItemFilters' => array('Type' => 'TNetworkDomainItemFilterListDomain', 'Caption' => 'Filtry položek', 'Default' => ''), 323 'Aliases' => array('Type' => 'TNetworkDomainAliasListDomain', 'Caption' => 'Aliasy', 'Default' => ''), 297 324 ), 298 325 )); … … 320 347 'Id' => 'Id', 321 348 'Ref' => 'Domain', 349 'Filter' => '1', 350 )); 351 $this->System->FormManager->RegisterClass('NetworkDomainView', array( 352 'Title' => 'Pohled síťové domény', 353 'Table' => 'NetworkDomainView', 354 'DefaultSortColumn' => 'Name', 355 'DefaultSortOrder' => 1, 356 'Items' => array( 357 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 358 'SysName' => array('Type' => 'String', 'Caption' => 'Systémové jméno', 'Default' => ''), 359 'Domain' => array('Type' => 'TNetworkDomain', 'Caption' => 'Doména', 'Default' => ''), 360 'AddressRange' => array('Type' => 'String', 'Caption' => 'Rozsah adres', 'Default' => ''), 361 'ItemFilters' => array('Type' => 'TNetworkDomainItemFilterListView', 'Caption' => 'Filtry položek', 'Default' => ''), 362 ), 363 )); 364 $this->System->FormManager->RegisterFormType('TNetworkDomainView', array( 365 'Type' => 'Reference', 366 'Table' => 'NetworkDomainView', 367 'Id' => 'Id', 368 'Name' => 'Name', 369 'Filter' => '1', 370 )); 371 $this->System->FormManager->RegisterFormType('TNetworkDomainViewListDomain', array( 372 'Type' => 'ManyToOne', 373 'Table' => 'NetworkDomainView', 374 'Id' => 'Id', 375 'Ref' => 'Domain', 376 'Filter' => '1', 377 )); 378 $this->System->FormManager->RegisterClass('NetworkDomainItemFilter', array( 379 'Title' => 'Filtr doménových položek', 380 'Table' => 'NetworkDomainItemFilter', 381 'DefaultSortColumn' => 'Name', 382 'DefaultSortOrder' => 1, 383 'Items' => array( 384 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 385 'Domain' => array('Type' => 'TNetworkDomain', 'Caption' => 'Domén', 'Default' => ''), 386 'AddressCategory' => array('Type' => 'TNetworkAddressCategory', 'Caption' => 'Kategorie adresy', 'Default' => ''), 387 'Suffix' => array('Type' => 'String', 'Caption' => 'Přípona jména položek', 'Default' => ''), 388 'View' => array('Type' => 'TNetworkDomainView', 'Caption' => 'Pohled', 'Default' => ''), 389 'AddressRange' => array('Type' => 'String', 'Caption' => 'Rozsah adres', 'Default' => ''), 390 ), 391 )); 392 $this->System->FormManager->RegisterFormType('TNetworkDomainItemFilterListDomain', array( 393 'Type' => 'ManyToOne', 394 'Table' => 'NetworkDomainItemFilter', 395 'Id' => 'Id', 396 'Ref' => 'Domain', 397 'Filter' => '1', 398 )); 399 $this->System->FormManager->RegisterFormType('TNetworkDomainItemFilterListView', array( 400 'Type' => 'ManyToOne', 401 'Table' => 'NetworkDomainItemFilter', 402 'Id' => 'Id', 403 'Ref' => 'View', 322 404 'Filter' => '1', 323 405 ));
Note:
See TracChangeset
for help on using the changeset viewer.