mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-29 21:56:10 +01:00
131 lines
4.7 KiB
PHP
131 lines
4.7 KiB
PHP
|
<?php
|
||
|
return [
|
||
|
'ctrl' => [
|
||
|
'title' => 'LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events_domain_model_region',
|
||
|
'label' => 'title',
|
||
|
'tstamp' => 'tstamp',
|
||
|
'crdate' => 'crdate',
|
||
|
'cruser_id' => 'cruser_id',
|
||
|
'versioningWS' => true,
|
||
|
'languageField' => 'sys_language_uid',
|
||
|
'transOrigPointerField' => 'l10n_parent',
|
||
|
'transOrigDiffSourceField' => 'l10n_diffsource',
|
||
|
'delete' => 'deleted',
|
||
|
'enablecolumns' => [
|
||
|
'disabled' => 'hidden',
|
||
|
'starttime' => 'starttime',
|
||
|
'endtime' => 'endtime',
|
||
|
],
|
||
|
'searchFields' => 'title',
|
||
|
'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_region.gif'
|
||
|
],
|
||
|
'interface' => [
|
||
|
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title',
|
||
|
],
|
||
|
'types' => [
|
||
|
'1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'],
|
||
|
],
|
||
|
'columns' => [
|
||
|
'sys_language_uid' => [
|
||
|
'exclude' => true,
|
||
|
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
|
||
|
'config' => [
|
||
|
'type' => 'select',
|
||
|
'renderType' => 'selectSingle',
|
||
|
'special' => 'languages',
|
||
|
'items' => [
|
||
|
[
|
||
|
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages',
|
||
|
-1,
|
||
|
'flags-multiple'
|
||
|
]
|
||
|
],
|
||
|
'default' => 0,
|
||
|
],
|
||
|
],
|
||
|
'l10n_parent' => [
|
||
|
'displayCond' => 'FIELD:sys_language_uid:>:0',
|
||
|
'exclude' => true,
|
||
|
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
|
||
|
'config' => [
|
||
|
'type' => 'select',
|
||
|
'renderType' => 'selectSingle',
|
||
|
'default' => 0,
|
||
|
'items' => [
|
||
|
['', 0],
|
||
|
],
|
||
|
'foreign_table' => 'tx_events_domain_model_region',
|
||
|
'foreign_table_where' => 'AND {#tx_events_domain_model_region}.{#pid}=###CURRENT_PID### AND {#tx_events_domain_model_region}.{#sys_language_uid} IN (-1,0)',
|
||
|
],
|
||
|
],
|
||
|
'l10n_diffsource' => [
|
||
|
'config' => [
|
||
|
'type' => 'passthrough',
|
||
|
],
|
||
|
],
|
||
|
't3ver_label' => [
|
||
|
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
|
||
|
'config' => [
|
||
|
'type' => 'input',
|
||
|
'size' => 30,
|
||
|
'max' => 255,
|
||
|
],
|
||
|
],
|
||
|
'hidden' => [
|
||
|
'exclude' => true,
|
||
|
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.visible',
|
||
|
'config' => [
|
||
|
'type' => 'check',
|
||
|
'renderType' => 'checkboxToggle',
|
||
|
'items' => [
|
||
|
[
|
||
|
0 => '',
|
||
|
1 => '',
|
||
|
'invertStateDisplay' => true
|
||
|
]
|
||
|
],
|
||
|
],
|
||
|
],
|
||
|
'starttime' => [
|
||
|
'exclude' => true,
|
||
|
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
|
||
|
'config' => [
|
||
|
'type' => 'input',
|
||
|
'renderType' => 'inputDateTime',
|
||
|
'eval' => 'datetime,int',
|
||
|
'default' => 0,
|
||
|
'behaviour' => [
|
||
|
'allowLanguageSynchronization' => true
|
||
|
]
|
||
|
],
|
||
|
],
|
||
|
'endtime' => [
|
||
|
'exclude' => true,
|
||
|
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
|
||
|
'config' => [
|
||
|
'type' => 'input',
|
||
|
'renderType' => 'inputDateTime',
|
||
|
'eval' => 'datetime,int',
|
||
|
'default' => 0,
|
||
|
'range' => [
|
||
|
'upper' => mktime(0, 0, 0, 1, 1, 2038)
|
||
|
],
|
||
|
'behaviour' => [
|
||
|
'allowLanguageSynchronization' => true
|
||
|
]
|
||
|
],
|
||
|
],
|
||
|
|
||
|
'title' => [
|
||
|
'exclude' => true,
|
||
|
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events_domain_model_region.title',
|
||
|
'config' => [
|
||
|
'type' => 'input',
|
||
|
'size' => 30,
|
||
|
'eval' => 'trim'
|
||
|
],
|
||
|
],
|
||
|
|
||
|
],
|
||
|
];
|