Ignore:
Timestamp:
Jun 13, 2009, 2:48:35 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Textové informace o systému.
  • Přidáno: Sloupec verze emulátoru.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/form_classes.php

    r26 r27  
    9191  'EmulatorList' => array(
    9292    'Title' => 'Emulátory',
    93     'Table' => '(SELECT `Emulator`.`Name`, `Emulator`.`Id`, `Client`.`Version` AS `ClientVersion`, `Emulator`.`Revision`, `Emulator`.`ScriptDev2Revision`, `Emulator`.`ScriptDev2PatchFileName`, `Emulator`.`CommitHash` FROM `Emulator` JOIN `Client` ON `Client`.`Id` = `Emulator`.`Client`)',
     93    'Table' => '(SELECT `Emulator`.`Name`, `Emulator`.`Id`, `Client`.`Version` AS `ClientVersion`, `Emulator`.`Revision`, `Emulator`.`ScriptDev2Revision`, `Emulator`.`ScriptDev2PatchFileName`, `Emulator`.`Version`, `Emulator`.`CommitHash` FROM `Emulator` JOIN `Client` ON `Client`.`Id` = `Emulator`.`Client`)',
    9494    'Items' => array(
    9595      'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
     96      'Version' => array('Type' => 'String', 'Caption' => 'Verze', 'Default' => ''),
    9697      'Revision' => array('Type' => 'Integer', 'Caption' => 'Revize', 'Default' => 0),
    9798      'ClientVersion' => array('Type' => 'Integer', 'Caption' => 'Verze klienta', 'Default' => 0),
    9899      'ScriptDev2Revision' => array('Type' => 'Integer', 'Caption' => 'Verze SD2', 'Default' => 0),
    99       'ScriptDev2PatchFileName' => array('Type' => 'String', 'Caption' => 'SD2 záplata', 'Default' => ''),
    100       'CommitHash' => array('Type' => 'String', 'Caption' => 'Commit HASH', 'Default' => ''),
     100      //'ScriptDev2PatchFileName' => array('Type' => 'String', 'Caption' => 'SD2 záplata', 'Default' => ''),
     101      //'CommitHash' => array('Type' => 'String', 'Caption' => 'Commit HASH', 'Default' => ''),
    101102    ),
    102103  ),
     
    106107    'Items' => array(
    107108      'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
     109      'Version' => array('Type' => 'String', 'Caption' => 'Verze', 'Default' => ''),
    108110      'Revision' => array('Type' => 'Integer', 'Caption' => 'Revize', 'Default' => 0),
    109       //'Client' => array('Type' => 'PointerOneToOne', 'Caption' => 'Verze klienta', 'Default' => 0),
     111      'Client' => array('Type' => 'Client', 'Caption' => 'Verze klienta', 'Default' => 0),
    110112      'ScriptDev2Revision' => array('Type' => 'Integer', 'Caption' => 'Verze SD2', 'Default' => 0),
    111113      'ScriptDev2PatchFileName' => array('Type' => 'String', 'Caption' => 'SD2 záplata', 'Default' => ''),
     
    171173RegisterType('OnlineState', 'Enumeration', array('Neaktivní', 'Aktivní'));
    172174RegisterType('Database', 'PointerOneToOne', array('Table' => 'Database', 'Id' => 'Id', 'Name' => 'CONCAT(Name, " ", Version, " r", Revision)'));
     175RegisterType('Client', 'PointerOneToOne', array('Table' => 'Client', 'Id' => 'Id', 'Name' => 'Version'));
    173176
    174177?>
Note: See TracChangeset for help on using the changeset viewer.