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(
38 $forms['Servers']['Server_auth'] = array('Servers' => array(1 => array(
40 ':group:' . __('Config authentication'),
44 ':group:' . __('Cookie authentication'),
45 'auth_swekey_config' => './swekey.conf',
47 ':group:' . __('HTTP authentication'),
50 ':group:' . __('Signon authentication'),
54 $forms['Servers']['Server_config'] = array('Servers' => array(1 => array(
61 $forms['Servers']['Server_pmadb'] = array('Servers' => array(1 => array(
62 'pmadb' => 'phpmyadmin',
67 'bookmarktable' => 'pma__bookmark',
68 'relation' => 'pma__relation',
69 'userconfig' => 'pma__userconfig',
70 'users' => 'pma__users',
71 'usergroups' => 'pma__usergroups',
72 'navigationhiding' => 'pma__navigationhiding',
73 'table_info' => 'pma__table_info',
74 'column_info' => 'pma__column_info',
75 'history' => 'pma__history',
76 'recent' => 'pma__recent',
77 'table_uiprefs' => 'pma__table_uiprefs',
78 'tracking' => 'pma__tracking',
79 'table_coords' => 'pma__table_coords',
80 'pdf_pages' => 'pma__pdf_pages',
81 'designer_coords' => 'pma__designer_coords',
82 'savedsearches' => 'pma__savedsearches',
83 'MaxTableUiprefs' => 100)));
84 $forms['Servers']['Server_tracking'] = array('Servers' => array(1 => array(
85 'tracking_version_auto_create',
86 'tracking_default_statements',
87 'tracking_add_drop_view',
88 'tracking_add_drop_table',
89 'tracking_add_drop_database',
91 $forms['Features']['Import_export'] = array(
94 'RecodingEngine' => ':group',
101 $forms['Features']['Security'] = array(
104 'CheckConfigurationPermissions',
106 'AllowUserDropDatabase',
107 'AllowArbitraryServer',
109 'LoginCookieValidity',
111 'LoginCookieDeleteAll',
112 'CaptchaLoginPublicKey',
113 'CaptchaLoginPrivateKey');
114 $forms['Features']['Page_titles'] = array(
119 $forms['Features']['Warnings'] = array(
120 'ServerLibraryDifference_DisableWarning',
121 'PmaNoRelation_DisableWarning',
122 'SuhosinDisableWarning');
123 $forms['Features']['Developer'] = array(
124 'UserprefsDeveloperTab',
125 'Error_Handler/display',
127 $forms['Features']['Other_core_settings'] = array(
129 'InitialSlidersState',
136 'PersistentConnections',
140 'DisableMultiTableMaintenance',
147 'AllowThirdPartyFraming',
149 $forms['Sql_queries']['Sql_queries'] = array(
154 'IgnoreMultiSubmitErrors',
155 'MaxCharactersInDisplayedSQL',
157 //'QueryWindowWidth', // overridden in theme
158 //'QueryWindowHeight',
162 $forms['Sql_queries']['Sql_box'] = array('SQLQuery' => array(
167 $forms['Navi_panel']['Navi_panel'] = array(
168 'NavigationDisplayLogo',
169 'NavigationLogoLink',
170 'NavigationLogoLinkWindow',
171 'NavigationTreePointerEnable',
172 'FirstLevelNavigationItems',
173 'MaxNavigationItems',
174 'NavigationTreeEnableGrouping',
175 'NavigationTreeDisableDatabaseExpansion',
176 'NavigationTreeDisplayItemFilterMinimum');
177 $forms['Navi_panel']['Navi_servers'] = array(
178 'NavigationDisplayServers',
179 'DisplayServersList');
180 $forms['Navi_panel']['Navi_databases'] = array(
181 'NavigationTreeDbSeparator');
182 $forms['Navi_panel']['Navi_tables'] = array(
183 'NavigationTreeDefaultTabTable',
184 'NavigationTreeTableSeparator',
185 'NavigationTreeTableLevel',
187 $forms['Main_panel']['Startup'] = array(
193 $forms['Main_panel']['DbStructure'] = array(
194 'ShowDbStructureCreation',
195 'ShowDbStructureLastUpdate',
196 'ShowDbStructureLastCheck');
197 $forms['Main_panel']['TableStructure'] = array(
198 'HideStructureActions');
199 $forms['Main_panel']['Browse'] = array(
200 'TableNavigationLinksMode',
204 'BrowsePointerEnable',
205 'BrowseMarkerEnable',
208 'ShowDisplayDirection',
214 $forms['Main_panel']['Edit'] = array(
216 'ShowFunctionFields',
217 'ShowFieldTypesInDataEditView',
219 'MinSizeForInputField',
220 'MaxSizeForInputField',
225 'LongtextDoubleTextarea',
227 'ForeignKeyDropdownOrder',
228 'ForeignKeyMaxLimit');
229 $forms['Main_panel']['Tabs'] = array(
233 'DefaultTabDatabase',
235 'QueryWindowDefTab');
236 $forms['Import']['Import_defaults'] = array('Import' => array(
241 $forms['Import']['Sql'] = array('Import' => array(
243 'sql_no_auto_value_on_zero'));
244 $forms['Import']['Csv'] = array('Import' => array(
245 ':group:' . __('CSV'),
253 ':group:' . __('CSV using LOAD DATA'),
261 $forms['Import']['Open_Document'] = array('Import' => array(
262 ':group:' . __('OpenDocument Spreadsheet'),
265 'ods_recognize_percentages',
266 'ods_recognize_currency'));
267 $forms['Export']['Export_defaults'] = array('Export' => array(
269 ':group:' . __('Quick'),
270 'quick_export_onserver',
271 'quick_export_onserver_overwrite',
273 ':group:' . __('Custom'),
277 'asfile' => ':group',
279 'onserver_overwrite',
281 'remember_file_template',
282 'file_template_table',
283 'file_template_database',
284 'file_template_server'));
285 $forms['Export']['Sql'] = array('Export' => array(
286 'sql_include_comments' => ':group',
291 'sql_use_transaction',
293 'sql_views_as_tables',
295 ':group:' . __('Database export options'),
297 'sql_structure_or_data',
299 ':group:' . __('Structure'),
301 'sql_procedure_function',
304 'sql_create_trigger',
305 'sql_create_table_statements' => ':group',
307 'sql_auto_increment',
311 ':group:' . __('Data'),
316 'sql_max_query_size',
317 'sql_hex_for_binary',
319 $forms['Export']['CodeGen'] = array('Export' => array(
321 $forms['Export']['Csv'] = array('Export' => array(
322 ':group:' . __('CSV'),
331 ':group:' . __('CSV for MS Excel'),
336 $forms['Export']['Latex'] = array('Export' => array(
338 'latex_structure_or_data',
339 ':group:' . __('Structure'),
340 'latex_structure_caption',
341 'latex_structure_continued_caption',
342 'latex_structure_label',
347 ':group:' . __('Data'),
349 'latex_data_caption',
350 'latex_data_continued_caption',
353 $forms['Export']['Microsoft_Office'] = array('Export' => array(
354 ':group:' . __('Microsoft Word 2000'),
355 'htmlword_structure_or_data',
357 'htmlword_columns'));
358 $forms['Export']['Open_Document'] = array('Export' => array(
359 ':group:' . __('OpenDocument Spreadsheet'),
363 ':group:' . __('OpenDocument Text'),
364 'odt_structure_or_data',
365 ':group:' . __('Structure'),
370 ':group:' . __('Data'),
373 $forms['Export']['Texy'] = array('Export' => array(
374 'texytext_structure_or_data',
375 ':group:' . __('Data'),
377 'texytext_columns'));