Changeset 662 for trunk/Modules


Ignore:
Timestamp:
May 31, 2014, 11:53:31 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: ICQ kontakty převedeny z tabulky uživatelů do tabulky Kontakty.
Location:
trunk/Modules
Files:
2 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    ));
  • trunk/Modules/User/User.php

    r650 r662  
    558558        'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
    559559        'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
    560         'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
    561560      ),
    562561    ));
     
    598597        'RegistrationTime' => array('Type' => 'DateTime', 'Caption' => 'Čas registrace', 'Default' => ''),
    599598        'Locked' => array('Type' => 'Boolean', 'Caption' => 'Uzamčen', 'Default' => ''),
    600         'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
    601599        'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefon', 'Default' => ''),
    602600        'UserRel' => array('Type' => 'TUserCustomerRelListUser', 'Caption' => 'Přístup k zákazníkům', 'Default' => ''),
    603601        'Permission' => array('Type' => 'TPermissionUserAssignmentListUser', 'Caption' => 'Oprávnění', 'Default' => ''),
     602        'Contatcs' => array('Type' => 'TContactListUser', 'Caption' => 'Kontakty', 'Default' => ''),
    604603      ),
    605604    ));
Note: See TracChangeset for help on using the changeset viewer.