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

Applied PSR2

parent 25cfef9c
...@@ -13,32 +13,29 @@ if (!isset($_EXTKEY)) { ...@@ -13,32 +13,29 @@ if (!isset($_EXTKEY)) {
$_EXTKEY = 'typo3_roadmap'; $_EXTKEY = 'typo3_roadmap';
} }
$EM_CONF[$_EXTKEY] = array( $EM_CONF[$_EXTKEY] = array(
'title' => 'TYPO3 Roadmap', 'title' => 'TYPO3 Roadmap',
'description' => 'Roadmap and Chart Generator for TYPO3.org', 'description' => 'Roadmap and Chart Generator for TYPO3.org',
'category' => 'plugin', 'category' => 'plugin',
'author' => 'Mathias Schreiber', 'author' => 'Mathias Schreiber',
'author_email' => 'mathias.schreiber@typo3.org', 'author_email' => 'mathias.schreiber@typo3.org',
'shy' => '', 'shy' => '',
'dependencies' => '', 'dependencies' => '',
'conflicts' => '', 'conflicts' => '',
'priority' => '', 'priority' => '',
'module' => '', 'module' => '',
'state' => 'beta', 'state' => 'beta',
'internal' => '', 'internal' => '',
'uploadfolder' => 0, 'uploadfolder' => 0,
'createDirs' => '', 'createDirs' => '',
'modify_tables' => '', 'modify_tables' => '',
'clearCacheOnLoad' => 0, 'clearCacheOnLoad' => 0,
'lockType' => '', 'lockType' => '',
'author_company' => '', 'author_company' => '',
'version' => '0.0.0', 'version' => '0.0.0',
'constraints' => array( 'constraints' => array(
'depends' => array( 'depends' => array(),
), 'conflicts' => array(),
'conflicts' => array( 'suggests' => 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";}',
),
),
'_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 <?php
if (!defined('TYPO3_MODE')) { if (!defined('TYPO3_MODE')) {
die ('Access denied.'); die ('Access denied.');
} }
if (!isset($_EXTKEY)) { if (!isset($_EXTKEY)) {
$_EXTKEY = 'typo3_roadmap'; $_EXTKEY = 'typo3_roadmap';
......
<?php <?php
if (!defined('TYPO3_MODE')) { if (!defined('TYPO3_MODE')) {
die ('Access denied.'); die ('Access denied.');
} }
if (!isset($_EXTKEY)) { if (!isset($_EXTKEY)) {
$_EXTKEY = 'typo3_roadmap'; $_EXTKEY = 'typo3_roadmap';
} }
$TCA['tx_typo3roadmap_majorversion'] = array( $TCA['tx_typo3roadmap_majorversion'] = array(
'ctrl' => array( 'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_majorversion', 'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_majorversion',
'label' => 'title', 'label' => 'title',
'tstamp' => 'tstamp', 'tstamp' => 'tstamp',
'crdate' => 'crdate', 'crdate' => 'crdate',
'cruser_id' => 'cruser_id', 'cruser_id' => 'cruser_id',
'sortby' => 'sorting', 'sortby' => 'sorting',
'delete' => 'deleted', 'delete' => 'deleted',
'dividers2tabs' => 1, 'dividers2tabs' => 1,
'enablecolumns' => array( 'enablecolumns' => array(
'disabled' => 'hidden', 'disabled' => 'hidden',
'starttime' => 'starttime', 'starttime' => 'starttime',
'endtime' => 'endtime', 'endtime' => 'endtime',
), ),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_majorversion.gif', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_majorversion.gif',
), ),
); );
$TCA['tx_typo3roadmap_minorversion'] = array( $TCA['tx_typo3roadmap_minorversion'] = array(
'ctrl' => array( 'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_minorversion', 'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_minorversion',
'label' => 'version', 'label' => 'version',
'tstamp' => 'tstamp', 'tstamp' => 'tstamp',
'crdate' => 'crdate', 'crdate' => 'crdate',
'cruser_id' => 'cruser_id', 'cruser_id' => 'cruser_id',
'sortby' => 'sorting', 'sortby' => 'sorting',
'delete' => 'deleted', 'delete' => 'deleted',
'enablecolumns' => array( 'enablecolumns' => array(
'disabled' => 'hidden', 'disabled' => 'hidden',
), ),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_minorversion.gif', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_minorversion.gif',
), ),
); );
$TCA['tx_typo3roadmap_phpversion'] = array( $TCA['tx_typo3roadmap_phpversion'] = array(
'ctrl' => array( 'ctrl' => array(
'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_phpversion', 'title' => 'LLL:EXT:typo3_roadmap/locallang_db.xml:tx_typo3roadmap_phpversion',
'label' => 'version', 'label' => 'version',
'tstamp' => 'tstamp', 'tstamp' => 'tstamp',
'crdate' => 'crdate', 'crdate' => 'crdate',
'cruser_id' => 'cruser_id', 'cruser_id' => 'cruser_id',
'sortby' => 'sorting', 'sortby' => 'sorting',
'delete' => 'deleted', 'delete' => 'deleted',
'enablecolumns' => array( 'enablecolumns' => array(
'disabled' => 'hidden', 'disabled' => 'hidden',
), ),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_phpversion.gif', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_typo3roadmap_phpversion.gif',
), ),
); );
t3lib_div::loadTCA('tt_content'); 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( t3lib_extMgm::addPlugin(array(
'LLL:EXT:typo3_roadmap/locallang_db.xml:tt_content.list_type_pi1', 'LLL:EXT:typo3_roadmap/locallang_db.xml:tt_content.list_type_pi1',
$_EXTKEY . '_pi1', $_EXTKEY . '_pi1',
t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif' t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'
),'list_type'); ), '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