Initial import based on static_info_tables 2.0.0
[TYPO3CMS/Extensions/static_info_tables.git] / ext_localconf.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['charset'] = 'utf-8';
5
6 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['tables'] = array(
7 'static_territories' => array(
8 'label_fields' => array( // possible label fields for different languages. Default as last.
9 'tr_name_##', 'tr_name_en',
10 ),
11 'isocode_field' => array(
12 'tr_iso_##',
13 ),
14 ),
15 'static_countries' => array(
16 'label_fields' => array(
17 'cn_short_##', 'cn_short_en',
18 ),
19 'isocode_field' => array(
20 'cn_iso_##',
21 ),
22 ),
23 'static_country_zones' => array(
24 'label_fields' => array(
25 'zn_name_##', 'zn_name_local',
26 ),
27 'isocode_field' => array(
28 'zn_code', 'zn_country_iso_##',
29 ),
30 ),
31 'static_languages' => array(
32 'label_fields' => array(
33 'lg_name_##', 'lg_name_en',
34 ),
35 'isocode_field' => array(
36 'lg_iso_##', 'lg_country_iso_##',
37 ),
38 ),
39 'static_currencies' => array(
40 'label_fields' => array(
41 'cu_name_##', 'cu_name_en',
42 ),
43 'isocode_field' => array(
44 'cu_iso_##',
45 ),
46 ),
47 'static_taxes' => array(
48 'label_fields' => array(
49 'tx_name_##', 'tx_name_en',
50 ),
51 'isocode_field' => array(
52 'tx_code', 'tx_country_iso_##', 'tx_zn_code',
53 ),
54 ),
55 );
56
57 require_once(t3lib_extMgm::extPath($_EXTKEY).'class.tx_staticinfotables_div.php');
58
59 ?>