Resolves #45809: Refactor code and introduce namespacing
[TYPO3CMS/Extensions/static_info_tables.git] / tca.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 $GLOBALS['TCA']['static_territories'] = array(
7 'ctrl' => $GLOBALS['TCA']['static_territories']['ctrl'],
8 'interface' => array(
9 'showRecordFieldList' => 'tr_iso_nr,tr_parent_iso_nr,tr_name_en'
10 ),
11 'columns' => array(
12 'tr_iso_nr' => array(
13 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_territories_item.tr_iso_nr',
14 'exclude' => '0',
15 'config' => array(
16 'type' => 'input',
17 'size' => '7',
18 'max' => '7',
19 'eval' => 'int',
20 'default' => '0'
21 )
22 ),
23 'tr_parent_territory_uid' => array(
24 'exclude' => 0,
25 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_territories_item.tr_parent_territory_uid',
26 'config' => array(
27 'type' => 'select',
28 'items' => array(
29 array('', 0),
30 ),
31 'foreign_table' => 'static_territories',
32 'foreign_table_where' => 'ORDER BY static_territories.tr_name_en',
33 'itemsProcFunc' => 'SJBR\StaticInfoTables\Hook\Backend\Form\ElementRenderingHelper->translateTerritoriesSelector',
34 'size' => 1,
35 'minitems' => 0,
36 'maxitems' => 1,
37 )
38 ),
39 'tr_parent_iso_nr' => array(
40 'config' => array(
41 'type' => 'passthrough',
42 )
43 ),
44 'tr_name_en' => array(
45 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.name',
46 'exclude' => '0',
47 'config' => array(
48 'type' => 'input',
49 'size' => '18',
50 'max' => '45',
51 'eval' => 'trim',
52 'default' => '',
53 '_is_string' => '1'
54 )
55 ),
56 'fk_billing_country' => array (
57 'exclude' => 1,
58 'label' => 'Voici',
59 'config' => array (
60 'type' => 'group',
61 'internal_type' => 'db',
62 'allowed' => 'static_countries',
63 'size' => 1,
64 'minitems' => 1,
65 'maxitems' => 1,
66 'wizards' => array(
67 'suggest' => array(
68 'type' => 'suggest',
69 ),
70 ),
71 )
72 ),
73 ),
74 'types' => array(
75 '1' => array(
76 'showitem' => 'tr_iso_nr,tr_name_en,fk_billing_country,--palette--;;1;;'
77 )
78 ),
79 'palettes' => array(
80 '1' => array(
81 'showitem' => 'tr_parent_territory_uid,tr_parent_iso_nr', 'canNotCollapse' => '1'
82 )
83 )
84 );
85
86 $GLOBALS['TCA']['static_countries'] = array(
87 'ctrl' => $GLOBALS['TCA']['static_countries']['ctrl'],
88 'interface' => array(
89 'showRecordFieldList' => 'cn_iso_2,cn_iso_3,cn_iso_nr,cn_official_name_local,cn_official_name_en,cn_capital,cn_tldomain,cn_currency_iso_3,cn_currency_iso_nr,cn_phone,cn_uno_member,cn_eu_member,cn_address_format,cn_short_en'
90 ),
91 'columns' => array(
92 'cn_iso_2' => array(
93 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_2',
94 'exclude' => '0',
95 'config' => array(
96 'type' => 'input',
97 'size' => '4',
98 'max' => '2',
99 'eval' => '',
100 'default' => ''
101 )
102 ),
103 'cn_iso_3' => array(
104 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_3',
105 'exclude' => '0',
106 'config' => array(
107 'type' => 'input',
108 'size' => '5',
109 'max' => '3',
110 'eval' => '',
111 'default' => ''
112 )
113 ),
114 'cn_iso_nr' => array(
115 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_nr',
116 'exclude' => '0',
117 'config' => array(
118 'type' => 'input',
119 'size' => '7',
120 'max' => '7',
121 'eval' => 'int',
122 'default' => '0'
123 )
124 ),
125 'cn_parent_territory_uid' => array(
126 'exclude' => 0,
127 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_parent_territory_uid',
128 'config' => array(
129 'type' => 'select',
130 'items' => array(
131 array('', 0),
132 ),
133 'foreign_table' => 'static_territories',
134 'foreign_table_where' => 'ORDER BY static_territories.tr_name_en',
135 'itemsProcFunc' => 'SJBR\StaticInfoTables\Hook\Backend\Form\ElementRenderingHelper->translateTerritoriesSelector',
136 'size' => 1,
137 'minitems' => 0,
138 'maxitems' => 1,
139 )
140 ),
141 'cn_parent_tr_iso_nr' => array(
142 'config' => array(
143 'type' => 'passthrough',
144 )
145 ),
146 'cn_official_name_local' => array(
147 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_official_name_local',
148 'exclude' => '0',
149 'config' => array(
150 'type' => 'input',
151 'size' => '25',
152 'max' => '128',
153 'eval' => 'trim',
154 'default' => '',
155 '_is_string' => '1'
156 )
157 ),
158 'cn_official_name_en' => array(
159 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_official_name_en',
160 'exclude' => '0',
161 'config' => array(
162 'type' => 'input',
163 'size' => '25',
164 'max' => '50',
165 'eval' => 'trim',
166 'default' => '',
167 '_is_string' => '1'
168 )
169 ),
170 'cn_capital' => array(
171 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_capital',
172 'exclude' => '0',
173 'config' => array(
174 'type' => 'input',
175 'size' => '15',
176 'max' => '45',
177 'eval' => 'trim',
178 'default' => '',
179 '_is_string' => '1'
180 )
181 ),
182 'cn_tldomain' => array(
183 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_tldomain',
184 'exclude' => '0',
185 'config' => array(
186 'type' => 'input',
187 'size' => '5',
188 'max' => '',
189 'eval' => '',
190 'default' => ''
191 )
192 ),
193 'cn_currency_uid' => array(
194 'exclude' => 0,
195 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_currency_uid',
196 'config' => array(
197 'type' => 'select',
198 'items' => array(
199 array('', 0),
200 ),
201 'foreign_table' => 'static_currencies',
202 'foreign_table_where' => 'ORDER BY static_currencies.cu_name_en',
203 'itemsProcFunc' => 'SJBR\StaticInfoTables\Hook\Backend\Form\ElementRenderingHelper->translateCurrenciesSelector',
204 'size' => 1,
205 'minitems' => 0,
206 'maxitems' => 1,
207 )
208 ),
209 'cn_currency_iso_nr' => array(
210 'config' => array(
211 'type' => 'passthrough',
212 )
213 ),
214 'cn_currency_iso_3' => array(
215 'config' => array(
216 'type' => 'passthrough',
217 )
218 ),
219 'cn_phone' => array(
220 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_phone',
221 'exclude' => '0',
222 'config' => array(
223 'type' => 'input',
224 'size' => '10',
225 'max' => '20',
226 'eval' => '',
227 'default' => '0'
228 )
229 ),
230 'cn_eu_member' => array(
231 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_eu_member',
232 'exclude' => '0',
233 'config' => array(
234 'type' => 'check',
235 'default' => '0'
236 )
237 ),
238 'cn_uno_member' => array(
239 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_uno_member',
240 'exclude' => '0',
241 'config' => array(
242 'type' => 'check',
243 'default' => '0'
244 )
245 ),
246 'cn_address_format' => array(
247 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format',
248 'exclude' => '0',
249 'config' => array(
250 'type' => 'select',
251 'items' => array(
252 array('','0'),
253 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_1','1'),
254 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_2','2'),
255 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_3','3'),
256 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_4','4'),
257 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_5','5'),
258 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_6','6'),
259 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_7','7'),
260 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_8','8'),
261 array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_9','9'),
262 ),
263 'default' => '0'
264 )
265 ),
266 'cn_zone_flag' => array(
267 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_zone_flag',
268 'exclude' => '0',
269 'config' => array(
270 'type' => 'check',
271 'default' => '0'
272 )
273 ),
274 'cn_short_local' => array(
275 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_short_local',
276 'exclude' => '0',
277 'config' => array(
278 'type' => 'input',
279 'size' => '25',
280 'max' => '50',
281 'eval' => 'trim',
282 'default' => '',
283 '_is_string' => '1'
284 )
285 ),
286 'cn_short_en' => array(
287 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_short_en',
288 'exclude' => '0',
289 'config' => array(
290 'type' => 'input',
291 'size' => '25',
292 'max' => '50',
293 'eval' => 'trim',
294 'default' => '',
295 '_is_string' => '1'
296 )
297 ),
298 'cn_country_zones' => array(
299 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_country_zones',
300 'exclude' => '0',
301 'config' => array(
302 'type' => 'inline',
303 'foreign_table' => 'static_country_zones',
304 'foreign_field' => 'zn_country_uid',
305 'foreign_table_field' => 'zn_country_table',
306 'foreign_default_sortby' => 'zn_name_local',
307 'maxitems' => '100',
308 'appearance' => array(
309 'expandSingle' => 1,
310 'newRecordLinkAddTitle' => 1
311 )
312 )
313 )
314 ),
315 'types' => array(
316 '1' => array(
317 'showitem' => 'cn_short_local,cn_official_name_local,cn_official_name_en,--palette--;;1;;,--palette--;;5;;,--palette--;;2;;,--palette--;;3;;,--palette--;;4;;,cn_short_en,cn_country_zones'
318 )
319 ),
320 'palettes' => array(
321 '1' => array(
322 'showitem' => 'cn_iso_nr,cn_iso_2,cn_iso_3', 'canNotCollapse' => '1'
323 ),
324 '2' => array(
325 'showitem' => 'cn_currency_uid,cn_currency_iso_nr,cn_currency_iso_3', 'canNotCollapse' => '1'
326 ),
327 '3' => array(
328 'showitem' => 'cn_capital,cn_uno_member,cn_eu_member,cn_phone,cn_tldomain', 'canNotCollapse' => '1'
329 ),
330 '4' => array(
331 'showitem' => 'cn_address_format,cn_zone_flag', 'canNotCollapse' => '1'
332 ),
333 '5' => array(
334 'showitem' => 'cn_parent_territory_uid,cn_parent_tr_iso_nr', 'canNotCollapse' => '1'
335 )
336 )
337 );
338
339 $GLOBALS['TCA']['static_currencies'] = array(
340 'ctrl' => $GLOBALS['TCA']['static_currencies']['ctrl'],
341 'interface' => array(
342 'showRecordFieldList' => 'cu_iso_3,cu_iso_nr,cu_name_en,cu_symbol_left,cu_symbol_right,cu_thousands_point,cu_decimal_point,cu_decimal_digits,cu_sub_name_en,cu_sub_divisor,cu_sub_symbol_left,cu_sub_symbol_right'
343 ),
344 'columns' => array(
345 'cu_iso_3' => array(
346 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_iso_3',
347 'exclude' => '0',
348 'config' => array(
349 'type' => 'input',
350 'size' => '5',
351 'max' => '3',
352 'eval' => '',
353 'default' => ''
354 )
355 ),
356 'cu_iso_nr' => array(
357 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_iso_nr',
358 'exclude' => '0',
359 'config' => array(
360 'type' => 'input',
361 'size' => '7',
362 'max' => '3',
363 'eval' => '',
364 'default' => '0'
365 )
366 ),
367 'cu_name_en' => array(
368 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_name_en',
369 'exclude' => '0',
370 'config' => array(
371 'type' => 'input',
372 'size' => '18',
373 'max' => '40',
374 'eval' => 'trim',
375 'default' => '',
376 '_is_string' => '1'
377 )
378 ),
379 'cu_sub_name_en' => array(
380 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_name_en',
381 'exclude' => '0',
382 'config' => array(
383 'type' => 'input',
384 'size' => '18',
385 'max' => '20',
386 'eval' => 'trim',
387 'default' => '',
388 '_is_string' => '1'
389 )
390 ),
391 'cu_symbol_left' => array(
392 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_symbol_left',
393 'exclude' => '0',
394 'config' => array(
395 'type' => 'input',
396 'size' => '8',
397 'max' => '12',
398 'eval' => 'trim',
399 'default' => '',
400 '_is_string' => '1'
401 )
402 ),
403 'cu_symbol_right' => array(
404 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_symbol_right',
405 'exclude' => '0',
406 'config' => array(
407 'type' => 'input',
408 'size' => '8',
409 'max' => '12',
410 'eval' => 'trim',
411 'default' => '',
412 '_is_string' => '1'
413 )
414 ),
415 'cu_thousands_point' => array(
416 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_thousands_point',
417 'exclude' => '0',
418 'config' => array(
419 'type' => 'input',
420 'size' => '3',
421 'max' => '1',
422 'eval' => '',
423 'default' => ''
424 )
425 ),
426 'cu_decimal_point' => array(
427 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_decimal_point',
428 'exclude' => '0',
429 'config' => array(
430 'type' => 'input',
431 'size' => '3',
432 'max' => '1',
433 'eval' => '',
434 'default' => ''
435 )
436 ),
437 'cu_decimal_digits' => array(
438 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_decimal_digits',
439 'exclude' => '0',
440 'config' => array(
441 'type' => 'input',
442 'size' => '5',
443 'max' => '',
444 'eval' => 'int',
445 'default' => ''
446 )
447 ),
448 'cu_sub_divisor' => array(
449 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_divisor',
450 'exclude' => '0',
451 'config' => array(
452 'type' => 'input',
453 'size' => '8',
454 'max' => '20',
455 'eval' => 'int',
456 'default' => '1'
457 )
458 ),
459 'cu_sub_symbol_left' => array(
460 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_symbol_left',
461 'exclude' => '0',
462 'config' => array(
463 'type' => 'input',
464 'size' => '8',
465 'max' => '12',
466 'eval' => 'trim',
467 'default' => '',
468 '_is_string' => '1'
469 )
470 ),
471 'cu_sub_symbol_right' => array(
472 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_symbol_right',
473 'exclude' => '0',
474 'config' => array(
475 'type' => 'input',
476 'size' => '8',
477 'max' => '12',
478 'eval' => 'trim',
479 'default' => '',
480 '_is_string' => '1'
481 )
482 )
483 ),
484 'types' => array(
485 '1' => array(
486 'showitem' => 'cu_name_en,--palette--;;1;;,--palette--;;2;;,cu_sub_name_en,--palette--;;3;;'
487 )
488 ),
489 'palettes' => array(
490 '1' => array(
491 'showitem' => 'cu_iso_nr,cu_iso_3', 'canNotCollapse' => '1'
492 ),
493 '2' => array(
494 'showitem' => 'cu_symbol_left,cu_symbol_right,cu_thousands_point,cu_decimal_point', 'canNotCollapse' => '1'
495 ),
496 '3' => array(
497 'showitem' => 'cu_sub_symbol_left,cu_sub_symbol_right,cu_decimal_digits,cu_sub_divisor', 'canNotCollapse' => '1'
498 )
499 )
500 );
501
502 $GLOBALS['TCA']['static_languages'] = array(
503 'ctrl' => $GLOBALS['TCA']['static_languages']['ctrl'],
504 'interface' => array(
505 'showRecordFieldList' => 'lg_name_local,lg_name_en,lg_iso_2,lg_typo3,lg_country_iso_2,lg_collate_locale,lg_sacred,lg_constructed'
506 ),
507 'columns' => array(
508 'lg_iso_2' => array(
509 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_iso_2',
510 'exclude' => '0',
511 'config' => array(
512 'type' => 'input',
513 'size' => '4',
514 'max' => '2',
515 'eval' => '',
516 'default' => ''
517 )
518 ),
519 'lg_name_local' => array(
520 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.name',
521 'exclude' => '0',
522 'config' => array(
523 'type' => 'input',
524 'size' => '25',
525 'max' => '50',
526 'eval' => 'trim',
527 'default' => '',
528 '_is_string' => '1'
529 )
530 ),
531 'lg_name_en' => array(
532 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_name_en',
533 'exclude' => '0',
534 'config' => array(
535 'type' => 'input',
536 'size' => '18',
537 'max' => '40',
538 'eval' => 'trim',
539 'default' => '',
540 '_is_string' => '1'
541 )
542 ),
543 'lg_typo3' => array(
544 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_typo3',
545 'exclude' => '0',
546 'config' => array(
547 'type' => 'input',
548 'size' => '3',
549 'max' => '2',
550 'eval' => '',
551 'default' => ''
552 )
553 ),
554 'lg_country_iso_2' => Array (
555 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_2',
556 'exclude' => '0',
557 'config' => Array (
558 'type' => 'input',
559 'size' => '3',
560 'max' => '2',
561 'eval' => '',
562 'default' => ''
563 )
564 ),
565 'lg_collate_locale' => Array (
566 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_collate_locale',
567 'exclude' => '0',
568 'config' => Array (
569 'type' => 'input',
570 'size' => '5',
571 'max' => '5',
572 'eval' => '',
573 'default' => ''
574 )
575 ),
576 'lg_sacred' => array(
577 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_sacred',
578 'exclude' => '0',
579 'config' => array(
580 'type' => 'check',
581 'default' => '0'
582 )
583 ),
584 'lg_constructed' => array(
585 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_constructed',
586 'exclude' => '0',
587 'config' => array(
588 'type' => 'check',
589 'default' => '0'
590 )
591 ),
592 ),
593 'types' => array(
594 '1' => array(
595 'showitem' => 'lg_name_local,lg_name_en,lg_iso_2,lg_typo3,lg_country_iso_2,lg_collate_locale,lg_sacred,lg_constructed'
596 )
597 )
598 );
599
600 $GLOBALS['TCA']['static_country_zones'] = array(
601 'ctrl' => $GLOBALS['TCA']['static_country_zones']['ctrl'],
602 'interface' => array(
603 'showRecordFieldList' => 'zn_country_iso_nr,zn_country_iso_2,zn_country_iso_3,zn_code,zn_name_local,zn_name_en'
604 ),
605 'columns' => array(
606 'zn_country_uid' => array(
607 'config' => array(
608 'type' => 'passthrough',
609 )
610 ),
611 'zn_country_table' => array(
612 'config' => array(
613 'type' => 'passthrough',
614 )
615 ),
616 'zn_country_iso_nr' => array(
617 'config' => array(
618 'type' => 'passthrough',
619 )
620 ),
621 'zn_country_iso_2' => array(
622 'config' => array(
623 'type' => 'passthrough',
624 )
625 ),
626 'zn_country_iso_3' => array(
627 'config' => array(
628 'type' => 'passthrough',
629 )
630 ),
631 'zn_code' => array(
632 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_country_zones_item.zn_code',
633 'exclude' => '0',
634 'config' => array(
635 'type' => 'input',
636 'size' => '18',
637 'max' => '45',
638 'eval' => 'trim',
639 'default' => '',
640 '_is_string' => '1'
641 )
642 ),
643 'zn_name_local' => array(
644 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.name',
645 'exclude' => '0',
646 'config' => array(
647 'type' => 'input',
648 'size' => '18',
649 'max' => '45',
650 'eval' => 'trim',
651 'default' => '',
652 '_is_string' => '1'
653 )
654 ),
655 'zn_name_en' => array(
656 'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_country_zones_item.zn_name_en',
657 'exclude' => '0',
658 'config' => array(
659 'type' => 'input',
660 'size' => '18',
661 'max' => '45',
662 'eval' => 'trim',
663 'default' => '',
664 '_is_string' => '1'
665 )
666 ),
667 ),
668 'types' => array(
669 '1' => array(
670 'showitem' => 'zn_name_local,zn_code,--palette--;;1;;,zn_name_en'
671 )
672 ),
673 'palettes' => array(
674 '1' => array(
675 'showitem' => 'zn_country_uid,zn_country_iso_nr,zn_country_iso_2,zn_country_iso_3', 'canNotCollapse' => '1'
676 )
677 )
678 );
679 ?>