1 | <?php
|
---|
2 |
|
---|
3 | $FormClasses = array(
|
---|
4 | 'UserOptions' => array(
|
---|
5 | 'Title' => 'Základní nastavení',
|
---|
6 | 'Table' => 'User',
|
---|
7 | 'SubmitText' => 'Uložit',
|
---|
8 | 'Items' => array(
|
---|
9 | 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
|
---|
10 | 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
|
---|
11 | 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''),
|
---|
12 | 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
|
---|
13 | //'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
|
---|
14 | //'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
|
---|
15 | ),
|
---|
16 | ),
|
---|
17 | 'UserRegister' => array(
|
---|
18 | 'Title' => 'Registrace uživatele',
|
---|
19 | 'SubmitText' => 'Registrovat',
|
---|
20 | 'Table' => 'User',
|
---|
21 | 'Items' => array(
|
---|
22 | 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
|
---|
23 | 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
|
---|
24 | 'Password2' => array('Type' => 'Password', 'Caption' => 'Potvrzení hesla', 'Default' => ''),
|
---|
25 | 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''),
|
---|
26 | 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
|
---|
27 | //'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
|
---|
28 | //'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
|
---|
29 | ),
|
---|
30 | ),
|
---|
31 | 'UserLogin' => array(
|
---|
32 | 'Title' => 'Přihlášení uživatele',
|
---|
33 | 'SubmitText' => 'Přihlásit',
|
---|
34 | 'Table' => '',
|
---|
35 | 'Items' => array(
|
---|
36 | 'Username' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
|
---|
37 | 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
|
---|
38 | ),
|
---|
39 | ),
|
---|
40 | 'NewServer' => array(
|
---|
41 | 'Title' => 'Nový server',
|
---|
42 | 'Table' => 'Server',
|
---|
43 | 'SubmitText' => 'Registrovat',
|
---|
44 | 'Items' => array(
|
---|
45 | 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => 'WoW server'),
|
---|
46 | 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
|
---|
47 | 'Homepage' => array('Type' => 'String', 'Caption' => 'Webové stránky', 'Default' => ''),
|
---|
48 | 'Type' => array('Type' => 'TServerType', 'Caption' => 'Typ', 'Default' => 0),
|
---|
49 | 'Database' => array('Type' => 'TDatabase', 'Caption' => 'Databáze', 'Default' => 0),
|
---|
50 | 'Motd' => array('Type' => 'String', 'Caption' => 'Zpráva dne', 'Default' => 'Vítejte na free WoW serveru'),
|
---|
51 | ),
|
---|
52 | ),
|
---|
53 | 'EditServer' => array(
|
---|
54 | 'Title' => 'Nastavení',
|
---|
55 | 'Table' => 'Server',
|
---|
56 | 'SubmitText' => 'Uložit',
|
---|
57 | 'Items' => array(
|
---|
58 | 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => 'WoW server'),
|
---|
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),
|
---|
63 | 'Motd' => array('Type' => 'String', 'Caption' => 'Zpráva dne', 'Default' => 'Vítejte na free WoW serveru'),
|
---|
64 | ),
|
---|
65 | ),
|
---|
66 | );
|
---|
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 | );
|
---|
81 |
|
---|
82 | ?>
|
---|