Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / config / user_preferences.forms.php
blob7ae41fb5efbc54019475dbb5250c3ade1e1d9970
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 'NaturalOrder',
26 'InitialSlidersState',
27 'ErrorIconic',
28 'ReplaceHelpImg',
29 'Servers/1/only_db', // saves to Server/only_db
30 'Servers/1/hide_db', // saves to Server/hide_db
31 'SkipLockedTables',
32 'MaxDbList',
33 'MaxTableList');
34 $forms['Features']['Text_fields'] = array(
35 'CharEditing',
36 'CharTextareaCols',
37 'CharTextareaRows',
38 'TextareaCols',
39 'TextareaRows',
40 'LongtextDoubleTextarea');
41 $forms['Features']['Page_titles'] = array(
42 'TitleDefault',
43 'TitleTable',
44 'TitleDatabase',
45 'TitleServer');
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',
54 'DBG/sql');
55 $forms['Sql_queries']['Sql_queries'] = array(
56 'ShowSQL',
57 'Confirm',
58 'QueryHistoryMax',
59 'IgnoreMultiSubmitErrors',
60 'VerboseMultiSubmit',
61 'MaxCharactersInDisplayedSQL',
62 'EditInWindow',
63 //'QueryWindowWidth', // overridden in theme
64 //'QueryWindowHeight',
65 'QueryWindowDefTab');
66 $forms['Sql_queries']['Sql_box'] = array(
67 'SQLQuery/Edit',
68 'SQLQuery/Explain',
69 'SQLQuery/ShowAsPHP',
70 'SQLQuery/Validate',
71 'SQLQuery/Refresh');
72 $forms['Left_frame']['Left_frame'] = array(
73 'LeftFrameLight',
74 'LeftDisplayLogo',
75 'LeftLogoLink',
76 'LeftLogoLinkWindow',
77 'LeftPointerEnable');
78 $forms['Left_frame']['Left_databases'] = array(
79 'DisplayDatabasesList',
80 'LeftFrameDBTree',
81 'LeftFrameDBSeparator',
82 'ShowTooltipAliasDB');
83 $forms['Left_frame']['Left_tables'] = array(
84 'LeftDisplayTableFilter',
85 'LeftDefaultTabTable',
86 'LeftFrameTableSeparator',
87 'LeftFrameTableLevel',
88 'ShowTooltip',
89 'ShowTooltipAliasTB');
90 $forms['Main_frame']['Startup'] = array(
91 'MainPageIconic',
92 'ShowCreateDb' => ':group',
93 'SuggestDBName',
94 ':group:end',
95 'ShowStats',
96 'ShowServerInfo');
97 $forms['Main_frame']['Browse'] = array(
98 'NavigationBarIconic',
99 'ShowAll',
100 'MaxRows',
101 'Order',
102 'DisplayBinaryAsHex',
103 'BrowsePointerEnable',
104 'BrowseMarkerEnable',
105 'RepeatCells',
106 'LimitChars',
107 'ModifyDeleteAtLeft',
108 'ModifyDeleteAtRight',
109 'DefaultDisplay');
110 $forms['Main_frame']['Edit'] = array(
111 'ProtectBinary',
112 'ShowFunctionFields',
113 'ShowFieldTypesInDataEditView',
114 'InsertRows',
115 'ForeignKeyDropdownOrder',
116 'ForeignKeyMaxLimit',
117 'CtrlArrowsMoving',
118 'DefaultPropDisplay');
119 $forms['Main_frame']['Tabs'] = array(
120 'LightTabs',
121 'PropertiesIconic',
122 'DefaultTabServer',
123 'DefaultTabDatabase',
124 'DefaultTabTable');
125 $forms['Import']['Import_defaults'] = array(
126 'Import/format',
127 'Import/charset',
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',
136 'Import/csv_ignore',
137 'Import/csv_terminated',
138 'Import/csv_enclosed',
139 'Import/csv_escaped',
140 'Import/csv_col_names',
141 ':group:end',
142 ':group:' . __('CSV using LOAD DATA'),
143 'Import/ldi_replace',
144 'Import/ldi_ignore',
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',
152 ':group:end',
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(
162 'Export/method',
163 ':group:' . __('Quick'),
164 'Export/quick_export_onserver',
165 'Export/quick_export_onserver_overwrite',
166 ':group:end',
167 ':group:' . __('Custom'),
168 'Export/format',
169 'Export/compression',
170 'Export/charset',
171 'Export/asfile' => ':group',
172 'Export/onserver',
173 'Export/onserver_overwrite',
174 ':group:end',
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',
180 'Export/sql_dates',
181 'Export/sql_relation',
182 'Export/sql_mime',
183 ':group:end',
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',
190 ':group:end',
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',
197 ':group:end',
198 'Export/sql_backquotes',
199 ':group:end',
200 ':group:' . __('Data'),
201 'Export/sql_delayed',
202 'Export/sql_ignore',
203 'Export/sql_type',
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',
216 'Export/csv_null',
217 'Export/csv_removeCRLF',
218 'Export/csv_columns',
219 ':group:end',
220 ':group:' . __('CSV for MS Excel'),
221 'Export/excel_null',
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',
234 'Export/latex_mime',
235 ':group:end',
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'),
244 'Export/xls_null',
245 'Export/xls_columns',
246 ':group:end',
247 ':group:' . __('Excel 2007 XLSX Workbook'),
248 'Export/xlsx_null',
249 'Export/xlsx_columns',
250 ':group:end',
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',
258 'Export/ods_null',
259 ':group:end',
260 ':group:' . __('Open Document Text'),
261 'Export/odt_structure_or_data',
262 ':group:' . __('Structure'),
263 'Export/odt_relation',
264 'Export/odt_comments',
265 'Export/odt_mime',
266 ':group:end',
267 ':group:' . __('Data'),
268 'Export/odt_columns',
269 'Export/odt_null');
270 $forms['Export']['Texy'] = array(
271 'Export/texytext_structure_or_data',
272 ':group:' . __('Data'),
273 'Export/texytext_null',
274 'Export/texytext_columns');