3.3.5-rc1
[phpmyadmin/arisferyanto.git] / setup / lib / forms.inc.php
blob1040224a00f5deafef9dbba245fe17a3f8d9bca3
1 <?php
2 /**
3 * List of avaible forms, each form is described as an array of fields to display.
4 * Fields MUST have their counterparts in the $cfg array.
6 * There are two possible notations:
7 * $forms['Form name'] = array('Servers' => array(1 => array('host')));
8 * can be written as
9 * $forms['Form name'] = array('Servers/1/host');
11 * You can assign default values set by special button ("set value: ..."), eg.:
12 * $forms['Server_pmadb'] = array('Servers' => array(1 => array(
13 * 'pmadb' => 'phpmyadmin')));
15 * @package phpMyAdmin-setup
16 * @author Piotr Przybylski <piotrprz@gmail.com>
17 * @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
18 * @version $Id$
21 $forms = array();
22 $forms['_config.php'] = array(
23 'DefaultLang',
24 'ServerDefault');
25 $forms['Server'] = array('Servers' => array(1 => array(
26 'verbose',
27 'host',
28 'port',
29 'socket',
30 'ssl',
31 'connect_type',
32 'extension',
33 'compress',
34 'auth_type',
35 'user',
36 'password',
37 'nopassword',
38 'auth_swekey_config' => './swekey.conf')));
39 $forms['Server_login_options'] = array('Servers' => array(1 => array(
40 'SignonSession',
41 'SignonURL',
42 'LogoutURL')));
43 $forms['Server_config'] = array('Servers' => array(1 => array(
44 'only_db',
45 'hide_db',
46 'AllowRoot',
47 'AllowNoPassword',
48 'DisableIS',
49 'AllowDeny/order',
50 'AllowDeny/rules',
51 'ShowDatabasesCommand',
52 'CountTables')));
53 $forms['Server_pmadb'] = array('Servers' => array(1 => array(
54 'pmadb' => 'phpmyadmin',
55 'controluser',
56 'controlpass',
57 'verbose_check',
58 'bookmarktable' => 'pma_bookmark',
59 'relation' => 'pma_relation',
60 'table_info' => 'pma_table_info',
61 'table_coords' => 'pma_table_coords',
62 'pdf_pages' => 'pma_pdf_pages',
63 'column_info' => 'pma_column_info',
64 'history' => 'pma_history',
65 'designer_coords' => 'pma_designer_coords')));
66 $forms['Import_export'] = array(
67 'UploadDir',
68 'SaveDir',
69 'AllowAnywhereRecoding',
70 'DefaultCharset',
71 'RecodingEngine',
72 'IconvExtraParams',
73 'ZipDump',
74 'GZipDump',
75 'BZipDump',
76 'CompressOnFly');
77 $forms['Security'] = array(
78 'blowfish_secret',
79 'ForceSSL',
80 'CheckConfigurationPermissions',
81 'TrustedProxies',
82 'AllowUserDropDatabase',
83 'AllowArbitraryServer',
84 'LoginCookieRecall',
85 'LoginCookieValidity',
86 'LoginCookieStore',
87 'LoginCookieDeleteAll');
88 $forms['Sql_queries'] = array(
89 'ShowSQL',
90 'Confirm',
91 'QueryHistoryDB',
92 'QueryHistoryMax',
93 'IgnoreMultiSubmitErrors',
94 'VerboseMultiSubmit');
95 $forms['Other_core_settings'] = array(
96 'MaxDbList',
97 'MaxTableList',
98 'MaxCharactersInDisplayedSQL',
99 'OBGzip',
100 'PersistentConnections',
101 'ExecTimeLimit',
102 'MemoryLimit',
103 'SkipLockedTables',
104 'UseDbSearch');
105 $forms['Left_frame'] = array(
106 'LeftFrameLight',
107 'LeftDisplayLogo',
108 'LeftLogoLink',
109 'LeftLogoLinkWindow',
110 'LeftDefaultTabTable',
111 'LeftPointerEnable');
112 $forms['Left_servers'] = array(
113 'LeftDisplayServers',
114 'DisplayServersList');
115 $forms['Left_databases'] = array(
116 'DisplayDatabasesList',
117 'LeftFrameDBTree',
118 'LeftFrameDBSeparator',
119 'ShowTooltipAliasDB');
120 $forms['Left_tables'] = array(
121 'LeftFrameTableSeparator',
122 'LeftFrameTableLevel',
123 'ShowTooltip',
124 'ShowTooltipAliasTB');
125 $forms['Startup'] = array(
126 'ShowStats',
127 'ShowPhpInfo',
128 'ShowServerInfo',
129 'ShowChgPassword',
130 'ShowCreateDb',
131 'SuggestDBName');
132 $forms['Browse'] = array(
133 'NavigationBarIconic',
134 'ShowAll',
135 'MaxRows',
136 'Order',
137 'BrowsePointerEnable',
138 'BrowseMarkerEnable');
139 $forms['Edit'] = array(
140 'ProtectBinary',
141 'ShowFunctionFields',
142 'CharEditing',
143 'CharTextareaCols',
144 'CharTextareaRows',
145 'InsertRows',
146 'ForeignKeyDropdownOrder',
147 'ForeignKeyMaxLimit');
148 $forms['Tabs'] = array(
149 'LightTabs',
150 'PropertiesIconic',
151 'DefaultTabServer',
152 'DefaultTabDatabase',
153 'DefaultTabTable',
154 'QueryWindowDefTab');
155 $forms['Sql_box'] = array('SQLQuery' => array(
156 'Edit',
157 'Explain',
158 'ShowAsPHP',
159 'Validate',
160 'Refresh'));
161 $forms['Import_defaults'] = array('Import' => array(
162 'format',
163 'allow_interrupt',
164 'skip_queries'));
165 $forms['Export_defaults'] = array('Export' => array(
166 'format',
167 'compression',
168 'asfile',
169 'charset',
170 'onserver',
171 'onserver_overwrite',
172 'remember_file_template',
173 'file_template_table',
174 'file_template_database',
175 'file_template_server'));