Commit 18f10c0a authored by Mathias Schreiber's avatar Mathias Schreiber
Browse files

Applied PSR2

parent 25cfef9c
......@@ -13,32 +13,29 @@ if (!isset($_EXTKEY)) {
$_EXTKEY = 'typo3_roadmap';
}
$EM_CONF[$_EXTKEY] = array(
'title' => 'TYPO3 Roadmap',
'description' => 'Roadmap and Chart Generator for TYPO3.org',
'category' => 'plugin',
'author' => 'Mathias Schreiber',
'author_email' => 'mathias.schreiber@typo3.org',
'shy' => '',
'dependencies' => '',
'conflicts' => '',
'priority' => '',
'module' => '',
'state' => 'beta',
'internal' => '',
'uploadfolder' => 0,
'createDirs' => '',
'modify_tables' => '',
'clearCacheOnLoad' => 0,
'lockType' => '',
'author_company' => '',
'version' => '0.0.0',
'constraints' => array(
'depends' => array(
),
'conflicts' => array(
),
'suggests' => array(
),
),
'_md5_values_when_last_written' => 'a:15:{s:9:"ChangeLog";s:4:"79fe";s:12:"ext_icon.gif";s:4:"1bdc";s:17:"ext_localconf.php";s:4:"d5f6";s:14:"ext_tables.php";s:4:"cf62";s:14:"ext_tables.sql";s:4:"3809";s:37:"icon_tx_typo3roadmap_majorversion.gif";s:4:"475a";s:37:"icon_tx_typo3roadmap_minorversion.gif";s:4:"a25c";s:35:"icon_tx_typo3roadmap_phpversion.gif";s:4:"401f";s:16:"locallang_db.xml";s:4:"7a43";s:10:"README.txt";s:4:"ee2d";s:7:"tca.php";s:4:"0926";s:19:"doc/wizard_form.dat";s:4:"d3cd";s:20:"doc/wizard_form.html";s:4:"2d73";s:33:"pi1/class.tx_typo3roadmap_pi1.php";s:4:"a503";s:17:"pi1/locallang.xml";s:4:"576f";}',
'title' => 'TYPO3 Roadmap',
'description' => 'Roadmap and Chart Generator for TYPO3.org',
'category' => 'plugin',
'author' => 'Mathias Schreiber',
'author_email' => 'mathias.schreiber@typo3.org',
'shy' => '',
'dependencies' => '',
'conflicts' => '',
'priority' => '',
'module' => '',
'state' => 'beta',
'internal' => '',
'uploadfolder' => 0,
'createDirs' => '',
'modify_tables' => '',
'clearCacheOnLoad' => 0,
'lockType' => '',
'author_company' => '',
'version' => '0.0.0',
'constraints' => array(
'depends' => array(),
'conflicts' => array(),
'suggests' => array(),
),
'_md5_values_when_last_written' => 'a:15:{s:9:"ChangeLog";s:4:"79fe";s:12:"ext_icon.gif";s:4:"1bdc";s:17:"ext_localconf.php";s:4:"d5f6";s:14:"ext_tables.php";s:4:"cf62";s:14:"ext_tables.sql";s:4:"3809";s:37:"icon_tx_typo3roadmap_majorversion.gif";s:4:"475a";s:37:"icon_tx_typo3roadmap_minorversion.gif";s:4:"a25c";s:35:"icon_tx_typo3roadmap_phpversion.gif";s:4:"401f";s:16:"locallang_db.xml";s:4:"7a43";s:10:"README.txt";s:4:"ee2d";s:7:"tca.php";s:4:"0926";s:19:"doc/wizard_form.dat";s:4:"d3cd";s:20:"doc/wizard_form.html";s:4:"2d73";s:33:"pi1/class.tx_typo3roadmap_pi1.php";s:4:"a503";s:17:"pi1/locallang.xml";s:4:"576f";}',
);
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
die ('Access denied.');
}
if (!isset($_EXTKEY)) {
$_EXTKEY = 'typo3_roadmap';
......
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
die ('Access denied.');
}
if (!isset($_EXTKEY)) {
$_EXTKEY = 'typo3_roadmap';
}
$TCA['tx_typo3roadmap_majorversion'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_majorversion',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_majorversion',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'dividers2tabs' => 1,
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_majorversion.gif',
),
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_majorversion.gif',
),
);
$TCA['tx_typo3roadmap_minorversion'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_minorversion',
'label' => 'version',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_minorversion.gif',
),
'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_minorversion',
'label' => 'version',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_minorversion.gif',
),
);
$TCA['tx_typo3roadmap_phpversion'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_phpversion',
'label' => 'version',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_phpversion.gif',
),
'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_phpversion',
'label' => 'version',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_phpversion.gif',
),
);
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
t3lib_extMgm::addPlugin(array(
'LLL:EXT:typo3_roadmap/locallang_db.xml:tt_content.list_type_pi1',
$_EXTKEY . '_pi1',
t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'
),'list_type');
'LLL:EXT:typo3_roadmap/locallang_db.xml:tt_content.list_type_pi1',
$_EXTKEY . '_pi1',
t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'
), 'list_type');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment