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 * To define form field, use the notatnion below:
8 * $forms['Form group']['Form name'] = array('Option/path');
10 * You can assign default values set by special button ("set value: ..."), eg.:
11 * 'Servers/1/pmadb' => 'phpmyadmin'
13 * To group options, use:
14 * ':group:' . __('group name') // just define a group
16 * 'option' => ':group' // group starting from this option
17 * End group blocks with:
24 $forms['Features']['General'] = array(
28 'InitialSlidersState',
30 'LoginCookieValidity',
32 'Servers/1/only_db', // saves to Server/only_db
33 'Servers/1/hide_db', // saves to Server/hide_db
37 $forms['Features']['Text_fields'] = array(
43 'LongtextDoubleTextarea');
44 $forms['Features']['Page_titles'] = array(
49 $forms['Features']['Warnings'] = array(
50 'PmaNoRelation_DisableWarning',
51 'SuhosinDisableWarning',
52 'McryptDisableWarning');
53 // settings from this form are treated specially, see prefs_forms.php and user_preferences.lib.php
54 $forms['Features']['Developer'] = array(
55 'Error_Handler/display',
56 'Error_Handler/gather',
58 $forms['Sql_queries']['Sql_queries'] = array(
62 'IgnoreMultiSubmitErrors',
64 'MaxCharactersInDisplayedSQL',
66 //'QueryWindowWidth', // overridden in theme
67 //'QueryWindowHeight',
69 $forms['Sql_queries']['Sql_box'] = array(
75 $forms['Left_frame']['Left_frame'] = array(
81 $forms['Left_frame']['Left_databases'] = array(
82 'DisplayDatabasesList',
84 'LeftFrameDBSeparator',
85 'ShowTooltipAliasDB');
86 $forms['Left_frame']['Left_tables'] = array(
87 'LeftDisplayTableFilterMinimum',
88 'LeftDefaultTabTable',
89 'LeftFrameTableSeparator',
90 'LeftFrameTableLevel',
92 'ShowTooltipAliasTB');
93 $forms['Main_frame']['Startup'] = array(
95 'ShowCreateDb' => ':group',
100 $forms['Main_frame']['Browse'] = array(
101 'NavigationBarIconic',
106 'DisplayBinaryAsHex',
107 'BrowsePointerEnable',
108 'BrowseMarkerEnable',
111 'ModifyDeleteAtLeft',
112 'ModifyDeleteAtRight',
114 $forms['Main_frame']['Edit'] = array(
116 'ShowFunctionFields',
117 'ShowFieldTypesInDataEditView',
119 'ForeignKeyDropdownOrder',
120 'ForeignKeyMaxLimit',
121 'DefaultPropDisplay');
122 $forms['Main_frame']['Tabs'] = array(
125 'DefaultTabDatabase',
127 $forms['Import']['Import_defaults'] = array(
130 'Import/allow_interrupt',
131 'Import/skip_queries');
132 $forms['Import']['Sql'] = array(
133 'Import/sql_compatibility',
134 'Import/sql_no_auto_value_on_zero');
135 $forms['Import']['Csv'] = array(
136 ':group:' . __('CSV'),
137 'Import/csv_replace',
139 'Import/csv_terminated',
140 'Import/csv_enclosed',
141 'Import/csv_escaped',
142 'Import/csv_col_names',
144 ':group:' . __('CSV using LOAD DATA'),
145 'Import/ldi_replace',
147 'Import/ldi_terminated',
148 'Import/ldi_enclosed',
149 'Import/ldi_escaped',
150 'Import/ldi_local_option');
151 $forms['Import']['Microsoft_Office'] = array(
152 ':group:' . __('Excel 97-2003 XLS Workbook'),
153 'Import/xls_col_names',
155 ':group:' . __('Excel 2007 XLSX Workbook'),
156 'Import/xlsx_col_names');
157 $forms['Import']['Open_Document'] = array(
158 ':group:' . __('Open Document Spreadsheet'),
159 'Import/ods_col_names',
160 'Import/ods_empty_rows',
161 'Import/ods_recognize_percentages',
162 'Import/ods_recognize_currency');
163 $forms['Export']['Export_defaults'] = array(
165 ':group:' . __('Quick'),
166 'Export/quick_export_onserver',
167 'Export/quick_export_onserver_overwrite',
169 ':group:' . __('Custom'),
171 'Export/compression',
173 'Export/asfile' => ':group',
175 'Export/onserver_overwrite',
177 'Export/file_template_table',
178 'Export/file_template_database',
179 'Export/file_template_server');
180 $forms['Export']['Sql'] = array(
181 'Export/sql_include_comments' => ':group',
183 'Export/sql_relation',
186 'Export/sql_use_transaction',
187 'Export/sql_disable_fk',
188 'Export/sql_compatibility',
189 ':group:' . __('Database export options'),
190 'Export/sql_drop_database',
191 'Export/sql_structure_or_data',
193 ':group:' . __('Structure'),
194 'Export/sql_drop_table',
195 'Export/sql_procedure_function',
196 'Export/sql_create_table_statements' => ':group',
197 'Export/sql_if_not_exists',
198 'Export/sql_auto_increment',
200 'Export/sql_backquotes',
202 ':group:' . __('Data'),
203 'Export/sql_delayed',
206 'Export/sql_insert_syntax',
207 'Export/sql_max_query_size',
208 'Export/sql_hex_for_blob',
209 'Export/sql_utc_time');
210 $forms['Export']['CodeGen'] = array(
211 'Export/codegen_format');
212 $forms['Export']['Csv'] = array(
213 ':group:' . __('CSV'),
214 'Export/csv_separator',
215 'Export/csv_enclosed',
216 'Export/csv_escaped',
217 'Export/csv_terminated',
219 'Export/csv_removeCRLF',
220 'Export/csv_columns',
222 ':group:' . __('CSV for MS Excel'),
224 'Export/excel_removeCRLF',
225 'Export/excel_columns',
226 'Export/excel_edition');
227 $forms['Export']['Latex'] = array(
228 'Export/latex_caption',
229 'Export/latex_structure_or_data',
230 ':group:' . __('Structure'),
231 'Export/latex_structure_caption',
232 'Export/latex_structure_continued_caption',
233 'Export/latex_structure_label',
234 'Export/latex_relation',
235 'Export/latex_comments',
238 ':group:' . __('Data'),
239 'Export/latex_columns',
240 'Export/latex_data_caption',
241 'Export/latex_data_continued_caption',
242 'Export/latex_data_label',
243 'Export/latex_null');
244 $forms['Export']['Microsoft_Office'] = array(
245 ':group:' . __('Excel 97-2003 XLS Workbook'),
247 'Export/xls_columns',
249 ':group:' . __('Excel 2007 XLSX Workbook'),
251 'Export/xlsx_columns',
253 ':group:' . __('Microsoft Word 2000'),
254 'Export/htmlword_structure_or_data',
255 'Export/htmlword_null',
256 'Export/htmlword_columns');
257 $forms['Export']['Open_Document'] = array(
258 ':group:' . __('Open Document Spreadsheet'),
259 'Export/ods_columns',
262 ':group:' . __('Open Document Text'),
263 'Export/odt_structure_or_data',
264 ':group:' . __('Structure'),
265 'Export/odt_relation',
266 'Export/odt_comments',
269 ':group:' . __('Data'),
270 'Export/odt_columns',
272 $forms['Export']['Texy'] = array(
273 'Export/texytext_structure_or_data',
274 ':group:' . __('Data'),
275 'Export/texytext_null',
276 'Export/texytext_columns');