diff --git a/Classes/Service/PluginConfigurationService.php b/Classes/Service/PluginConfigurationService.php
index df4dbc10..cc6744f3 100644
--- a/Classes/Service/PluginConfigurationService.php
+++ b/Classes/Service/PluginConfigurationService.php
@@ -59,8 +59,8 @@ public function addConfig(array $config): array
{
foreach (Register::getRegister() as $key => $configuration) {
$config['items'][] = [
- $configuration['title'],
- $key,
+ 'label' => $configuration['title'],
+ 'value' => $key,
];
}
diff --git a/Configuration/FlexForms/Calendar.xml b/Configuration/FlexForms/Calendar.xml
index 8e4e4563..95b7726c 100644
--- a/Configuration/FlexForms/Calendar.xml
+++ b/Configuration/FlexForms/Calendar.xml
@@ -25,8 +25,8 @@
1
-
-
+
+
@@ -115,9 +115,7 @@
- input
- datetime
- inputDateTime
+ datetime
@@ -135,9 +133,7 @@
- input
- datetime
- inputDateTime
+ datetime
@@ -214,16 +210,16 @@
selectSingle
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:tx_calendarize_domain_model_configuration.start_date
- start
+
+ start
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:tx_calendarize_domain_model_configuration.end_date
- end
+
+ end
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:tx_calendarize_domain_model_configuration.with_range_last
- withrangelast
+
+ withrangelast
@@ -239,12 +235,12 @@
selectSingle
- ASC
- ASC
+
+ ASC
- DESC
- DESC
+
+ DESC
@@ -275,32 +271,32 @@
selectSingle
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:inherit
-
+
+
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:recursive.I.0
- 0
+
+ 0
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:recursive.I.1
- 1
+
+ 1
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:recursive.I.2
- 2
+
+ 2
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:recursive.I.3
- 3
+
+ 3
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:recursive.I.4
- 4
+
+ 4
- LLL:EXT:calendarize/Resources/Private/Language/locallang.xlf:recursive.I.5
- 250
+
+ 250
diff --git a/Configuration/FlexForms/TimeTable/Manipulation.xml b/Configuration/FlexForms/TimeTable/Manipulation.xml
index 9a9097eb..961f3692 100644
--- a/Configuration/FlexForms/TimeTable/Manipulation.xml
+++ b/Configuration/FlexForms/TimeTable/Manipulation.xml
@@ -15,9 +15,9 @@
- input
- inputDateTime
- time,null
+ datetime
+ time
+ 1
@@ -25,9 +25,9 @@
- input
- inputDateTime
- time,null
+ datetime
+ time
+ 1
diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php
index 6107e679..49e8fd73 100644
--- a/Configuration/TCA/Overrides/pages.php
+++ b/Configuration/TCA/Overrides/pages.php
@@ -8,9 +8,9 @@
$icon = 'apps-pagetree-folder-contains-calendarize';
$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
- 0 => 'Calendarize',
- 1 => 'calendarize',
- 2 => $icon,
+ 'label' => 'Calendarize',
+ 'value' => 'calendarize',
+ 'icon' => $icon,
];
$GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-calendarize'] = $icon;
})();
diff --git a/Configuration/TCA/tx_calendarize_domain_model_configuration.php b/Configuration/TCA/tx_calendarize_domain_model_configuration.php
index c249bd49..9205ebbc 100644
--- a/Configuration/TCA/tx_calendarize_domain_model_configuration.php
+++ b/Configuration/TCA/tx_calendarize_domain_model_configuration.php
@@ -11,9 +11,7 @@
return [
'ctrl' => [
'crdate' => 'crdate',
- 'cruser_id' => 'cruser_id',
'delete' => 'deleted',
- 'dividers2tabs' => '1',
'enablecolumns' => [
'disabled' => 'hidden',
'endtime' => 'endtime',
@@ -70,9 +68,7 @@
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'datetime,int',
+ 'type' => 'datetime',
'default' => 0,
],
'l10n_mode' => 'exclude',
@@ -82,9 +78,7 @@
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'datetime,int',
+ 'type' => 'datetime',
'default' => 0,
'range' => [
'upper' => mktime(0, 0, 0, 1, 1, 2038),
@@ -102,9 +96,9 @@
'authMode' => 'explicitDeny',
'authMode_enforce' => 'strict',
'items' => [
- [$ll . 'configuration.type.time', 'time'],
- [$ll . 'configuration.type.group', 'group'],
- [$ll . 'configuration.type.external', 'external'],
+ ['label' => $ll . 'configuration.type.time', 'value' => 'time'],
+ ['label' => $ll . 'configuration.type.group', 'value' => 'group'],
+ ['label' => $ll . 'configuration.type.external', 'value' => 'external'],
],
'default' => Configuration::TYPE_TIME,
],
@@ -116,20 +110,20 @@
'renderType' => 'selectSingle',
'items' => [
[
- TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_INCLUDE),
- Configuration::HANDLING_INCLUDE,
+ 'label' => TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_INCLUDE),
+ 'value' => Configuration::HANDLING_INCLUDE,
],
[
- TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_EXCLUDE),
- Configuration::HANDLING_EXCLUDE,
+ 'label' => TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_EXCLUDE),
+ 'value' => Configuration::HANDLING_EXCLUDE,
],
[
- TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_OVERRIDE),
- Configuration::HANDLING_OVERRIDE,
+ 'label' => TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_OVERRIDE),
+ 'value' => Configuration::HANDLING_OVERRIDE,
],
[
- TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_CUTOUT),
- Configuration::HANDLING_CUTOUT,
+ 'label' => TranslateUtility::getLll('configuration.handling.' . Configuration::HANDLING_CUTOUT),
+ 'value' => Configuration::HANDLING_CUTOUT,
],
],
'default' => Configuration::HANDLING_INCLUDE,
@@ -141,12 +135,12 @@
'renderType' => 'selectSingle',
'items' => [
[
- '',
- Configuration::STATE_DEFAULT,
+ 'label' => '',
+ 'value' => Configuration::STATE_DEFAULT,
],
[
- $ll . 'configuration.state.canceled',
- Configuration::STATE_CANCELED,
+ 'label' => $ll . 'configuration.state.canceled',
+ 'value' => Configuration::STATE_CANCELED,
],
],
'default' => Configuration::STATE_DEFAULT,
@@ -156,9 +150,9 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.start_date',
'exclude' => false,
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'required,date',
+ 'type' => 'datetime',
+ 'format' => 'date',
+ 'required' => true,
'dbType' => 'date',
'size' => 13,
],
@@ -168,9 +162,8 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.end_date',
'exclude' => false,
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'date',
+ 'type' => 'datetime',
+ 'format' => 'date',
'dbType' => 'date',
'size' => 13,
],
@@ -180,9 +173,9 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.start_time',
'exclude' => false,
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'time,required',
+ 'type' => 'datetime',
+ 'format' => 'time',
+ 'required' => true,
'default' => 0,
'size' => 10,
],
@@ -197,9 +190,8 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.end_time',
'exclude' => false,
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'time',
+ 'type' => 'datetime',
+ 'format' => 'time',
'default' => 0,
'size' => 10,
],
@@ -258,32 +250,32 @@
'renderType' => 'selectSingle',
'items' => [
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_NONE),
- Configuration::FREQUENCY_NONE,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_NONE),
+ 'value' => Configuration::FREQUENCY_NONE,
],
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_MINUTELY),
- Configuration::FREQUENCY_MINUTELY,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_MINUTELY),
+ 'value' => Configuration::FREQUENCY_MINUTELY,
],
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_HOURLY),
- Configuration::FREQUENCY_HOURLY,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_HOURLY),
+ 'value' => Configuration::FREQUENCY_HOURLY,
],
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_DAILY),
- Configuration::FREQUENCY_DAILY,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_DAILY),
+ 'value' => Configuration::FREQUENCY_DAILY,
],
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_WEEKLY),
- Configuration::FREQUENCY_WEEKLY,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_WEEKLY),
+ 'value' => Configuration::FREQUENCY_WEEKLY,
],
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_MONTHLY),
- Configuration::FREQUENCY_MONTHLY,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_MONTHLY),
+ 'value' => Configuration::FREQUENCY_MONTHLY,
],
[
- TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_YEARLY),
- Configuration::FREQUENCY_YEARLY,
+ 'label' => TranslateUtility::getLll('configuration.frequency.' . Configuration::FREQUENCY_YEARLY),
+ 'value' => Configuration::FREQUENCY_YEARLY,
],
],
'default' => Configuration::FREQUENCY_NONE,
@@ -294,9 +286,8 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.till_date',
'exclude' => true,
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'date',
+ 'type' => 'datetime',
+ 'format' => 'date',
'dbType' => 'date',
'size' => 13,
],
@@ -311,8 +302,8 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.till_days',
'exclude' => true,
'config' => [
- 'type' => 'input',
- 'eval' => 'int,null',
+ 'type' => 'number',
+ 'nullable' => true,
'default' => null,
'size' => 10,
'range' => [
@@ -335,8 +326,8 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.till_days_past',
'exclude' => true,
'config' => [
- 'type' => 'input',
- 'eval' => 'int,null',
+ 'type' => 'number',
+ 'nullable' => true,
'default' => null,
'size' => 10,
'range' => [
@@ -354,8 +345,7 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.counter_amount',
'exclude' => true,
'config' => [
- 'type' => 'input',
- 'eval' => 'int',
+ 'type' => 'number',
'size' => 10,
'default' => 0,
'range' => [
@@ -373,8 +363,8 @@
'label' => $ll . 'tx_calendarize_domain_model_configuration.counter_interval',
'exclude' => true,
'config' => [
- 'type' => 'input',
- 'eval' => 'int,required',
+ 'type' => 'number',
+ 'required' => true,
'size' => 10,
'default' => 1,
'range' => [
@@ -393,20 +383,13 @@
'exclude' => true,
'displayCond' => 'FIELD:type:=:' . Configuration::TYPE_EXTERNAL,
'config' => [
- 'type' => 'input',
- 'eval' => 'trim,required',
- 'renderType' => 'inputLink',
- 'softref' => 'typolink',
- 'fieldControl' => [
- 'linkPopup' => [
- 'options' => [
- 'allowedExtensions' => 'ics',
- 'blindLinkOptions' => 'folder,mail,page,spec,telephone,tx_calendarize_domain_model_event',
- 'blindLinkFields' => 'class,target,title',
- ],
- ],
+ 'type' => 'link',
+ 'required' => true,
+ 'allowedTypes' => ['file', 'url'],
+ 'appearance' => [
+ 'allowedFileExtensions' => ['ics'],
+ 'allowedOptions' => [],
],
- 'max' => 2048,
],
],
'day' => [
@@ -417,48 +400,48 @@
'renderType' => 'selectSingleBox',
'items' => [
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_MONDAY),
- Configuration::DAY_MONDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_MONDAY),
+ 'value' => Configuration::DAY_MONDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_TUESDAY),
- Configuration::DAY_TUESDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_TUESDAY),
+ 'value' => Configuration::DAY_TUESDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_WEDNESDAY),
- Configuration::DAY_WEDNESDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_WEDNESDAY),
+ 'value' => Configuration::DAY_WEDNESDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_THURSDAY),
- Configuration::DAY_THURSDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_THURSDAY),
+ 'value' => Configuration::DAY_THURSDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_FRIDAY),
- Configuration::DAY_FRIDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_FRIDAY),
+ 'value' => Configuration::DAY_FRIDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SATURDAY),
- Configuration::DAY_SATURDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SATURDAY),
+ 'value' => Configuration::DAY_SATURDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SUNDAY),
- Configuration::DAY_SUNDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SUNDAY),
+ 'value' => Configuration::DAY_SUNDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_WEEKDAY),
- Configuration::DAY_SPECIAL_WEEKDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_WEEKDAY),
+ 'value' => Configuration::DAY_SPECIAL_WEEKDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_BUSINESS),
- Configuration::DAY_SPECIAL_BUSINESS,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_BUSINESS),
+ 'value' => Configuration::DAY_SPECIAL_BUSINESS,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_WORKDAY),
- Configuration::DAY_SPECIAL_WORKDAY,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_WORKDAY),
+ 'value' => Configuration::DAY_SPECIAL_WORKDAY,
],
[
- TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_WEEKEND),
- Configuration::DAY_SPECIAL_WEEKEND,
+ 'label' => TranslateUtility::getLll('configuration.day.' . Configuration::DAY_SPECIAL_WEEKEND),
+ 'value' => Configuration::DAY_SPECIAL_WEEKEND,
],
],
'default' => Configuration::DAY_NONE,
@@ -479,40 +462,40 @@
'renderType' => 'selectSingle',
'items' => [
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_NONE),
- Configuration::RECURRENCE_NONE,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_NONE),
+ 'value' => Configuration::RECURRENCE_NONE,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_FIRST),
- Configuration::RECURRENCE_FIRST,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_FIRST),
+ 'value' => Configuration::RECURRENCE_FIRST,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_SECOND),
- Configuration::RECURRENCE_SECOND,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_SECOND),
+ 'value' => Configuration::RECURRENCE_SECOND,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_THIRD),
- Configuration::RECURRENCE_THIRD,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_THIRD),
+ 'value' => Configuration::RECURRENCE_THIRD,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_FOURTH),
- Configuration::RECURRENCE_FOURTH,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_FOURTH),
+ 'value' => Configuration::RECURRENCE_FOURTH,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_FIFTH),
- Configuration::RECURRENCE_FIFTH,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_FIFTH),
+ 'value' => Configuration::RECURRENCE_FIFTH,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_LAST),
- Configuration::RECURRENCE_LAST,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_LAST),
+ 'value' => Configuration::RECURRENCE_LAST,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_NEXT_TO_LAST),
- Configuration::RECURRENCE_NEXT_TO_LAST,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_NEXT_TO_LAST),
+ 'value' => Configuration::RECURRENCE_NEXT_TO_LAST,
],
[
- TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_THIRD_LAST),
- Configuration::RECURRENCE_THIRD_LAST,
+ 'label' => TranslateUtility::getLll('configuration.recurrence.' . Configuration::RECURRENCE_THIRD_LAST),
+ 'value' => Configuration::RECURRENCE_THIRD_LAST,
],
],
'default' => Configuration::RECURRENCE_NONE,
@@ -532,28 +515,28 @@
'renderType' => 'selectSingle',
'items' => [
[
- '',
- '',
+ 'label' => '',
+ 'value' => '',
],
[
- TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_1_DAY),
- Configuration::END_DYNAMIC_1_DAY,
+ 'label' => TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_1_DAY),
+ 'value' => Configuration::END_DYNAMIC_1_DAY,
],
[
- TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_1_WEEK),
- Configuration::END_DYNAMIC_1_WEEK,
+ 'label' => TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_1_WEEK),
+ 'value' => Configuration::END_DYNAMIC_1_WEEK,
],
[
- TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_END_WEEK),
- Configuration::END_DYNAMIC_END_WEEK,
+ 'label' => TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_END_WEEK),
+ 'value' => Configuration::END_DYNAMIC_END_WEEK,
],
[
- TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_END_MONTH),
- Configuration::END_DYNAMIC_END_MONTH,
+ 'label' => TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_END_MONTH),
+ 'value' => Configuration::END_DYNAMIC_END_MONTH,
],
[
- TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_END_YEAR),
- Configuration::END_DYNAMIC_END_YEAR,
+ 'label' => TranslateUtility::getLll('configuration.end_date_dynamic.' . Configuration::END_DYNAMIC_END_YEAR),
+ 'value' => Configuration::END_DYNAMIC_END_YEAR,
],
],
'default' => '',
diff --git a/Configuration/TCA/tx_calendarize_domain_model_configurationgroup.php b/Configuration/TCA/tx_calendarize_domain_model_configurationgroup.php
index 9705ce0d..035e360c 100644
--- a/Configuration/TCA/tx_calendarize_domain_model_configurationgroup.php
+++ b/Configuration/TCA/tx_calendarize_domain_model_configurationgroup.php
@@ -8,7 +8,6 @@
'ctrl' => [
'crdate' => 'crdate',
'delete' => 'deleted',
- 'dividers2tabs' => '1',
'enablecolumns' => [
'disabled' => 'hidden',
'endtime' => 'endtime',
@@ -65,9 +64,7 @@
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'datetime,int',
+ 'type' => 'datetime',
'default' => 0,
],
'l10n_mode' => 'exclude',
@@ -77,9 +74,7 @@
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
- 'type' => 'input',
- 'renderType' => 'inputDateTime',
- 'eval' => 'datetime,int',
+ 'type' => 'datetime',
'default' => 0,
'range' => [
'upper' => mktime(0, 0, 0, 1, 1, 2038),
@@ -93,7 +88,8 @@
'exclude' => false,
'config' => [
'type' => 'input',
- 'eval' => 'trim,required',
+ 'eval' => 'trim',
+ 'required' => true,
],
],
'configurations' => [
diff --git a/Configuration/TCA/tx_calendarize_domain_model_event.php b/Configuration/TCA/tx_calendarize_domain_model_event.php
index 9fa5fdd8..4d851438 100644
--- a/Configuration/TCA/tx_calendarize_domain_model_event.php
+++ b/Configuration/TCA/tx_calendarize_domain_model_event.php
@@ -22,7 +22,6 @@
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
- 'dividers2tabs' => true,
'sortby' => 'sorting',
'delete' => 'deleted',
'searchFields' => 'uid,title,description',
@@ -41,16 +40,16 @@
'maxitems' => 20,
'items' => [
0 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
- 1 => -1,
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
+ 'value' => -1,
],
1 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
- 1 => -2,
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
+ 'value' => -2,
],
2 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
- 1 => '--div--',
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
+ 'value' => '--div--',
],
],
'exclusiveKeys' => '-1,-2',
@@ -113,8 +112,8 @@
'default' => 0,
'items' => [
0 => [
- 0 => '',
- 1 => 0,
+ 'label' => '',
+ 'value' => 0,
],
],
'foreign_table' => 'tx_calendarize_domain_model_event',
diff --git a/Configuration/TCA/tx_calendarize_domain_model_index.php b/Configuration/TCA/tx_calendarize_domain_model_index.php
index 763b8c78..022c5c4d 100644
--- a/Configuration/TCA/tx_calendarize_domain_model_index.php
+++ b/Configuration/TCA/tx_calendarize_domain_model_index.php
@@ -20,7 +20,6 @@
'label' => 'unique_register_key',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
- 'dividers2tabs' => true,
'sortby' => 'sorting',
'delete' => 'deleted',
'searchFields' => 'unique_register_key,foreign_table,foreign_uid,start_date,end_date,start_time,end_time,
@@ -45,16 +44,16 @@
'maxitems' => 20,
'items' => [
0 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
- 1 => -1,
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
+ 'value' => -1,
],
1 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
- 1 => -2,
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
+ 'value' => -2,
],
2 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
- 1 => '--div--',
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
+ 'value' => '--div--',
],
],
'exclusiveKeys' => '-1,-2',
@@ -107,8 +106,8 @@
'default' => 0,
'items' => [
0 => [
- 0 => '',
- 1 => 0,
+ 'label' => '',
+ 'value' => 0,
],
],
'foreign_table' => 'tx_calendarize_domain_model_index',
diff --git a/Configuration/TCA/tx_calendarize_domain_model_pluginconfiguration.php b/Configuration/TCA/tx_calendarize_domain_model_pluginconfiguration.php
index 9bd05d1f..762e598e 100644
--- a/Configuration/TCA/tx_calendarize_domain_model_pluginconfiguration.php
+++ b/Configuration/TCA/tx_calendarize_domain_model_pluginconfiguration.php
@@ -20,7 +20,6 @@
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
- 'dividers2tabs' => true,
'sortby' => 'sorting',
'delete' => 'deleted',
'searchFields' => 'title,model_name,configuration,storage_pid,recursive,detail_pid,list_pid,year_pid,
@@ -38,16 +37,16 @@
'maxitems' => 20,
'items' => [
0 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
- 1 => -1,
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
+ 'value' => -1,
],
1 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
- 1 => -2,
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
+ 'value' => -2,
],
2 => [
- 0 => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
- 1 => '--div--',
+ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
+ 'value' => '--div--',
],
],
'exclusiveKeys' => '-1,-2',
@@ -110,8 +109,8 @@
'default' => 0,
'items' => [
0 => [
- 0 => '',
- 1 => 0,
+ 'label' => '',
+ 'value' => 0,
],
],
'foreign_table' => 'tx_calendarize_domain_model_pluginconfiguration',
@@ -140,8 +139,8 @@
'renderType' => 'selectSingle',
'items' => [
0 => [
- 0 => 'Default',
- 1 => 'HDNET\\Calendarize\\Domain\\Model\\PluginConfiguration',
+ 'label' => 'Default',
+ 'value' => \HDNET\Calendarize\Domain\Model\PluginConfiguration::class,
],
],
],
@@ -178,32 +177,32 @@
'renderType' => 'selectSingle',
'items' => [
0 => [
- 0 => $ll . 'inherit',
- 1 => '',
+ 'label' => $ll . 'inherit',
+ 'value' => '',
],
1 => [
- 0 => $ll . 'recursive.I.0',
- 1 => '0',
+ 'label' => $ll . 'recursive.I.0',
+ 'value' => '0',
],
2 => [
- 0 => $ll . 'recursive.I.1',
- 1 => '1',
+ 'label' => $ll . 'recursive.I.1',
+ 'value' => '1',
],
3 => [
- 0 => $ll . 'recursive.I.2',
- 1 => '2',
+ 'label' => $ll . 'recursive.I.2',
+ 'value' => '2',
],
4 => [
- 0 => $ll . 'recursive.I.3',
- 1 => '3',
+ 'label' => $ll . 'recursive.I.3',
+ 'value' => '3',
],
5 => [
- 0 => $ll . 'recursive.I.4',
- 1 => '4',
+ 'label' => $ll . 'recursive.I.4',
+ 'value' => '4',
],
6 => [
- 0 => $ll . 'recursive.I.5',
- 1 => '250',
+ 'label' => $ll . 'recursive.I.5',
+ 'value' => '250',
],
],
'minitems' => 1,