Initial commit - Typo3 11.5.41
This commit is contained in:
@@ -0,0 +1,197 @@
|
||||
<?php
|
||||
declare(strict_types = 1);
|
||||
|
||||
return [
|
||||
\SJBR\StaticInfoTables\Domain\Model\Country::class => [
|
||||
'tableName' => 'static_countries',
|
||||
'properties' => [
|
||||
'addressFormat' => [
|
||||
'fieldName' => 'cn_address_format'
|
||||
],
|
||||
'capitalCity' => [
|
||||
'fieldName' => 'cn_capital'
|
||||
],
|
||||
'currencyIsoCodeA3' => [
|
||||
'fieldName' => 'cn_currency_iso_3'
|
||||
],
|
||||
'currencyIsoCodeNumber' => [
|
||||
'fieldName' => 'cn_currency_iso_nr'
|
||||
],
|
||||
'euMember' => [
|
||||
'fieldName' => 'cn_eu_member'
|
||||
],
|
||||
'isoCodeA2' => [
|
||||
'fieldName' => 'cn_iso_2'
|
||||
],
|
||||
'isoCodeA3' => [
|
||||
'fieldName' => 'cn_iso_3'
|
||||
],
|
||||
'isoCodeNumber' => [
|
||||
'fieldName' => 'cn_iso_nr'
|
||||
],
|
||||
'officialNameLocal' => [
|
||||
'fieldName' => 'cn_official_name_local'
|
||||
],
|
||||
'officialNameEn' => [
|
||||
'fieldName' => 'cn_official_name_en'
|
||||
],
|
||||
'parentTerritoryUnCodeNumber' => [
|
||||
'fieldName' => 'cn_parent_tr_iso_nr'
|
||||
],
|
||||
'phonePrefix' => [
|
||||
'fieldName' => 'cn_phone'
|
||||
],
|
||||
'shortNameLocal' => [
|
||||
'fieldName' => 'cn_short_local'
|
||||
],
|
||||
'shortNameEn' => [
|
||||
'fieldName' => 'cn_short_en'
|
||||
],
|
||||
'topLevelDomain' => [
|
||||
'fieldName' => 'cn_tldomain'
|
||||
],
|
||||
'unMember' => [
|
||||
'fieldName' => 'cn_uno_member'
|
||||
],
|
||||
'zoneFlag' => [
|
||||
'fieldName' => 'cn_zone_flag'
|
||||
],
|
||||
'countryZones' => [
|
||||
'fieldName' => 'cn_country_zones'
|
||||
],
|
||||
'deleted' => [
|
||||
'fieldName' => 'deleted'
|
||||
],
|
||||
]
|
||||
],
|
||||
\SJBR\StaticInfoTables\Domain\Model\CountryZone::class => [
|
||||
'tableName' => 'static_country_zones',
|
||||
'properties' => [
|
||||
'countryIsoCodeA2' => [
|
||||
'fieldName' => 'zn_country_iso_2'
|
||||
],
|
||||
'countryIsoCodeA3' => [
|
||||
'fieldName' => 'zn_country_iso_3'
|
||||
],
|
||||
'countryIsoCodeNumber' => [
|
||||
'fieldName' => 'zn_country_iso_nr'
|
||||
],
|
||||
'isoCode' => [
|
||||
'fieldName' => 'zn_code'
|
||||
],
|
||||
'localName' => [
|
||||
'fieldName' => 'zn_name_local'
|
||||
],
|
||||
'nameEn' => [
|
||||
'fieldName' => 'zn_name_en'
|
||||
],
|
||||
'deleted' => [
|
||||
'fieldName' => 'deleted'
|
||||
],
|
||||
]
|
||||
],
|
||||
\SJBR\StaticInfoTables\Domain\Model\Currency::class => [
|
||||
'tableName' => 'static_currencies',
|
||||
'properties' => [
|
||||
'decimalDigits' => [
|
||||
'fieldName' => 'cu_decimal_digits'
|
||||
],
|
||||
'decimalPoint' => [
|
||||
'fieldName' => 'cu_decimal_point'
|
||||
],
|
||||
'divisor' => [
|
||||
'fieldName' => 'cu_sub_divisor'
|
||||
],
|
||||
'isoCodeA3' => [
|
||||
'fieldName' => 'cu_iso_3'
|
||||
],
|
||||
'isoCodeNumber' => [
|
||||
'fieldName' => 'cu_iso_nr'
|
||||
],
|
||||
'nameEn' => [
|
||||
'fieldName' => 'cu_name_en'
|
||||
],
|
||||
'subdivisionNameEn' => [
|
||||
'fieldName' => 'cu_sub_name_en'
|
||||
],
|
||||
'subdivisionSymbolLeft' => [
|
||||
'fieldName' => 'cu_sub_symbol_left'
|
||||
],
|
||||
'subdivisionSymbolRight' => [
|
||||
'fieldName' => 'cu_sub_symbol_right'
|
||||
],
|
||||
'symbolLeft' => [
|
||||
'fieldName' => 'cu_symbol_left'
|
||||
],
|
||||
'symbolRight' => [
|
||||
'fieldName' => 'cu_symbol_right'
|
||||
],
|
||||
'thousandsPoint' => [
|
||||
'fieldName' => 'cu_thousands_point'
|
||||
],
|
||||
'deleted' => [
|
||||
'fieldName' => 'deleted'
|
||||
],
|
||||
]
|
||||
],
|
||||
\SJBR\StaticInfoTables\Domain\Model\Language::class => [
|
||||
'tableName' => 'static_languages',
|
||||
'properties' => [
|
||||
'collatingLocale' => [
|
||||
'fieldName' => 'lg_collate_locale'
|
||||
],
|
||||
'countryIsoCodeA2' => [
|
||||
'fieldName' => 'lg_country_iso_2'
|
||||
],
|
||||
'constructedLanguage' => [
|
||||
'fieldName' => 'lg_constructed'
|
||||
],
|
||||
'isoCodeA2' => [
|
||||
'fieldName' => 'lg_iso_2'
|
||||
],
|
||||
'localName' => [
|
||||
'fieldName' => 'lg_name_local'
|
||||
],
|
||||
'nameEn' => [
|
||||
'fieldName' => 'lg_name_en'
|
||||
],
|
||||
'sacredLanguage' => [
|
||||
'fieldName' => 'lg_sacred'
|
||||
],
|
||||
'typo3Code' => [
|
||||
'fieldName' => 'lg_typo3'
|
||||
],
|
||||
'deleted' => [
|
||||
'fieldName' => 'deleted'
|
||||
],
|
||||
]
|
||||
],
|
||||
\SJBR\StaticInfoTables\Domain\Model\Territory::class => [
|
||||
'tableName' => 'static_territories',
|
||||
'properties' => [
|
||||
'unCodeNumber' => [
|
||||
'fieldName' => 'tr_iso_nr'
|
||||
],
|
||||
'nameEn' => [
|
||||
'fieldName' => 'tr_name_en'
|
||||
],
|
||||
'parentTerritoryUnCodeNumber' => [
|
||||
'fieldName' => 'tr_parent_iso_nr'
|
||||
],
|
||||
'deleted' => [
|
||||
'fieldName' => 'deleted'
|
||||
],
|
||||
]
|
||||
],
|
||||
\SJBR\StaticInfoTables\Domain\Model\SystemLanguage::class => [
|
||||
'tableName' => 'sys_language',
|
||||
'properties' => [
|
||||
'title' => [
|
||||
'fieldName' => 'title'
|
||||
],
|
||||
'isoLanguage' => [
|
||||
'fieldName' => 'static_lang_isocode'
|
||||
],
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,4 @@
|
||||
# ***************************************************************************************
|
||||
# Translate currency labels in suggestion on static_countries table
|
||||
# ***************************************************************************************
|
||||
TCEFORM.static_countries.cn_currency_uid.suggest.default.renderFunc = SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\SuggestLabelProcessor->translateLabel
|
||||
36
typo3conf/ext/static_info_tables/Configuration/Services.yaml
Normal file
36
typo3conf/ext/static_info_tables/Configuration/Services.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
# Configuration/Services.yaml
|
||||
services:
|
||||
_defaults:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
public: false
|
||||
|
||||
SJBR\StaticInfoTables\:
|
||||
resource: '../Classes/*'
|
||||
exclude: '../Classes/Domain/Model/*'
|
||||
|
||||
SJBR\StaticInfoTables\EventListener\AfterPackageActivationEventListener:
|
||||
tags:
|
||||
- name: event.listener
|
||||
identifier: 'staticInfoTablesListener'
|
||||
event: TYPO3\CMS\Core\Package\Event\AfterPackageActivationEvent
|
||||
public: true
|
||||
|
||||
SJBR\StaticInfoTables\EventListener\AfterExtensionStaticDatabaseContentHasBeenImportedEventListener:
|
||||
tags:
|
||||
- name: event.listener
|
||||
identifier: 'staticInfoTablesListener'
|
||||
event: TYPO3\CMS\Extensionmanager\Event\AfterExtensionStaticDatabaseContentHasBeenImportedEvent
|
||||
public: true
|
||||
|
||||
SJBR\StaticInfoTables\Configuration\TypoScript\ConfigurationHelper:
|
||||
public: true
|
||||
|
||||
SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaLabelProcessor:
|
||||
public: true
|
||||
|
||||
SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaSelectItemsProcessor:
|
||||
public: true
|
||||
|
||||
SJBR\StaticInfoTables\Hook\Core\DataHandling\ProcessDataMap:
|
||||
public: true
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
defined('TYPO3') or die();
|
||||
|
||||
// Configure extension static template
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
|
||||
'static_info_tables',
|
||||
'Configuration/TypoScript/Static',
|
||||
'Static Info Tables'
|
||||
);
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
defined('TYPO3') or die();
|
||||
|
||||
call_user_func(
|
||||
function ($extKey) {
|
||||
if ($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extKey]['enableManager']) {
|
||||
// Enable editing Static Info Tables
|
||||
if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['static_info_tables']['tables'])) {
|
||||
$tableNames = array_keys($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extKey]['tables']);
|
||||
foreach ($tableNames as $tableName) {
|
||||
$GLOBALS['TCA'][$tableName]['ctrl']['readOnly'] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
'static_info_tables'
|
||||
);
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
defined('TYPO3') or die();
|
||||
|
||||
// Configure static_lang_isocode field in TCA
|
||||
$GLOBALS['TCA']['sys_language']['columns']['static_lang_isocode'] = [
|
||||
'exclude' => true,
|
||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_language.isocode',
|
||||
'config' => [
|
||||
'type' => 'group',
|
||||
'internal_type' => 'db',
|
||||
'allowed' => 'static_languages',
|
||||
'foreign_table' => 'static_languages',
|
||||
'suggestOptions' => [
|
||||
'default' => [
|
||||
'pidList' => '0',
|
||||
'additionalSearchFields' => 'lg_name_local',
|
||||
],
|
||||
],
|
||||
'fieldWizard' => [
|
||||
'recordsOverview' => [
|
||||
'disabled' => true,
|
||||
],
|
||||
'tableList' => [
|
||||
'disabled' => true,
|
||||
],
|
||||
],
|
||||
'size' => 1,
|
||||
'minitems' => 0,
|
||||
'maxitems' => 1,
|
||||
],
|
||||
];
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
||||
'sys_language',
|
||||
'static_lang_isocode',
|
||||
'',
|
||||
'after:language_isocode'
|
||||
);
|
||||
@@ -0,0 +1,321 @@
|
||||
<?php
|
||||
// Country reference data from ISO 3166-1
|
||||
return [
|
||||
'ctrl' => [
|
||||
'label' => 'cn_short_en',
|
||||
'label_alt' => 'cn_iso_2',
|
||||
'label_alt_force' => 1,
|
||||
'label_userFunc' => \SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaLabelProcessor::class . '->addIsoCodeToLabel',
|
||||
'adminOnly' => true,
|
||||
'rootLevel' => 1,
|
||||
'is_static' => 1,
|
||||
'readOnly' => 1,
|
||||
'default_sortby' => 'ORDER BY cn_short_en',
|
||||
'delete' => 'deleted',
|
||||
'title' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries.title',
|
||||
'iconfile' => 'EXT:static_info_tables/Resources/Public/Images/Icons/static_countries.svg',
|
||||
'searchFields' => 'cn_short_en,cn_official_name_local,cn_official_name_en',
|
||||
],
|
||||
'columns' => [
|
||||
'cn_official_name_local' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_official_name_local',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '25',
|
||||
'max' => '128',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cn_official_name_en' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_official_name_en',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '25',
|
||||
'max' => '50',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'deleted' => [
|
||||
'readonly' => 1,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:deleted',
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
],
|
||||
],
|
||||
'cn_iso_2' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_2',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '4',
|
||||
'max' => '2',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cn_iso_3' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_3',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '5',
|
||||
'max' => '3',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cn_iso_nr' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_nr',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '7',
|
||||
'max' => '7',
|
||||
'eval' => 'int',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cn_parent_territory_uid' => [
|
||||
'exclude' => false,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_parent_territory_uid',
|
||||
'config' => [
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
'items' => [
|
||||
['', 0],
|
||||
],
|
||||
'foreign_table' => 'static_territories',
|
||||
'foreign_table_where' => 'ORDER BY static_territories.tr_name_en',
|
||||
'itemsProcFunc' => \SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaSelectItemsProcessor::class . '->translateTerritoriesSelector',
|
||||
'size' => 1,
|
||||
'minitems' => 0,
|
||||
'maxitems' => 1,
|
||||
],
|
||||
],
|
||||
'cn_parent_tr_iso_nr' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'cn_capital' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_capital',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '15',
|
||||
'max' => '45',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cn_tldomain' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_tldomain',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '5',
|
||||
'max' => '',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cn_currency_uid' => [
|
||||
'exclude' => false,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_currency_uid',
|
||||
'config' => [
|
||||
'type' => 'group',
|
||||
'internal_type' => 'db',
|
||||
'allowed' => 'static_currencies',
|
||||
'foreign_table' => 'static_currencies',
|
||||
'foreign_table_where' => 'ORDER BY static_currencies.cu_name_en',
|
||||
'suggestOptions' => [
|
||||
'default' => [
|
||||
'pidList' => '0',
|
||||
],
|
||||
],
|
||||
'fieldWizard' => [
|
||||
'recordsOverview' => [
|
||||
'disabled' => true,
|
||||
],
|
||||
'tableList' => [
|
||||
'disabled' => true,
|
||||
],
|
||||
],
|
||||
'size' => 1,
|
||||
'minitems' => 0,
|
||||
'maxitems' => 1,
|
||||
],
|
||||
],
|
||||
'cn_currency_iso_nr' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'cn_currency_iso_3' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'cn_phone' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_phone',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '10',
|
||||
'max' => '20',
|
||||
'eval' => '',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cn_eu_member' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_eu_member',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cn_uno_member' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_uno_member',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cn_address_format' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
'items' => [
|
||||
['', '0'],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_1',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_2',
|
||||
'2',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_3',
|
||||
'3',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_4',
|
||||
'4',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_5',
|
||||
'5',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_6',
|
||||
'6',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_7',
|
||||
'7',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_8',
|
||||
'8',
|
||||
],
|
||||
[
|
||||
'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_9',
|
||||
'9',
|
||||
],
|
||||
],
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cn_zone_flag' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_zone_flag',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cn_short_local' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_short_local',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '25',
|
||||
'max' => '50',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cn_short_en' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_short_en',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '25',
|
||||
'max' => '50',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cn_country_zones' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_country_zones',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'inline',
|
||||
'foreign_table' => 'static_country_zones',
|
||||
'foreign_field' => 'zn_country_uid',
|
||||
'foreign_table_field' => 'zn_country_table',
|
||||
'foreign_default_sortby' => 'zn_name_local',
|
||||
'maxitems' => '200',
|
||||
'appearance' => [
|
||||
'expandSingle' => 1,
|
||||
'newRecordLinkAddTitle' => 1,
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
'types' => [
|
||||
'1' => [
|
||||
'showitem' => 'cn_short_local,cn_official_name_local,cn_official_name_en,--palette--;;1,--palette--;;5,--palette--;;2,--palette--;;3,--palette--;;6,--palette--;;4,cn_short_en,cn_country_zones'
|
||||
]
|
||||
],
|
||||
'palettes' => [
|
||||
'1' => [
|
||||
'showitem' => 'cn_iso_nr,cn_iso_2,cn_iso_3',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'2' => [
|
||||
'showitem' => 'cn_currency_uid,cn_currency_iso_nr,cn_currency_iso_3',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'3' => [
|
||||
'showitem' => 'cn_capital,cn_uno_member,cn_eu_member',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'4' => [
|
||||
'showitem' => 'cn_address_format,cn_zone_flag',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'5' => [
|
||||
'showitem' => 'cn_parent_territory_uid,cn_parent_tr_iso_nr',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'6' => [
|
||||
'showitem' => 'cn_phone,cn_tldomain',
|
||||
'canNotCollapse' => '1'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
// Country subdivision reference data from ISO 3166-2
|
||||
return [
|
||||
'ctrl' => [
|
||||
'label' => 'zn_name_local',
|
||||
'label_alt' => 'zn_name_local,zn_code',
|
||||
'adminOnly' => true,
|
||||
'rootLevel' => 1,
|
||||
'is_static' => 1,
|
||||
'readOnly' => 1,
|
||||
'default_sortby' => 'ORDER BY zn_name_local',
|
||||
'delete' => 'deleted',
|
||||
'title' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_country_zones.title',
|
||||
'iconfile' => 'EXT:static_info_tables/Resources/Public/Images/Icons/static_country_zones.svg',
|
||||
'searchFields' => 'zn_name_en,zn_name_local',
|
||||
],
|
||||
'columns' => [
|
||||
'deleted' => [
|
||||
'readonly' => 1,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:deleted',
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
],
|
||||
],
|
||||
'zn_country_uid' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'zn_country_table' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'zn_country_iso_nr' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'zn_country_iso_2' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'zn_country_iso_3' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'zn_code' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_country_zones_item.zn_code',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '45',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'zn_name_local' => [
|
||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.name',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '45',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'zn_name_en' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_country_zones_item.zn_name_en',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '45',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
],
|
||||
'types' => [
|
||||
'1' => [
|
||||
'showitem' => 'zn_name_local,zn_code,--palette--;;1,zn_name_en'
|
||||
]
|
||||
],
|
||||
'palettes' => [
|
||||
'1' => [
|
||||
'showitem' => 'zn_country_uid,zn_country_iso_nr,zn_country_iso_2,zn_country_iso_3',
|
||||
'canNotCollapse' => '1'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,185 @@
|
||||
<?php
|
||||
// Currency reference data from ISO 4217
|
||||
return [
|
||||
'ctrl' => [
|
||||
'label' => 'cu_name_en',
|
||||
'label_alt' => 'cu_iso_3',
|
||||
'label_alt_force' => 1,
|
||||
'label_userFunc' => \SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaLabelProcessor::class . '->addIsoCodeToLabel',
|
||||
'adminOnly' => true,
|
||||
'rootLevel' => 1,
|
||||
'is_static' => 1,
|
||||
'readOnly' => 1,
|
||||
'default_sortby' => 'ORDER BY cu_name_en',
|
||||
'delete' => 'deleted',
|
||||
'title' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies.title',
|
||||
'iconfile' => 'EXT:static_info_tables/Resources/Public/Images/Icons/static_currencies.svg',
|
||||
'searchFields' => 'cu_name_en',
|
||||
],
|
||||
'columns' => [
|
||||
'deleted' => [
|
||||
'readonly' => 1,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:deleted',
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
],
|
||||
],
|
||||
'cu_iso_3' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_iso_3',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '5',
|
||||
'max' => '3',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cu_iso_nr' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_iso_nr',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '7',
|
||||
'max' => '3',
|
||||
'eval' => '',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'cu_name_en' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_name_en',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '40',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cu_sub_name_en' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_name_en',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '20',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cu_symbol_left' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_symbol_left',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '8',
|
||||
'max' => '12',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cu_symbol_right' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_symbol_right',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '8',
|
||||
'max' => '12',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cu_thousands_point' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_thousands_point',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '3',
|
||||
'max' => '1',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cu_decimal_point' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_decimal_point',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '3',
|
||||
'max' => '1',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cu_decimal_digits' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_decimal_digits',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '5',
|
||||
'max' => '',
|
||||
'eval' => 'int',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'cu_sub_divisor' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_divisor',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '8',
|
||||
'max' => '20',
|
||||
'eval' => 'int',
|
||||
'default' => '1',
|
||||
],
|
||||
],
|
||||
'cu_sub_symbol_left' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_symbol_left',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '8',
|
||||
'max' => '12',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'cu_sub_symbol_right' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_currencies_item.cu_sub_symbol_right',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '8',
|
||||
'max' => '12',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
],
|
||||
'types' => [
|
||||
'1' => [
|
||||
'showitem' => 'cu_name_en,--palette--;;1,--palette--;;2,cu_sub_name_en,--palette--;;3'
|
||||
]
|
||||
],
|
||||
'palettes' => [
|
||||
'1' => [
|
||||
'showitem' => 'cu_iso_nr,cu_iso_3',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'2' => [
|
||||
'showitem' => 'cu_symbol_left,cu_symbol_right,cu_thousands_point,cu_decimal_point',
|
||||
'canNotCollapse' => '1'
|
||||
],
|
||||
'3' => [
|
||||
'showitem' => 'cu_sub_symbol_left,cu_sub_symbol_right,cu_decimal_digits,cu_sub_divisor',
|
||||
'canNotCollapse' => '1'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
// Language reference data from ISO 639-1
|
||||
return [
|
||||
'ctrl' => [
|
||||
'label' => 'lg_name_en',
|
||||
'label_alt' => 'lg_iso_2',
|
||||
'label_alt_force' => 1,
|
||||
'label_userFunc' => \SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaLabelProcessor::class . '->addIsoCodeToLabel',
|
||||
'adminOnly' => true,
|
||||
'rootLevel' => 1,
|
||||
'is_static' => 1,
|
||||
'readOnly' => 1,
|
||||
'default_sortby' => 'ORDER BY lg_name_en',
|
||||
'delete' => 'deleted',
|
||||
'title' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages.title',
|
||||
'iconfile' => 'EXT:static_info_tables/Resources/Public/Images/Icons/static_languages.svg',
|
||||
'searchFields' => 'lg_name_en,lg_name_local',
|
||||
],
|
||||
'columns' => [
|
||||
'deleted' => [
|
||||
'readonly' => 1,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:deleted',
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
],
|
||||
],
|
||||
'lg_iso_2' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_iso_2',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '4',
|
||||
'max' => '2',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'lg_name_local' => [
|
||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.name',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '25',
|
||||
'max' => '50',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'lg_name_en' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_name_en',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '40',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
'lg_typo3' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_typo3',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '3',
|
||||
'max' => '2',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'lg_country_iso_2' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_iso_2',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '3',
|
||||
'max' => '2',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'lg_collate_locale' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_collate_locale',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '5',
|
||||
'max' => '5',
|
||||
'eval' => '',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'lg_sacred' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_sacred',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'lg_constructed' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_languages_item.lg_constructed',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
],
|
||||
'types' => [
|
||||
'1' => [
|
||||
'showitem' => 'lg_name_local,lg_name_en,lg_iso_2,lg_typo3,lg_country_iso_2,lg_collate_locale,lg_sacred,lg_constructed'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
// UN Territory reference data
|
||||
return [
|
||||
'ctrl' => [
|
||||
'label' => 'tr_name_en',
|
||||
'label_alt' => 'tr_iso_nr',
|
||||
'label_alt_force' => 1,
|
||||
'label_userFunc' => \SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaLabelProcessor::class . '->addIsoCodeToLabel',
|
||||
'adminOnly' => true,
|
||||
'rootLevel' => 1,
|
||||
'is_static' => 1,
|
||||
'readOnly' => 1,
|
||||
'default_sortby' => 'ORDER BY tr_name_en',
|
||||
'delete' => 'deleted',
|
||||
'title' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_territories.title',
|
||||
'iconfile' => 'EXT:static_info_tables/Resources/Public/Images/Icons/static_territories.svg',
|
||||
'searchFields' => 'tr_name_en',
|
||||
],
|
||||
'columns' => [
|
||||
'deleted' => [
|
||||
'readonly' => 1,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:deleted',
|
||||
'config' => [
|
||||
'type' => 'check',
|
||||
],
|
||||
],
|
||||
'tr_iso_nr' => [
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_territories_item.tr_iso_nr',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '7',
|
||||
'max' => '7',
|
||||
'eval' => 'int',
|
||||
'default' => '0',
|
||||
],
|
||||
],
|
||||
'tr_parent_territory_uid' => [
|
||||
'exclude' => false,
|
||||
'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_territories_item.tr_parent_territory_uid',
|
||||
'config' => [
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
'items' => [
|
||||
['', 0],
|
||||
],
|
||||
'foreign_table' => 'static_territories',
|
||||
'foreign_table_where' => 'ORDER BY static_territories.tr_name_en',
|
||||
'itemsProcFunc' => \SJBR\StaticInfoTables\Hook\Backend\Form\FormDataProvider\TcaSelectItemsProcessor::class . '->translateTerritoriesSelector',
|
||||
'size' => 1,
|
||||
'minitems' => 0,
|
||||
'maxitems' => 1,
|
||||
],
|
||||
],
|
||||
'tr_parent_iso_nr' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'tr_name_en' => [
|
||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.name',
|
||||
'exclude' => false,
|
||||
'config' => [
|
||||
'type' => 'input',
|
||||
'size' => '18',
|
||||
'max' => '45',
|
||||
'eval' => 'trim',
|
||||
'default' => '',
|
||||
'_is_string' => '1',
|
||||
],
|
||||
],
|
||||
],
|
||||
'types' => [
|
||||
'1' => [
|
||||
'showitem' => 'tr_iso_nr,tr_name_en,fk_billing_country,--palette--;;1'
|
||||
]
|
||||
],
|
||||
'palettes' => [
|
||||
'1' => [
|
||||
'showitem' => 'tr_parent_territory_uid,tr_parent_iso_nr',
|
||||
'canNotCollapse' => '1'
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,9 @@
|
||||
## Configuring the Static Info Manager backend module
|
||||
module.tx_staticinfotables {
|
||||
## Paths for Manager templates
|
||||
view {
|
||||
templateRootPaths.0 = EXT:static_info_tables/Resources/Private/Templates/
|
||||
partialRootPaths.0 = EXT:static_info_tables/Resources/Private/Partials/
|
||||
layoutRootPaths.0 = EXT:static_info_tables/Resources/Private/Layouts/
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
plugin.tx_staticinfotables_pi1 {
|
||||
|
||||
# cat=plugin.tx_staticinfotables_pi1//3; type=user[SJBR\StaticInfoTables\Configuration\TypoScript\ConfigurationHelper->buildEntitySelector];; label= Default currency: ISO alpha-3 code of the default currency used to format an amount.
|
||||
currencyCode = EUR
|
||||
|
||||
# cat=plugin.tx_staticinfotables_pi1//1; type=user[SJBR\StaticInfoTables\Configuration\TypoScript\ConfigurationHelper->buildEntitySelector];; label= Default country: ISO alpha-3 code of the default selected country in the drop-down selector.
|
||||
countryCode =
|
||||
|
||||
# cat=plugin.tx_staticinfotables_pi1//5; type=string; label= Allowed countries: ISO alpha-3 codes of the countries which are allowed in the drop-down selector. The order of the countries will remain in the output.
|
||||
countriesAllowed =
|
||||
|
||||
# cat=plugin.tx_staticinfotables_pi1//2; type=user[SJBR\StaticInfoTables\Configuration\TypoScript\ConfigurationHelper->buildEntitySelector];; label= Default country zone: Code of the default selected country zone in drop-down selector.
|
||||
countryZoneCode =
|
||||
|
||||
# cat=plugin.tx_staticinfotables_pi1//4; type=user[SJBR\StaticInfoTables\Configuration\TypoScript\ConfigurationHelper->buildEntitySelector];; label= Default language: ISO alpha-2 code of the default selected language in drop-down selector.
|
||||
languageCode =
|
||||
|
||||
# cat=plugin.tx_staticinfotables_pi1//6; type=string; label= Onchange attribute : Value of onchange attribute of drop-down selectors, when present.
|
||||
onChangeAttribute = javascript:this.form.submit();
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
plugin.tx_staticinfotables.settings {
|
||||
countryCode = {$plugin.tx_staticinfotables_pi1.countryCode}
|
||||
countriesAllowed = {$plugin.tx_staticinfotables_pi1.countriesAllowed}
|
||||
countryZoneCode = {$plugin.tx_staticinfotables_pi1.countryZoneCode}
|
||||
currencyCode = {$plugin.tx_staticinfotables_pi1.currencyCode}
|
||||
languageCode = {$plugin.tx_staticinfotables_pi1.languageCode}
|
||||
onChangeAttribute = {$plugin.tx_staticinfotables_pi1.onChangeAttribute}
|
||||
|
||||
addressFormat {
|
||||
## See www.upu.int
|
||||
## Semi-colon (;)-separated address lines
|
||||
## Examples of address format 1: Austria, Denmark, France, Germany, Russia
|
||||
1 = %street;%zip %city;%countryName
|
||||
|
||||
## Examples of address format 2: India
|
||||
2 = %street;%city %zip;%countryName
|
||||
|
||||
## Examples of address format 3: Australia, USA
|
||||
3 = %street;%city %countrySubdivisionCode %zip;%countryName
|
||||
|
||||
## Example of address format 4: Canada
|
||||
4 = %street;%city (%countrySubdivisionName) %zip;%countryName
|
||||
|
||||
## Example of address format 5: Great Britain
|
||||
5 = %street;%city;%zip%countryName
|
||||
|
||||
## Example of address format 6: Mexico
|
||||
6 = %street;%zip %city, %countrySubdivisionCode;%countryName
|
||||
|
||||
## Example of address format 7: Italy
|
||||
7 = %street;%zip %city %countrySubdivisionCode;%countryName
|
||||
|
||||
## Example of address format 8: Spain
|
||||
8 = %street;%zip %city (%countrySubdivisionName);%countryName
|
||||
|
||||
## Example of address format 9: Brazil
|
||||
9 = %street;%city - %countrySubdivisionCode;%zip;%countryName
|
||||
}
|
||||
}
|
||||
|
||||
plugin.tx_staticinfotables_pi1 {
|
||||
|
||||
countryCode = {$plugin.tx_staticinfotables_pi1.countryCode}
|
||||
countriesAllowed = {$plugin.tx_staticinfotables_pi1.countriesAllowed}
|
||||
countryZoneCode = {$plugin.tx_staticinfotables_pi1.countryZoneCode}
|
||||
currencyCode = {$plugin.tx_staticinfotables_pi1.currencyCode}
|
||||
languageCode = {$plugin.tx_staticinfotables_pi1.languageCode}
|
||||
onChangeAttribute = {$plugin.tx_staticinfotables_pi1.onChangeAttribute}
|
||||
|
||||
addressFormat {
|
||||
## See www.upu.int
|
||||
## Semi-colon (;)-separated address lines
|
||||
## Examples of address format 1: Austria, Denmark, France, Germany, Russia
|
||||
1 = %street;%zip %city;%countryName
|
||||
|
||||
## Examples of address format 2: India
|
||||
2 = %street;%city %zip;%countryName
|
||||
|
||||
## Examples of address format 3: Australia, USA
|
||||
3 = %street;%city %countrySubdivisionCode %zip;%countryName
|
||||
|
||||
## Example of address format 4: Canada
|
||||
4 = %street;%city (%countrySubdivisionName) %zip;%countryName
|
||||
|
||||
## Example of address format 5: Great Britain
|
||||
5 = %street;%city;%zip%countryName
|
||||
|
||||
## Example of address format 6: Mexico
|
||||
6 = %street;%zip %city, %countrySubdivisionCode;%countryName
|
||||
|
||||
## Example of address format 7: Italy
|
||||
7 = %street;%zip %city %countrySubdivisionCode;%countryName
|
||||
|
||||
## Example of address format 8: Spain
|
||||
8 = %street;%zip %city (%countrySubdivisionName);%countryName
|
||||
|
||||
## Example of address format 9: Brazil
|
||||
9 = %street;%city - %countrySubdivisionCode;%zip;%countryName
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user