Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / config / setup.forms.php
blobab654bd0e95bfed8b87e285799699123b4ebf52b
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * List of avaible forms, each form is described as an array of fields to display.
5 * Fields MUST have their counterparts in the $cfg array.
7 * There are two possible notations:
8 * $forms['Form group']['Form name'] = array('Servers' => array(1 => array('host')));
9 * can be written as
10 * $forms['Form group']['Form name'] = array('Servers/1/host');
12 * You can assign default values set by special button ("set value: ..."), eg.:
13 * 'Servers/1/pmadb' => 'phpmyadmin'
15 * To group options, use:
16 * ':group:' . __('group name') // just define a group
17 * or
18 * 'option' => ':group' // group starting from this option
19 * End group blocks with:
20 * ':group:end'
22 * @package phpMyAdmin-setup
25 $forms = array();
26 $forms['_config.php'] = array(
27 'DefaultLang',
28 'ServerDefault');
29 $forms['Servers']['Server'] = array('Servers' => array(1 => array(
30 'verbose',
31 'host',
32 'port',
33 'socket',
34 'ssl',
35 'connect_type',
36 'extension',
37 'compress',
38 'nopassword')));
39 $forms['Servers']['Server_auth'] = array('Servers' => array(1 => array(
40 'auth_type',
41 ':group:' . __('Config authentication'),
42 'user',
43 'password',
44 ':group:end',
45 ':group:' . __('Cookie authentication'),
46 'auth_swekey_config' => './swekey.conf',
47 ':group:end',
48 ':group:' . __('HTTP authentication'),
49 'auth_http_realm',
50 ':group:end',
51 ':group:' . __('Signon authentication'),
52 'SignonSession',
53 'SignonURL',
54 'LogoutURL')));
55 $forms['Servers']['Server_config'] = array('Servers' => array(1 => array(
56 'only_db',
57 'hide_db',
58 'AllowRoot',
59 'AllowNoPassword',
60 'DisableIS',
61 'AllowDeny/order',
62 'AllowDeny/rules',
63 'ShowDatabasesCommand',
64 'CountTables')));
65 $forms['Servers']['Server_pmadb'] = array('Servers' => array(1 => array(
66 'pmadb' => 'phpmyadmin',
67 'controluser',
68 'controlpass',
69 'verbose_check',
70 'bookmarktable' => 'pma_bookmark',
71 'relation' => 'pma_relation',
72 'userconfig' => 'pma_userconfig',
73 'table_info' => 'pma_table_info',
74 'column_info' => 'pma_column_info',
75 'history' => 'pma_history',
76 'tracking' => 'pma_tracking',
77 'table_coords' => 'pma_table_coords',
78 'pdf_pages' => 'pma_pdf_pages',
79 'designer_coords' => 'pma_designer_coords')));
80 $forms['Servers']['Server_tracking'] = array('Servers' => array(1 => array(
81 'tracking_version_auto_create',
82 'tracking_default_statements',
83 'tracking_add_drop_view',
84 'tracking_add_drop_table',
85 'tracking_add_drop_database',
86 )));
87 $forms['Features']['Import_export'] = array(
88 'UploadDir',
89 'SaveDir',
90 'RecodingEngine' => ':group',
91 'IconvExtraParams',
92 ':group:end',
93 'ZipDump',
94 'GZipDump',
95 'BZipDump',
96 'CompressOnFly');
97 $forms['Features']['Security'] = array(
98 'blowfish_secret',
99 'ForceSSL',
100 'CheckConfigurationPermissions',
101 'TrustedProxies',
102 'AllowUserDropDatabase',
103 'AllowArbitraryServer',
104 'LoginCookieRecall',
105 'LoginCookieValidity',
106 'LoginCookieStore',
107 'LoginCookieDeleteAll');
108 $forms['Features']['Page_titles'] = array(
109 'TitleDefault',
110 'TitleTable',
111 'TitleDatabase',
112 'TitleServer');
113 $forms['Features']['Warnings'] = array(
114 'PmaNoRelation_DisableWarning',
115 'SuhosinDisableWarning',
116 'McryptDisableWarning');
117 $forms['Features']['Developer'] = array(
118 'UserprefsDeveloperTab',
119 'Error_Handler/display',
120 'Error_Handler/gather',
121 'DBG/sql');
122 $forms['Features']['Other_core_settings'] = array(
123 'NaturalOrder',
124 'InitialSlidersState',
125 'ErrorIconic',
126 'ReplaceHelpImg',
127 'MaxDbList',
128 'MaxTableList',
129 'OBGzip',
130 'PersistentConnections',
131 'ExecTimeLimit',
132 'MemoryLimit',
133 'SkipLockedTables',
134 'UseDbSearch',
135 'AllowThirdPartyFraming');
136 $forms['Sql_queries']['Sql_queries'] = array(
137 'ShowSQL',
138 'Confirm',
139 'QueryHistoryDB',
140 'QueryHistoryMax',
141 'IgnoreMultiSubmitErrors',
142 'VerboseMultiSubmit',
143 'MaxCharactersInDisplayedSQL',
144 'EditInWindow',
145 //'QueryWindowWidth', // overridden in theme
146 //'QueryWindowHeight',
147 'QueryWindowDefTab');
148 $forms['Sql_queries']['Sql_box'] = array('SQLQuery' => array(
149 'Edit',
150 'Explain',
151 'ShowAsPHP',
152 'Validate',
153 'Refresh'));
154 $forms['Sql_queries']['Sql_validator'] = array('SQLValidator' => array(
155 'use',
156 'username',
157 'password'));
158 $forms['Left_frame']['Left_frame'] = array(
159 'LeftFrameLight',
160 'LeftDisplayLogo',
161 'LeftLogoLink',
162 'LeftLogoLinkWindow',
163 'LeftPointerEnable');
164 $forms['Left_frame']['Left_servers'] = array(
165 'LeftDisplayServers',
166 'DisplayServersList');
167 $forms['Left_frame']['Left_databases'] = array(
168 'DisplayDatabasesList',
169 'LeftFrameDBTree',
170 'LeftFrameDBSeparator',
171 'ShowTooltipAliasDB');
172 $forms['Left_frame']['Left_tables'] = array(
173 'LeftDisplayTableFilter',
174 'LeftDefaultTabTable',
175 'LeftFrameTableSeparator',
176 'LeftFrameTableLevel',
177 'ShowTooltip',
178 'ShowTooltipAliasTB');
179 $forms['Main_frame']['Startup'] = array(
180 'MainPageIconic',
181 'ShowCreateDb' => ':group',
182 'SuggestDBName',
183 ':group:end',
184 'ShowStats',
185 'ShowServerInfo',
186 'ShowPhpInfo',
187 'ShowChgPassword');
188 $forms['Main_frame']['Browse'] = array(
189 'NavigationBarIconic',
190 'ShowAll',
191 'MaxRows',
192 'Order',
193 'BrowsePointerEnable',
194 'BrowseMarkerEnable',
195 'RepeatCells',
196 'LimitChars',
197 'ModifyDeleteAtLeft',
198 'ModifyDeleteAtRight',
199 'DefaultDisplay');
200 $forms['Main_frame']['Edit'] = array(
201 'ProtectBinary',
202 'ShowFunctionFields',
203 'ShowFieldTypesInDataEditView',
204 'CharEditing',
205 'CharTextareaCols',
206 'CharTextareaRows',
207 'TextareaCols',
208 'TextareaRows',
209 'LongtextDoubleTextarea',
210 'InsertRows',
211 'ForeignKeyDropdownOrder',
212 'ForeignKeyMaxLimit',
213 'DefaultPropDisplay');
214 $forms['Main_frame']['Tabs'] = array(
215 'LightTabs',
216 'PropertiesIconic',
217 'DefaultTabServer',
218 'DefaultTabDatabase',
219 'DefaultTabTable',
220 'QueryWindowDefTab');
221 $forms['Import']['Import_defaults'] = array('Import' => array(
222 'format',
223 'charset',
224 'allow_interrupt',
225 'skip_queries'));
226 $forms['Import']['Sql'] = array('Import' => array(
227 'sql_compatibility',
228 'sql_no_auto_value_on_zero'));
229 $forms['Import']['Csv'] = array('Import' => array(
230 ':group:' . __('CSV'),
231 'csv_replace',
232 'csv_ignore',
233 'csv_terminated',
234 'csv_enclosed',
235 'csv_escaped',
236 'csv_col_names',
237 ':group:end',
238 ':group:' . __('CSV using LOAD DATA'),
239 'ldi_replace',
240 'ldi_ignore',
241 'ldi_terminated',
242 'ldi_enclosed',
243 'ldi_escaped',
244 'ldi_local_option',
245 ':group:end'));
246 $forms['Import']['Microsoft_Office'] = array('Import' => array(
247 ':group:' . __('Excel 97-2003 XLS Workbook'),
248 'xls_col_names',
249 ':group:end',
250 ':group:' . __('Excel 2007 XLSX Workbook'),
251 'xlsx_col_names'));
252 $forms['Import']['Open_Document'] = array('Import' => array(
253 ':group:' . __('Open Document Spreadsheet'),
254 'ods_col_names',
255 'ods_empty_rows',
256 'ods_recognize_percentages',
257 'ods_recognize_currency'));
258 $forms['Export']['Export_defaults'] = array('Export' => array(
259 'method',
260 ':group:' . __('Quick'),
261 'quick_export_onserver',
262 'quick_export_onserver_overwrite',
263 ':group:end',
264 ':group:' . __('Custom'),
265 'format',
266 'compression',
267 'charset',
268 'asfile' => ':group',
269 'onserver',
270 'onserver_overwrite',
271 ':group:end',
272 'remember_file_template',
273 'file_template_table',
274 'file_template_database',
275 'file_template_server'));
276 $forms['Export']['Sql'] = array('Export' => array(
277 'sql_include_comments' => ':group',
278 'sql_dates',
279 'sql_relation',
280 'sql_mime',
281 ':group:end',
282 'sql_use_transaction',
283 'sql_disable_fk',
284 'sql_compatibility',
285 ':group:' . __('Database export options'),
286 'sql_drop_database',
287 'sql_structure_or_data',
288 ':group:end',
289 ':group:' . __('Structure'),
290 'sql_drop_table',
291 'sql_procedure_function',
292 'sql_create_table_statements' => ':group',
293 'sql_if_not_exists',
294 'sql_auto_increment',
295 ':group:end',
296 'sql_backquotes',
297 ':group:end',
298 ':group:' . __('Data'),
299 'sql_delayed',
300 'sql_ignore',
301 'sql_type',
302 'sql_insert_syntax',
303 'sql_max_query_size',
304 'sql_hex_for_blob',
305 'sql_utc_time'));
306 $forms['Export']['CodeGen'] = array('Export' => array(
307 'codegen_format'));
308 $forms['Export']['Csv'] = array('Export' => array(
309 ':group:' . __('CSV'),
310 'csv_separator',
311 'csv_enclosed',
312 'csv_escaped',
313 'csv_terminated',
314 'csv_null',
315 'csv_removeCRLF',
316 'csv_columns',
317 ':group:end',
318 ':group:' . __('CSV for MS Excel'),
319 'excel_null',
320 'excel_removeCRLF',
321 'excel_columns',
322 'excel_edition'));
323 $forms['Export']['Latex'] = array('Export' => array(
324 'latex_caption',
325 'latex_structure_or_data',
326 ':group:' . __('Structure'),
327 'latex_structure_caption',
328 'latex_structure_continued_caption',
329 'latex_structure_label',
330 'latex_relation',
331 'latex_comments',
332 'latex_mime',
333 ':group:end',
334 ':group:' . __('Data'),
335 'latex_columns',
336 'latex_data_caption',
337 'latex_data_continued_caption',
338 'latex_data_label',
339 'latex_null'));
340 $forms['Export']['Microsoft_Office'] = array('Export' => array(
341 ':group:' . __('Excel 97-2003 XLS Workbook'),
342 'xls_null',
343 'xls_columns',
344 ':group:end',
345 ':group:' . __('Excel 2007 XLSX Workbook'),
346 'xlsx_null',
347 'xlsx_columns',
348 ':group:end',
349 ':group:' . __('Microsoft Word 2000'),
350 'htmlword_structure_or_data',
351 'htmlword_null',
352 'htmlword_columns'));
353 $forms['Export']['Open_Document'] = array('Export' => array(
354 ':group:' . __('Open Document Spreadsheet'),
355 'ods_columns',
356 'ods_null',
357 ':group:end',
358 ':group:' . __('Open Document Text'),
359 'odt_structure_or_data',
360 ':group:' . __('Structure'),
361 'odt_relation',
362 'odt_comments',
363 'odt_mime',
364 ':group:end',
365 ':group:' . __('Data'),
366 'odt_columns',
367 'odt_null'));
368 $forms['Export']['Texy'] = array('Export' => array(
369 'texytext_structure_or_data',
370 ':group:' . __('Data'),
371 'texytext_null',
372 'texytext_columns'));