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(
26 'InitialSlidersState',
29 'Servers/1/only_db', // saves to Server/only_db
30 'Servers/1/hide_db', // saves to Server/hide_db
34 $forms['Features']['Text_fields'] = array(
40 'LongtextDoubleTextarea');
41 $forms['Features']['Page_titles'] = array(
46 $forms['Features']['Warnings'] = array(
47 'PmaNoRelation_DisableWarning',
48 'SuhosinDisableWarning',
49 'McryptDisableWarning');
50 // settings from this form are treated specially, see prefs_forms.php and user_preferences.lib.php
51 $forms['Features']['Developer'] = array(
52 'Error_Handler/display',
53 'Error_Handler/gather',
55 $forms['Sql_queries']['Sql_queries'] = array(
59 'IgnoreMultiSubmitErrors',
61 'MaxCharactersInDisplayedSQL',
63 //'QueryWindowWidth', // overridden in theme
64 //'QueryWindowHeight',
66 $forms['Sql_queries']['Sql_box'] = array(
72 $forms['Left_frame']['Left_frame'] = array(
78 $forms['Left_frame']['Left_databases'] = array(
79 'DisplayDatabasesList',
81 'LeftFrameDBSeparator',
82 'ShowTooltipAliasDB');
83 $forms['Left_frame']['Left_tables'] = array(
84 'LeftDisplayTableFilter',
85 'LeftDefaultTabTable',
86 'LeftFrameTableSeparator',
87 'LeftFrameTableLevel',
89 'ShowTooltipAliasTB');
90 $forms['Main_frame']['Startup'] = array(
92 'ShowCreateDb' => ':group',
97 $forms['Main_frame']['Browse'] = array(
98 'NavigationBarIconic',
102 'DisplayBinaryAsHex',
103 'BrowsePointerEnable',
104 'BrowseMarkerEnable',
107 'ModifyDeleteAtLeft',
108 'ModifyDeleteAtRight',
110 $forms['Main_frame']['Edit'] = array(
112 'ShowFunctionFields',
113 'ShowFieldTypesInDataEditView',
115 'ForeignKeyDropdownOrder',
116 'ForeignKeyMaxLimit',
118 'DefaultPropDisplay');
119 $forms['Main_frame']['Tabs'] = array(
123 'DefaultTabDatabase',
125 $forms['Import']['Import_defaults'] = array(
128 'Import/allow_interrupt',
129 'Import/skip_queries');
130 $forms['Import']['Sql'] = array(
131 'Import/sql_compatibility',
132 'Import/sql_no_auto_value_on_zero');
133 $forms['Import']['Csv'] = array(
134 ':group:' . __('CSV'),
135 'Import/csv_replace',
137 'Import/csv_terminated',
138 'Import/csv_enclosed',
139 'Import/csv_escaped',
140 'Import/csv_col_names',
142 ':group:' . __('CSV using LOAD DATA'),
143 'Import/ldi_replace',
145 'Import/ldi_terminated',
146 'Import/ldi_enclosed',
147 'Import/ldi_escaped',
148 'Import/ldi_local_option');
149 $forms['Import']['Microsoft_Office'] = array(
150 ':group:' . __('Excel 97-2003 XLS Workbook'),
151 'Import/xls_col_names',
153 ':group:' . __('Excel 2007 XLSX Workbook'),
154 'Import/xlsx_col_names');
155 $forms['Import']['Open_Document'] = array(
156 ':group:' . __('Open Document Spreadsheet'),
157 'Import/ods_col_names',
158 'Import/ods_empty_rows',
159 'Import/ods_recognize_percentages',
160 'Import/ods_recognize_currency');
161 $forms['Export']['Export_defaults'] = array(
163 ':group:' . __('Quick'),
164 'Export/quick_export_onserver',
165 'Export/quick_export_onserver_overwrite',
167 ':group:' . __('Custom'),
169 'Export/compression',
171 'Export/asfile' => ':group',
173 'Export/onserver_overwrite',
175 'Export/file_template_table',
176 'Export/file_template_database',
177 'Export/file_template_server');
178 $forms['Export']['Sql'] = array(
179 'Export/sql_include_comments' => ':group',
181 'Export/sql_relation',
184 'Export/sql_use_transaction',
185 'Export/sql_disable_fk',
186 'Export/sql_compatibility',
187 ':group:' . __('Database export options'),
188 'Export/sql_drop_database',
189 'Export/sql_structure_or_data',
191 ':group:' . __('Structure'),
192 'Export/sql_drop_table',
193 'Export/sql_procedure_function',
194 'Export/sql_create_table_statements' => ':group',
195 'Export/sql_if_not_exists',
196 'Export/sql_auto_increment',
198 'Export/sql_backquotes',
200 ':group:' . __('Data'),
201 'Export/sql_delayed',
204 'Export/sql_insert_syntax',
205 'Export/sql_max_query_size',
206 'Export/sql_hex_for_blob',
207 'Export/sql_utc_time');
208 $forms['Export']['CodeGen'] = array(
209 'Export/codegen_format');
210 $forms['Export']['Csv'] = array(
211 ':group:' . __('CSV'),
212 'Export/csv_separator',
213 'Export/csv_enclosed',
214 'Export/csv_escaped',
215 'Export/csv_terminated',
217 'Export/csv_removeCRLF',
218 'Export/csv_columns',
220 ':group:' . __('CSV for MS Excel'),
222 'Export/excel_removeCRLF',
223 'Export/excel_columns',
224 'Export/excel_edition');
225 $forms['Export']['Latex'] = array(
226 'Export/latex_caption',
227 'Export/latex_structure_or_data',
228 ':group:' . __('Structure'),
229 'Export/latex_structure_caption',
230 'Export/latex_structure_continued_caption',
231 'Export/latex_structure_label',
232 'Export/latex_relation',
233 'Export/latex_comments',
236 ':group:' . __('Data'),
237 'Export/latex_columns',
238 'Export/latex_data_caption',
239 'Export/latex_data_continued_caption',
240 'Export/latex_data_label',
241 'Export/latex_null');
242 $forms['Export']['Microsoft_Office'] = array(
243 ':group:' . __('Excel 97-2003 XLS Workbook'),
245 'Export/xls_columns',
247 ':group:' . __('Excel 2007 XLSX Workbook'),
249 'Export/xlsx_columns',
251 ':group:' . __('Microsoft Word 2000'),
252 'Export/htmlword_structure_or_data',
253 'Export/htmlword_null',
254 'Export/htmlword_columns');
255 $forms['Export']['Open_Document'] = array(
256 ':group:' . __('Open Document Spreadsheet'),
257 'Export/ods_columns',
260 ':group:' . __('Open Document Text'),
261 'Export/odt_structure_or_data',
262 ':group:' . __('Structure'),
263 'Export/odt_relation',
264 'Export/odt_comments',
267 ':group:' . __('Data'),
268 'Export/odt_columns',
270 $forms['Export']['Texy'] = array(
271 'Export/texytext_structure_or_data',
272 ':group:' . __('Data'),
273 'Export/texytext_null',
274 'Export/texytext_columns');