Changeset 10 for trunk/www/form_classes.php
- Timestamp:
- Jun 11, 2009, 12:55:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/form_classes.php
r6 r10 58 58 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => 'WoW server'), 59 59 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''), 60 'Homepage' => array('Type' => ' String', 'Caption' => 'Webové stránky', 'Default' => ''),61 'Type' => array('Type' => ' TServerType', 'Caption' => 'Typ', 'Default' => 0),62 'Database' => array('Type' => ' TDatabase', 'Caption' => 'Databáze', 'Default' => 0),60 'Homepage' => array('Type' => 'Hyperlink', 'Caption' => 'Webové stránky', 'Default' => ''), 61 'Type' => array('Type' => 'ServerType', 'Caption' => 'Typ', 'Default' => 0), 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 64 ), … … 66 66 ); 67 67 68 $FormTypes = array( 69 'TServerType' => array( 70 'Type' => 'Enumeration', 71 'States' => array('Normální', 'PvP', 'RP', 'RPPvP'), 72 ), 73 'TDatabase' => array( 74 'Type' => 'Reference', 75 'Table' => 'Database', 76 'Id' => 'Id', 77 'Name' => 'CONCAT(Name, " ", Version, " r", Revision)', 78 'Filter' => '1', 79 ), 80 ); 68 RegisterType('ServerType', 'Enumeration', array('Normální', 'PvP', 'RP', 'RPPvP')); 69 //RegisterType('Database', 'PointerOneToOne', array('Table' => 'Database', 'Id' => 'Id', 'Name' => 'CONCAT(Name, " ", Version, " r", Revision)')); 81 70 82 71 ?>
Note:
See TracChangeset
for help on using the changeset viewer.