Changeset 27 for trunk/www/form_classes.php
- Timestamp:
- Jun 13, 2009, 2:48:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/form_classes.php
r26 r27 91 91 'EmulatorList' => array( 92 92 '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`)', 94 94 'Items' => array( 95 95 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 96 'Version' => array('Type' => 'String', 'Caption' => 'Verze', 'Default' => ''), 96 97 'Revision' => array('Type' => 'Integer', 'Caption' => 'Revize', 'Default' => 0), 97 98 'ClientVersion' => array('Type' => 'Integer', 'Caption' => 'Verze klienta', 'Default' => 0), 98 99 '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' => ''), 101 102 ), 102 103 ), … … 106 107 'Items' => array( 107 108 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 109 'Version' => array('Type' => 'String', 'Caption' => 'Verze', 'Default' => ''), 108 110 '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), 110 112 'ScriptDev2Revision' => array('Type' => 'Integer', 'Caption' => 'Verze SD2', 'Default' => 0), 111 113 'ScriptDev2PatchFileName' => array('Type' => 'String', 'Caption' => 'SD2 záplata', 'Default' => ''), … … 171 173 RegisterType('OnlineState', 'Enumeration', array('Neaktivní', 'Aktivní')); 172 174 RegisterType('Database', 'PointerOneToOne', array('Table' => 'Database', 'Id' => 'Id', 'Name' => 'CONCAT(Name, " ", Version, " r", Revision)')); 175 RegisterType('Client', 'PointerOneToOne', array('Table' => 'Client', 'Id' => 'Id', 'Name' => 'Version')); 173 176 174 177 ?>
Note:
See TracChangeset
for help on using the changeset viewer.