Ignore NULL charset
[phpmyadmin-regexreplace.git] / libraries / config / user_preferences.forms.php
blobd23eddafef61b3810e67adfdae3bd5d58d868e90
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
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
15 * or
16 * 'option' => ':group' // group starting from this option
17 * End group blocks with:
18 * ':group:end'
20 * @package phpMyAdmin
23 $forms = array();
24 $forms['Features']['General'] = array(
25 'AjaxEnable',
26 'VersionCheck',
27 'NaturalOrder',
28 'InitialSlidersState',
29 'ErrorIconic',
30 'LoginCookieValidity',
31 'ReplaceHelpImg',
32 'Servers/1/only_db', // saves to Server/only_db
33 'Servers/1/hide_db', // saves to Server/hide_db
34 'SkipLockedTables',
35 'MaxDbList',
36 'MaxTableList');
37 $forms['Features']['Text_fields'] = array(
38 'CharEditing',
39 'CharTextareaCols',
40 'CharTextareaRows',
41 'TextareaCols',
42 'TextareaRows',
43 'LongtextDoubleTextarea');
44 $forms['Features']['Page_titles'] = array(
45 'TitleDefault',
46 'TitleTable',
47 'TitleDatabase',
48 'TitleServer');
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',
57 'DBG/sql');
58 $forms['Sql_queries']['Sql_queries'] = array(
59 'ShowSQL',
60 'Confirm',
61 'QueryHistoryMax',
62 'IgnoreMultiSubmitErrors',
63 'VerboseMultiSubmit',
64 'MaxCharactersInDisplayedSQL',
65 'EditInWindow',
66 //'QueryWindowWidth', // overridden in theme
67 //'QueryWindowHeight',
68 'QueryWindowDefTab');
69 $forms['Sql_queries']['Sql_box'] = array(
70 'SQLQuery/Edit',
71 'SQLQuery/Explain',
72 'SQLQuery/ShowAsPHP',
73 'SQLQuery/Validate',
74 'SQLQuery/Refresh');
75 $forms['Left_frame']['Left_frame'] = array(
76 'LeftFrameLight',
77 'LeftDisplayLogo',
78 'LeftLogoLink',
79 'LeftLogoLinkWindow',
80 'LeftPointerEnable');
81 $forms['Left_frame']['Left_databases'] = array(
82 'DisplayDatabasesList',
83 'LeftFrameDBTree',
84 'LeftFrameDBSeparator',
85 'ShowTooltipAliasDB');
86 $forms['Left_frame']['Left_tables'] = array(
87 'LeftDisplayTableFilterMinimum',
88 'LeftDefaultTabTable',
89 'LeftFrameTableSeparator',
90 'LeftFrameTableLevel',
91 'ShowTooltip',
92 'ShowTooltipAliasTB');
93 $forms['Main_frame']['Startup'] = array(
94 'MainPageIconic',
95 'ShowCreateDb' => ':group',
96 'SuggestDBName',
97 ':group:end',
98 'ShowStats',
99 'ShowServerInfo');
100 $forms['Main_frame']['Browse'] = array(
101 'NavigationBarIconic',
102 'PropertiesIconic',
103 'ShowAll',
104 'MaxRows',
105 'Order',
106 'DisplayBinaryAsHex',
107 'BrowsePointerEnable',
108 'BrowseMarkerEnable',
109 'RepeatCells',
110 'LimitChars',
111 'ModifyDeleteAtLeft',
112 'ModifyDeleteAtRight',
113 'DefaultDisplay');
114 $forms['Main_frame']['Edit'] = array(
115 'ProtectBinary',
116 'ShowFunctionFields',
117 'ShowFieldTypesInDataEditView',
118 'InsertRows',
119 'ForeignKeyDropdownOrder',
120 'ForeignKeyMaxLimit',
121 'DefaultPropDisplay');
122 $forms['Main_frame']['Tabs'] = array(
123 'LightTabs',
124 'DefaultTabServer',
125 'DefaultTabDatabase',
126 'DefaultTabTable');
127 $forms['Import']['Import_defaults'] = array(
128 'Import/format',
129 'Import/charset',
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',
138 'Import/csv_ignore',
139 'Import/csv_terminated',
140 'Import/csv_enclosed',
141 'Import/csv_escaped',
142 'Import/csv_col_names',
143 ':group:end',
144 ':group:' . __('CSV using LOAD DATA'),
145 'Import/ldi_replace',
146 'Import/ldi_ignore',
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',
154 ':group:end',
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(
164 'Export/method',
165 ':group:' . __('Quick'),
166 'Export/quick_export_onserver',
167 'Export/quick_export_onserver_overwrite',
168 ':group:end',
169 ':group:' . __('Custom'),
170 'Export/format',
171 'Export/compression',
172 'Export/charset',
173 'Export/asfile' => ':group',
174 'Export/onserver',
175 'Export/onserver_overwrite',
176 ':group:end',
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',
182 'Export/sql_dates',
183 'Export/sql_relation',
184 'Export/sql_mime',
185 ':group:end',
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',
192 ':group:end',
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',
199 ':group:end',
200 'Export/sql_backquotes',
201 ':group:end',
202 ':group:' . __('Data'),
203 'Export/sql_delayed',
204 'Export/sql_ignore',
205 'Export/sql_type',
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',
218 'Export/csv_null',
219 'Export/csv_removeCRLF',
220 'Export/csv_columns',
221 ':group:end',
222 ':group:' . __('CSV for MS Excel'),
223 'Export/excel_null',
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',
236 'Export/latex_mime',
237 ':group:end',
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'),
246 'Export/xls_null',
247 'Export/xls_columns',
248 ':group:end',
249 ':group:' . __('Excel 2007 XLSX Workbook'),
250 'Export/xlsx_null',
251 'Export/xlsx_columns',
252 ':group:end',
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',
260 'Export/ods_null',
261 ':group:end',
262 ':group:' . __('Open Document Text'),
263 'Export/odt_structure_or_data',
264 ':group:' . __('Structure'),
265 'Export/odt_relation',
266 'Export/odt_comments',
267 'Export/odt_mime',
268 ':group:end',
269 ':group:' . __('Data'),
270 'Export/odt_columns',
271 'Export/odt_null');
272 $forms['Export']['Texy'] = array(
273 'Export/texytext_structure_or_data',
274 ':group:' . __('Data'),
275 'Export/texytext_null',
276 'Export/texytext_columns');