Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
136a25a3
Commit
136a25a3
authored
Mar 25, 2021
by
Stefan Busemann
Browse files
[TASK] Add TYPO3 v11 support for roadmap extension
thx to Benni Mack
parent
9caa40e4
Pipeline
#10530
failed with stages
in 1 minute and 49 seconds
Changes
12
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/typo3_roadmap/Classes/Controller/RoadmapController.php
View file @
136a25a3
...
...
@@ -2,6 +2,7 @@
declare
(
strict_types
=
1
);
namespace
T3o\Typo3Roadmap\Controller
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
/**
* This file is part of the TYPO3 CMS project.
*
...
...
@@ -79,7 +80,7 @@ class RoadmapController extends ActionController
protected
function
renderCharts
(
$majorVersions
):
void
{
/** @var PageRenderer $pageRenderer */
$pageRenderer
=
\
TYPO3\CMS\Core\Utility\
GeneralUtility
::
makeInstance
(
PageRenderer
::
class
);
$pageRenderer
=
GeneralUtility
::
makeInstance
(
PageRenderer
::
class
);
$pageRenderer
->
addJsFooterLibrary
(
'amcharts'
,
'EXT:typo3_roadmap/Resources/Public/JavaScript/amcharts.min.js'
);
$pageRenderer
->
addJsFooterLibrary
(
'amcharts_serial'
,
'EXT:typo3_roadmap/Resources/Public/JavaScript/serial.min.js'
);
$pageRenderer
->
addJsFooterLibrary
(
'amcharts_gantt'
,
'EXT:typo3_roadmap/Resources/Public/JavaScript/gantt.min.js'
);
...
...
extensions/typo3_roadmap/Classes/Domain/Repository/FeatureAreaRepository.php
View file @
136a25a3
...
...
@@ -2,6 +2,7 @@
declare
(
strict_types
=
1
);
namespace
T3o\Typo3Roadmap\Domain\Repository
;
use
TYPO3\CMS\Extbase\Persistence\Repository
;
/**
* This file is part of the TYPO3 CMS project.
*
...
...
@@ -14,10 +15,9 @@ namespace T3o\Typo3Roadmap\Domain\Repository;
*
* The TYPO3 project - inspiring people to share!
*/
/**
* The repository for FeatureAreas
*/
class
FeatureAreaRepository
extends
\
TYPO3\CMS\Extbase\Persistence\
Repository
class
FeatureAreaRepository
extends
Repository
{
}
extensions/typo3_roadmap/Classes/Domain/Repository/MajorVersionRepository.php
View file @
136a25a3
...
...
@@ -2,6 +2,7 @@
declare
(
strict_types
=
1
);
namespace
T3o\Typo3Roadmap\Domain\Repository
;
use
TYPO3\CMS\Extbase\Persistence\Repository
;
/**
* This file is part of the TYPO3 CMS project.
*
...
...
@@ -14,11 +15,10 @@ namespace T3o\Typo3Roadmap\Domain\Repository;
*
* The TYPO3 project - inspiring people to share!
*/
/**
* Class \T3o\Typo3Roadmap\Domain\Repository\MajorVersionRepository
* @author Sebastian Diez
*/
class
MajorVersionRepository
extends
\
TYPO3\CMS\Extbase\Persistence\
Repository
class
MajorVersionRepository
extends
Repository
{
}
extensions/typo3_roadmap/Classes/Domain/Repository/PhpVersionRepository.php
View file @
136a25a3
...
...
@@ -2,6 +2,7 @@
declare
(
strict_types
=
1
);
namespace
T3o\Typo3Roadmap\Domain\Repository
;
use
TYPO3\CMS\Extbase\Persistence\Repository
;
/**
* This file is part of the TYPO3 CMS project.
*
...
...
@@ -14,11 +15,10 @@ namespace T3o\Typo3Roadmap\Domain\Repository;
*
* The TYPO3 project - inspiring people to share!
*/
/**
* Class \T3o\Typo3Roadmap\Domain\Repository\PhpVersionRepository
* @author Sebastian Diez
*/
class
PhpVersionRepository
extends
\
TYPO3\CMS\Extbase\Persistence\
Repository
class
PhpVersionRepository
extends
Repository
{
}
extensions/typo3_roadmap/Configuration/TCA/tx_typo3roadmap_domain_model_feature.php
View file @
136a25a3
<?php
return
[
'ctrl'
=>
[
'title'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature'
,
'title'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature'
,
'label'
=>
'header'
,
'tstamp'
=>
'tstamp'
,
'crdate'
=>
'crdate'
,
...
...
@@ -19,23 +19,20 @@ return [
'searchFields'
=>
'header,description,images,link,typo3releaseminorversion,feature_area'
,
'iconfile'
=>
'EXT:typo3_roadmap/Resources/Public/Icons/tx_typo3roadmap_domain_model_feature.gif'
],
'interface'
=>
[
'showRecordFieldList'
=>
'sys_language_uid, l10n_parent, l10n_diffsource, hidden, header, description, images, link, typo3releasemajorversion, typo3releaseminorversion, feature_area'
,
],
'types'
=>
[
'1'
=>
[
'showitem'
=>
'sys_language_uid, l10n_parent, l10n_diffsource, hidden, header, description, images, link, typo3releasemajorversion, typo3releaseminorversion, feature_area, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'
],
],
'columns'
=>
[
'sys_language_uid'
=>
[
'exclude'
=>
true
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.language'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.language'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
'special'
=>
'languages'
,
'items'
=>
[
[
'LLL:EXT:
lang
/locallang_general.xlf:LGL.allLanguages'
,
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.allLanguages'
,
-
1
,
'flags-multiple'
]
...
...
@@ -45,8 +42,7 @@ return [
],
'l10n_parent'
=>
[
'displayCond'
=>
'FIELD:sys_language_uid:>:0'
,
'exclude'
=>
true
,
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent'
,
'label'
=>
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
...
...
@@ -63,7 +59,7 @@ return [
],
],
't3ver_label'
=>
[
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.versionLabel'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.versionLabel'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
30
,
...
...
@@ -72,31 +68,31 @@ return [
],
'hidden'
=>
[
'exclude'
=>
true
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.hidden'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.hidden'
,
'config'
=>
[
'type'
=>
'check'
,
'items'
=>
[
'1'
=>
[
'0'
=>
'LLL:EXT:
lang
/locallang_core.xlf:labels.enabled'
'0'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_core.xlf:labels.enabled'
]
],
],
],
'starttime'
=>
[
'exclude'
=>
true
,
'l10n_mode'
=>
'mergeIfNotBlank'
,
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.starttime'
,
'label'
=>
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
13
,
'eval'
=>
'datetime'
,
'default'
=>
0
,
'renderType'
=>
'inputDateTime'
,
[
'behaviour'
=>
[
'allowLanguageSynchronization'
=>
true
]],
],
],
'endtime'
=>
[
'exclude'
=>
true
,
'l10n_mode'
=>
'mergeIfNotBlank'
,
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.endtime'
,
'label'
=>
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
13
,
...
...
@@ -105,12 +101,14 @@ return [
'range'
=>
[
'upper'
=>
mktime
(
0
,
0
,
0
,
1
,
1
,
2038
)
],
'renderType'
=>
'inputDateTime'
,
[
'behaviour'
=>
[
'allowLanguageSynchronization'
=>
true
]],
],
],
'header'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature.header'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature.header'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
30
,
...
...
@@ -119,7 +117,7 @@ return [
],
'description'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature.description'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature.description'
,
'config'
=>
[
'type'
=>
'text'
,
'enableRichtext'
=>
true
,
...
...
@@ -136,29 +134,17 @@ return [
],
'link'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature.link'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature.link'
,
'config'
=>
[
'type'
=>
'input'
,
'wizards'
=>
[
'link'
=>
[
'type'
=>
'popup'
,
'icon'
=>
'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif'
,
'module'
=>
[
'name'
=>
'wizard_element_browser'
,
'urlParameters'
=>
[
'mode'
=>
'wizard'
,
],
],
'JSopenParams'
=>
'height=300,width=500,status=0,menubar=0,scrollbars=1'
,
],
],
'size'
=>
30
,
'eval'
=>
'trim'
'eval'
=>
'trim'
,
'renderType'
=>
'inputLink'
],
],
'typo3releasemajorversion'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature.typo3releasemajorversion'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature.typo3releasemajorversion'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
...
...
@@ -174,7 +160,7 @@ return [
],
'typo3releaseminorversion'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature.typo3releaseminiorversion'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature.typo3releaseminiorversion'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
...
...
@@ -191,7 +177,7 @@ return [
],
'feature_area'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_feature.feature_area'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_feature.feature_area'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
...
...
extensions/typo3_roadmap/Configuration/TCA/tx_typo3roadmap_domain_model_featurearea.php
View file @
136a25a3
<?php
return
[
'ctrl'
=>
[
'title'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_featurearea'
,
'title'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_featurearea'
,
'label'
=>
'title'
,
'tstamp'
=>
'tstamp'
,
'crdate'
=>
'crdate'
,
...
...
@@ -19,23 +19,20 @@ return [
'searchFields'
=>
'title,description,page,images'
,
'iconfile'
=>
'EXT:typo3_roadmap/Resources/Public/Icons/tx_typo3roadmap_domain_model_featurearea.gif'
],
'interface'
=>
[
'showRecordFieldList'
=>
'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, description, page, images'
,
],
'types'
=>
[
'1'
=>
[
'showitem'
=>
'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, description, page, images, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'
],
],
'columns'
=>
[
'sys_language_uid'
=>
[
'exclude'
=>
true
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.language'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.language'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
'special'
=>
'languages'
,
'items'
=>
[
[
'LLL:EXT:
lang
/locallang_general.xlf:LGL.allLanguages'
,
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.allLanguages'
,
-
1
,
'flags-multiple'
]
...
...
@@ -45,8 +42,7 @@ return [
],
'l10n_parent'
=>
[
'displayCond'
=>
'FIELD:sys_language_uid:>:0'
,
'exclude'
=>
true
,
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent'
,
'label'
=>
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent'
,
'config'
=>
[
'type'
=>
'select'
,
'renderType'
=>
'selectSingle'
,
...
...
@@ -63,7 +59,7 @@ return [
],
],
't3ver_label'
=>
[
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.versionLabel'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.versionLabel'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
30
,
...
...
@@ -72,31 +68,31 @@ return [
],
'hidden'
=>
[
'exclude'
=>
true
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.hidden'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.hidden'
,
'config'
=>
[
'type'
=>
'check'
,
'items'
=>
[
'1'
=>
[
'0'
=>
'LLL:EXT:
lang
/locallang_core.xlf:labels.enabled'
'0'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_core.xlf:labels.enabled'
]
],
],
],
'starttime'
=>
[
'exclude'
=>
true
,
'l10n_mode'
=>
'mergeIfNotBlank'
,
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.starttime'
,
'label'
=>
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
13
,
'eval'
=>
'datetime'
,
'default'
=>
0
,
'renderType'
=>
'inputDateTime'
,
[
'behaviour'
=>
[
'allowLanguageSynchronization'
=>
true
]],
],
],
'endtime'
=>
[
'exclude'
=>
true
,
'l10n_mode'
=>
'mergeIfNotBlank'
,
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.endtime'
,
'label'
=>
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
13
,
...
...
@@ -105,12 +101,14 @@ return [
'range'
=>
[
'upper'
=>
mktime
(
0
,
0
,
0
,
1
,
1
,
2038
)
],
'renderType'
=>
'inputDateTime'
,
[
'behaviour'
=>
[
'allowLanguageSynchronization'
=>
true
]],
],
],
'title'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_featurearea.title'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_featurearea.title'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
30
,
...
...
@@ -119,7 +117,7 @@ return [
],
'description'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_featurearea.description'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_featurearea.description'
,
'config'
=>
[
'type'
=>
'text'
,
'enableRichtext'
=>
true
,
...
...
@@ -127,29 +125,17 @@ return [
],
'page'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_featurearea.page'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_featurearea.page'
,
'config'
=>
[
'type'
=>
'input'
,
'wizards'
=>
[
'link'
=>
[
'type'
=>
'popup'
,
'icon'
=>
'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif'
,
'module'
=>
[
'name'
=>
'wizard_element_browser'
,
'urlParameters'
=>
[
'mode'
=>
'wizard'
,
],
],
'JSopenParams'
=>
'height=300,width=500,status=0,menubar=0,scrollbars=1'
,
],
],
'size'
=>
30
,
'eval'
=>
'trim,required'
'eval'
=>
'trim,required'
,
'renderType'
=>
'inputLink'
],
],
'images'
=>
[
'exclude'
=>
false
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_featurearea.images'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_featurearea.images'
,
'config'
=>
\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
getFileFieldTCAConfig
(
'images'
,
...
...
@@ -157,39 +143,39 @@ return [
'appearance'
=>
[
'createNewRelationLinkTitle'
=>
'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types'
=>
[
'maxitems'
=>
10
,
'overrideChildTca'
=>
[
'types'
=>
[
'0'
=>
[
'showitem'
=>
'
--palette--;LLL:EXT:
lang
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;LLL:EXT:
core/Resources/Private/Language
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\
TYPO3\CMS\Core\Resource\File
::
FILETYPE_TEXT
=>
[
'showitem'
=>
'
--palette--;LLL:EXT:
lang
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;LLL:EXT:
core/Resources/Private/Language
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\
TYPO3\CMS\Core\Resource\File
::
FILETYPE_IMAGE
=>
[
'showitem'
=>
'
--palette--;LLL:EXT:
lang
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;LLL:EXT:
core/Resources/Private/Language
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\
TYPO3\CMS\Core\Resource\File
::
FILETYPE_AUDIO
=>
[
'showitem'
=>
'
--palette--;LLL:EXT:
lang
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;LLL:EXT:
core/Resources/Private/Language
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\
TYPO3\CMS\Core\Resource\File
::
FILETYPE_VIDEO
=>
[
'showitem'
=>
'
--palette--;LLL:EXT:
lang
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;LLL:EXT:
core/Resources/Private/Language
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
\
TYPO3\CMS\Core\Resource\File
::
FILETYPE_APPLICATION
=>
[
'showitem'
=>
'
--palette--;LLL:EXT:
lang
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;LLL:EXT:
core/Resources/Private/Language
/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
]
],
'maxitems'
=>
10
]]
],
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'GFX'
][
'imagefile_ext'
]
),
...
...
extensions/typo3_roadmap/Configuration/TCA/tx_typo3roadmap_domain_model_majorversion.php
View file @
136a25a3
...
...
@@ -5,29 +5,24 @@ if (!defined('TYPO3_MODE')) {
return
[
'ctrl'
=>
[
'title'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_majorversion'
,
'title'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_majorversion'
,
'label'
=>
'title'
,
'tstamp'
=>
'tstamp'
,
'crdate'
=>
'crdate'
,
'cruser_id'
=>
'cruser_id'
,
'sortby'
=>
'sorting'
,
'delete'
=>
'deleted'
,
'dividers2tabs'
=>
1
,
'enablecolumns'
=>
[
'disabled'
=>
'hidden'
,
'starttime'
=>
'starttime'
,
'endtime'
=>
'endtime'
,
],
'dynamicConfigFile'
=>
\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
extPath
(
'typo3_roadmap'
)
.
'Configuration/TCA/tx_typo3roadmap_domain_model_majorversion.php'
,
'iconfile'
=>
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
extPath
(
'typo3_roadmap'
)
.
'Resources/Public/Icons/tx_typo3roadmap_domain_model_majorversion.gif'
,
],
'interface'
=>
[
'showRecordFieldList'
=>
'hidden,starttime,endtime,title,body_text,regular_support,priority_support,extended_support,php_versions'
],
'columns'
=>
[
'hidden'
=>
[
'exclude'
=>
1
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.hidden'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.hidden'
,
'config'
=>
[
'type'
=>
'check'
,
'default'
=>
'0'
...
...
@@ -35,35 +30,35 @@ return [
],
'starttime'
=>
[
'exclude'
=>
1
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.starttime'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.starttime'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'8'
,
'max'
=>
'20'
,
'eval'
=>
'date'
,
'default'
=>
'0'
,
'checkbox'
=>
'0'
'checkbox'
=>
'0'
,
'renderType'
=>
'inputDateTime'
]
],
'endtime'
=>
[
'exclude'
=>
1
,
'label'
=>
'LLL:EXT:
lang
/locallang_general.xlf:LGL.endtime'
,
'label'
=>
'LLL:EXT:
core/Resources/Private/Language
/locallang_general.xlf:LGL.endtime'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'8'
,
'max'
=>
'20'
,
'eval'
=>
'date'
,
'checkbox'
=>
'0'
,
'default'
=>
'0'
,
'range'
=>
[
'upper'
=>
mktime
(
3
,
14
,
7
,
1
,
19
,
2038
),
'lower'
=>
mktime
(
0
,
0
,
0
,
date
(
'm'
)
-
1
,
date
(
'd'
),
date
(
'Y'
))
]
],
'renderType'
=>
'inputDateTime'
]
],
'title'
=>
[
'exclude'
=>
0
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_majorversion.title'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_majorversion.title'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'30'
,
...
...
@@ -72,7 +67,7 @@ return [
],
'body_text'
=>
[
'exclude'
=>
0
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_majorversion.body_text'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_majorversion.body_text'
,
'config'
=>
[
'type'
=>
'text'
,
'enableRichtext'
=>
true
,
...
...
@@ -84,51 +79,51 @@ return [
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'8'
,
'max'
=>
'20'
,
'eval'
=>
'date'
,
'checkbox'
=>
'0'
,
'default'
=>
'0'
'default'
=>
'0'
,
'renderType'
=>
'inputDateTime'
]
],
'regular_support'
=>
[
'exclude'
=>
0
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_majorversion.regular_support'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_majorversion.regular_support'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'8'
,
'max'
=>
'20'
,
'eval'
=>
'date'
,
'checkbox'
=>
'0'
,
'default'
=>
'0'
'default'
=>
'0'
,
'renderType'
=>
'inputDateTime'
]
],
'priority_support'
=>
[
'exclude'
=>
0
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_majorversion.priority_support'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_majorversion.priority_support'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'8'
,
'max'
=>
'20'
,
'eval'
=>
'date'
,
'checkbox'
=>
'0'
,
'default'
=>
'0'
'default'
=>
'0'
,
'renderType'
=>
'inputDateTime'
]
],
'extended_support'
=>
[
'exclude'
=>
0
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.x
m
l:tx_typo3roadmap_domain_model_majorversion.extended_support'
,
'label'
=>
'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xl
f
:tx_typo3roadmap_domain_model_majorversion.extended_support'
,
'config'
=>
[
'type'
=>
'input'
,
'size'
=>
'8'
,
'max'
=>
'20'
,
'eval'
=>
'date'
,
'checkbox'
=>
'0'
,
'default'
=>
'0'
'default'
=>
'0'
,
'renderType'
=>
'inputDateTime'