Ignore:
Timestamp:
May 31, 2014, 11:53:31 PM (10 years ago)
Author:
chronos
Message:
  • Upraveno: ICQ kontakty převedeny z tabulky uživatelů do tabulky Kontakty.
File:
1 edited

Legend:

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

    r661 r662  
    6666      'Filter' => '1',
    6767    ));
    68     $this->System->FormManager->RegisterFormType('TContactList', array(
     68    $this->System->FormManager->RegisterFormType('TContactListCategory', array(
    6969      'Type' => 'ManyToOne',
    7070      'Table' => 'Contact',
     
    7373      'Filter' => '1',
    7474    ));
     75    $this->System->FormManager->RegisterFormType('TContactListUser', array(
     76      'Type' => 'ManyToOne',
     77      'Table' => 'Contact',
     78      'Id' => 'Id',
     79      'Ref' => 'User',
     80      'Filter' => '1',
     81    ));
    7582    $this->System->FormManager->RegisterClass('Contact', array(
    76       'Title' => 'Kontaktu',
     83      'Title' => 'Kontakty',
    7784      'Table' => 'Contact',
    7885      'Items' => array(
     
    8895      'Items' => array(
    8996        'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
    90         'Items' => array('Type' => 'TContactList', 'Caption' => 'Kontakty'),
     97        'Items' => array('Type' => 'TContactListCategory', 'Caption' => 'Kontakty'),
    9198      ),
    9299    ));
Note: See TracChangeset for help on using the changeset viewer.