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(
124 'InitialSlidersState',
130 'PersistentConnections',
135 'AllowThirdPartyFraming');
136 $forms['Sql_queries']['Sql_queries'] = array(
141 'IgnoreMultiSubmitErrors',
142 'VerboseMultiSubmit',
143 'MaxCharactersInDisplayedSQL',
145 //'QueryWindowWidth', // overridden in theme
146 //'QueryWindowHeight',
147 'QueryWindowDefTab');
148 $forms['Sql_queries']['Sql_box'] = array('SQLQuery' => array(
154 $forms['Sql_queries']['Sql_validator'] = array('SQLValidator' => array(
158 $forms['Left_frame']['Left_frame'] = array(
162 'LeftLogoLinkWindow',
163 'LeftPointerEnable');
164 $forms['Left_frame']['Left_servers'] = array(
165 'LeftDisplayServers',
166 'DisplayServersList');
167 $forms['Left_frame']['Left_databases'] = array(
168 'DisplayDatabasesList',
170 'LeftFrameDBSeparator',
171 'ShowTooltipAliasDB');
172 $forms['Left_frame']['Left_tables'] = array(
173 'LeftDisplayTableFilter',
174 'LeftDefaultTabTable',
175 'LeftFrameTableSeparator',
176 'LeftFrameTableLevel',
178 'ShowTooltipAliasTB');
179 $forms['Main_frame']['Startup'] = array(
181 'ShowCreateDb' => ':group',
188 $forms['Main_frame']['Browse'] = array(
189 'NavigationBarIconic',
193 'BrowsePointerEnable',
194 'BrowseMarkerEnable',
197 'ModifyDeleteAtLeft',
198 'ModifyDeleteAtRight',
200 $forms['Main_frame']['Edit'] = array(
202 'ShowFunctionFields',
203 'ShowFieldTypesInDataEditView',
209 'LongtextDoubleTextarea',
211 'ForeignKeyDropdownOrder',
212 'ForeignKeyMaxLimit',
213 'DefaultPropDisplay');
214 $forms['Main_frame']['Tabs'] = array(
218 'DefaultTabDatabase',
220 'QueryWindowDefTab');
221 $forms['Import']['Import_defaults'] = array('Import' => array(
226 $forms['Import']['Sql'] = array('Import' => array(
228 'sql_no_auto_value_on_zero'));
229 $forms['Import']['Csv'] = array('Import' => array(
230 ':group:' . __('CSV'),
238 ':group:' . __('CSV using LOAD DATA'),
246 $forms['Import']['Microsoft_Office'] = array('Import' => array(
247 ':group:' . __('Excel 97-2003 XLS Workbook'),
250 ':group:' . __('Excel 2007 XLSX Workbook'),
252 $forms['Import']['Open_Document'] = array('Import' => array(
253 ':group:' . __('Open Document Spreadsheet'),
256 'ods_recognize_percentages',
257 'ods_recognize_currency'));
258 $forms['Export']['Export_defaults'] = array('Export' => array(
260 ':group:' . __('Quick'),
261 'quick_export_onserver',
262 'quick_export_onserver_overwrite',
264 ':group:' . __('Custom'),
268 'asfile' => ':group',
270 'onserver_overwrite',
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',
282 'sql_use_transaction',
285 ':group:' . __('Database export options'),
287 'sql_structure_or_data',
289 ':group:' . __('Structure'),
291 'sql_procedure_function',
292 'sql_create_table_statements' => ':group',
294 'sql_auto_increment',
298 ':group:' . __('Data'),
303 'sql_max_query_size',
306 $forms['Export']['CodeGen'] = array('Export' => array(
308 $forms['Export']['Csv'] = array('Export' => array(
309 ':group:' . __('CSV'),
318 ':group:' . __('CSV for MS Excel'),
323 $forms['Export']['Latex'] = array('Export' => array(
325 'latex_structure_or_data',
326 ':group:' . __('Structure'),
327 'latex_structure_caption',
328 'latex_structure_continued_caption',
329 'latex_structure_label',
334 ':group:' . __('Data'),
336 'latex_data_caption',
337 'latex_data_continued_caption',
340 $forms['Export']['Microsoft_Office'] = array('Export' => array(
341 ':group:' . __('Excel 97-2003 XLS Workbook'),
345 ':group:' . __('Excel 2007 XLSX Workbook'),
349 ':group:' . __('Microsoft Word 2000'),
350 'htmlword_structure_or_data',
352 'htmlword_columns'));
353 $forms['Export']['Open_Document'] = array('Export' => array(
354 ':group:' . __('Open Document Spreadsheet'),
358 ':group:' . __('Open Document Text'),
359 'odt_structure_or_data',
360 ':group:' . __('Structure'),
365 ':group:' . __('Data'),
368 $forms['Export']['Texy'] = array('Export' => array(
369 'texytext_structure_or_data',
370 ':group:' . __('Data'),
372 'texytext_columns'));