Changeset 11 for trunk/www/form_classes.php
- Timestamp:
- Jun 11, 2009, 8:28:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/form_classes.php
r10 r11 62 62 'Database' => array('Type' => 'Database', 'Caption' => 'Databáze', 'Default' => 0), 63 63 'Motd' => array('Type' => 'String', 'Caption' => 'Zpráva dne', 'Default' => 'Vítejte na free WoW serveru'), 64 //'TimeCreation' => array('Type' => 'DateTime', 'Caption' => 'Datum založení', 'Default' => 'NOW()'), 65 ), 66 ), 67 'ServerList' => array( 68 'Title' => 'Server', 69 'Table' => '(SELECT `ClientVersion`.`Version`, `Server`.`Name`, `Server`.`Id`, `Server`.`NetworkPortRealmd`, `User`.`Name` AS `UserName` FROM `Server` JOIN `User` ON `User`.`Id` = `Server`.`User` JOIN `Database` ON `Database`.`Id` = `Server`.`Database` JOIN `Emulator` ON `Emulator`.`Id` = `Database`.`Emulator` JOIN `ClientVersion` ON `ClientVersion`.`Id` = `Emulator`.`ClientVersion`) AS T', 70 'Items' => array( 71 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 72 'UserName' => array('Type' => 'String', 'Caption' => 'Správce', 'Default' => ''), 73 'NetworkPortRealmd' => array('Type' => 'Integer', 'Caption' => 'Realmd port', 'Default' => ''), 74 'Version' => array('Type' => 'Integer', 'Caption' => 'Verze', 'Default' => 0), 75 'Online' => array('Type' => 'OnlineState', 'Caption' => 'Stav', 'Default' => 0), 76 'CharacterCount' => array('Type' => 'Integer', 'Caption' => 'Hráčů online', 'Default' => 0), 77 'AccountCount' => array('Type' => 'Integer', 'Caption' => 'Účtů', 'Default' => 0), 78 'CharacterCount' => array('Type' => 'Integer', 'Caption' => 'Postav', 0), 79 ), 80 ), 81 'EmulatorList' => array( 82 'Title' => 'Emulátor', 83 'Table' => '(SELECT `Emulator`.`Name`, `ClientVersion`.`Version` AS `ClientVersion`, `Emulator`.`Revision`, `Emulator`.`ScriptDev2Revision`, `Emulator`.`ScriptDev2PatchFileName`, `Emulator`.`CommitHash` FROM `Emulator` JOIN `ClientVersion` ON `ClientVersion`.`Id` = `Emulator`.`ClientVersion`) AS T', 84 'Items' => array( 85 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 86 'Revision' => array('Type' => 'Integer', 'Caption' => 'Revize', 'Default' => 0), 87 'ClientVersion' => array('Type' => 'Integer', 'Caption' => 'Verze klienta', 'Default' => 0), 88 'ScriptDev2Revision' => array('Type' => 'Integer', 'Caption' => 'Verze SD2', 'Default' => 0), 89 'ScriptDev2PatchFileName' => array('Type' => 'String', 'Caption' => 'SD2 záplata', 'Default' => ''), 90 'CommitHash' => array('Type' => 'String', 'Caption' => 'Commit HASH', 'Default' => ''), 91 ), 92 ), 93 'EmulatorItem' => array( 94 'Title' => 'Emulátor', 95 'Table' => 'Emulator', 96 'Items' => array( 97 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 98 'Revision' => array('Type' => 'Integer', 'Caption' => 'Revize', 'Default' => 0), 99 //'ClientVersion' => array('Type' => 'PointerOneToOne', 'Caption' => 'Verze klienta', 'Default' => 0), 100 'ScriptDev2Revision' => array('Type' => 'Integer', 'Caption' => 'Verze SD2', 'Default' => 0), 101 'ScriptDev2PatchFileName' => array('Type' => 'String', 'Caption' => 'SD2 záplata', 'Default' => ''), 102 'CommitHash' => array('Type' => 'String', 'Caption' => 'Commit HASH', 'Default' => ''), 64 103 ), 65 104 ), … … 67 106 68 107 RegisterType('ServerType', 'Enumeration', array('Normální', 'PvP', 'RP', 'RPPvP')); 108 RegisterType('OnlineState', 'Enumeration', array('Neaktivní', 'Aktivní')); 109 69 110 //RegisterType('Database', 'PointerOneToOne', array('Table' => 'Database', 'Id' => 'Id', 'Name' => 'CONCAT(Name, " ", Version, " r", Revision)')); 70 111
Note:
See TracChangeset
for help on using the changeset viewer.