2 /* vim: set expandtab sw=4 ts=4 sts=4: */
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')));
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
18 * 'option' => ':group' // group starting from this option
19 * End group blocks with:
22 * @package phpMyAdmin-setup
26 $forms['_config.php'] = array(
29 $forms['Servers']['Server'] = array('Servers' => array(1 => array(
39 $forms['Servers']['Server_auth'] = array('Servers' => array(1 => array(
41 ':group:' . __('Config authentication'),
45 ':group:' . __('Cookie authentication'),
46 'auth_swekey_config' => './swekey.conf',
48 ':group:' . __('HTTP authentication'),
51 ':group:' . __('Signon authentication'),
55 $forms['Servers']['Server_config'] = array('Servers' => array(1 => array(
63 'ShowDatabasesCommand',
65 $forms['Servers']['Server_pmadb'] = array('Servers' => array(1 => array(
66 'pmadb' => 'phpmyadmin',
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',
87 $forms['Features']['Import_export'] = array(
90 'RecodingEngine' => ':group',
97 $forms['Features']['Security'] = array(
100 'CheckConfigurationPermissions',
102 'AllowUserDropDatabase',
103 'AllowArbitraryServer',
105 'LoginCookieValidity',
107 'LoginCookieDeleteAll');
108 $forms['Features']['Page_titles'] = array(
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',
122 $forms['Features']['Other_core_settings'] = array(
126 'InitialSlidersState',
132 'PersistentConnections',
137 'AllowThirdPartyFraming');
138 $forms['Sql_queries']['Sql_queries'] = array(
143 'IgnoreMultiSubmitErrors',
144 'VerboseMultiSubmit',
145 'MaxCharactersInDisplayedSQL',
147 //'QueryWindowWidth', // overridden in theme
148 //'QueryWindowHeight',
149 'QueryWindowDefTab');
150 $forms['Sql_queries']['Sql_box'] = array('SQLQuery' => array(
156 $forms['Sql_queries']['Sql_validator'] = array('SQLValidator' => array(
160 $forms['Left_frame']['Left_frame'] = array(
164 'LeftLogoLinkWindow',
165 'LeftPointerEnable');
166 $forms['Left_frame']['Left_servers'] = array(
167 'LeftDisplayServers',
168 'DisplayServersList');
169 $forms['Left_frame']['Left_databases'] = array(
170 'DisplayDatabasesList',
172 'LeftFrameDBSeparator',
173 'ShowTooltipAliasDB');
174 $forms['Left_frame']['Left_tables'] = array(
175 'LeftDisplayTableFilterMinimum',
176 'LeftDefaultTabTable',
177 'LeftFrameTableSeparator',
178 'LeftFrameTableLevel',
180 'ShowTooltipAliasTB');
181 $forms['Main_frame']['Startup'] = array(
183 'ShowCreateDb' => ':group',
190 $forms['Main_frame']['Browse'] = array(
191 'NavigationBarIconic',
195 'BrowsePointerEnable',
196 'BrowseMarkerEnable',
199 'ModifyDeleteAtLeft',
200 'ModifyDeleteAtRight',
202 $forms['Main_frame']['Edit'] = array(
204 'ShowFunctionFields',
205 'ShowFieldTypesInDataEditView',
211 'LongtextDoubleTextarea',
213 'ForeignKeyDropdownOrder',
214 'ForeignKeyMaxLimit',
215 'DefaultPropDisplay');
216 $forms['Main_frame']['Tabs'] = array(
220 'DefaultTabDatabase',
222 'QueryWindowDefTab');
223 $forms['Import']['Import_defaults'] = array('Import' => array(
228 $forms['Import']['Sql'] = array('Import' => array(
230 'sql_no_auto_value_on_zero'));
231 $forms['Import']['Csv'] = array('Import' => array(
232 ':group:' . __('CSV'),
240 ':group:' . __('CSV using LOAD DATA'),
248 $forms['Import']['Microsoft_Office'] = array('Import' => array(
249 ':group:' . __('Excel 97-2003 XLS Workbook'),
252 ':group:' . __('Excel 2007 XLSX Workbook'),
254 $forms['Import']['Open_Document'] = array('Import' => array(
255 ':group:' . __('Open Document Spreadsheet'),
258 'ods_recognize_percentages',
259 'ods_recognize_currency'));
260 $forms['Export']['Export_defaults'] = array('Export' => array(
262 ':group:' . __('Quick'),
263 'quick_export_onserver',
264 'quick_export_onserver_overwrite',
266 ':group:' . __('Custom'),
270 'asfile' => ':group',
272 'onserver_overwrite',
274 'remember_file_template',
275 'file_template_table',
276 'file_template_database',
277 'file_template_server'));
278 $forms['Export']['Sql'] = array('Export' => array(
279 'sql_include_comments' => ':group',
284 'sql_use_transaction',
287 ':group:' . __('Database export options'),
289 'sql_structure_or_data',
291 ':group:' . __('Structure'),
293 'sql_procedure_function',
294 'sql_create_table_statements' => ':group',
296 'sql_auto_increment',
300 ':group:' . __('Data'),
305 'sql_max_query_size',
308 $forms['Export']['CodeGen'] = array('Export' => array(
310 $forms['Export']['Csv'] = array('Export' => array(
311 ':group:' . __('CSV'),
320 ':group:' . __('CSV for MS Excel'),
325 $forms['Export']['Latex'] = array('Export' => array(
327 'latex_structure_or_data',
328 ':group:' . __('Structure'),
329 'latex_structure_caption',
330 'latex_structure_continued_caption',
331 'latex_structure_label',
336 ':group:' . __('Data'),
338 'latex_data_caption',
339 'latex_data_continued_caption',
342 $forms['Export']['Microsoft_Office'] = array('Export' => array(
343 ':group:' . __('Excel 97-2003 XLS Workbook'),
347 ':group:' . __('Excel 2007 XLSX Workbook'),
351 ':group:' . __('Microsoft Word 2000'),
352 'htmlword_structure_or_data',
354 'htmlword_columns'));
355 $forms['Export']['Open_Document'] = array('Export' => array(
356 ':group:' . __('Open Document Spreadsheet'),
360 ':group:' . __('Open Document Text'),
361 'odt_structure_or_data',
362 ':group:' . __('Structure'),
367 ':group:' . __('Data'),
370 $forms['Export']['Texy'] = array('Export' => array(
371 'texytext_structure_or_data',
372 ':group:' . __('Data'),
374 'texytext_columns'));