Ignore:
Timestamp:
May 23, 2015, 12:07:08 AM (10 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Network/Network.php

    r738 r739  
    294294        'Refresh' => array('Type' => 'Integer', 'Caption' => 'Obnovení', 'Default' => '28800'),
    295295        'TTL' => array('Type' => 'Integer', 'Caption' => 'TTL', 'Default' => '86400', 'Suffix' => 'sekund'),
     296        'Servers' => array('Type' => 'TNetworkDomainServerList', 'Caption' => 'Servery', 'Default' => ''),
    296297      ),
    297298    ));
     
    301302      'Id' => 'Id',
    302303      'Name' => 'Name',
     304      'Filter' => '1',
     305    ));
     306    $this->System->FormManager->RegisterClass('NetworkDomainServer', array(
     307      'Title' => 'Doménový server',
     308      'Table' => 'NetworkDomainServer',
     309      'DefaultSortColumn' => 'Address',
     310      'DefaultSortOrder' => 1,
     311      'Items' => array(
     312        'Address' => array('Type' => 'String', 'Caption' => 'Adresa', 'Default' => ''),
     313        'Domain' => array('Type' => 'TNetworkDomain', 'Caption' => 'Doména', 'Default' => ''),
     314        'Sequence' => array('Type' => 'Integer', 'Caption' => 'Pořadí', 'Default' => '1'),
     315      ),
     316    ));
     317    $this->System->FormManager->RegisterFormType('TNetworkDomainServerList', array(
     318      'Type' => 'ManyToOne',
     319      'Table' => 'NetworkDomainServer',
     320      'Id' => 'Id',
     321      'Ref' => 'Domain',
    303322      'Filter' => '1',
    304323    ));
Note: See TracChangeset for help on using the changeset viewer.