ext_tables.php 9.44 KB
Newer Older
Jerome Mariette's avatar
Jerome Mariette committed
1 2 3
<?php
if (!defined ('TYPO3_MODE')) 	die ('Access denied.');

4 5 6 7 8 9
$TCA["fe_rights_levels"] = Array(
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:fe_rights_levels',
		'label' => 'right_level_id',
		"default_sortby" => "ORDER BY right_level_id",

10
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php"
11 12 13 14 15 16 17 18 19 20 21 22
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "right_level_id, right_level_label",
	)
);

$TCA["fe_rights"] = Array(
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:fe_rights',
		'label' => 'right_id, project_id, fe_user_id',
		"default_sortby" => "ORDER BY right_id",

23
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php"
24 25 26 27 28 29
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "fe_user_id, right_id, project_id",
	)
);

30 31
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_project");

Jerome Mariette's avatar
Jerome Mariette committed
32 33 34



35
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_run");
Jerome Mariette's avatar
Jerome Mariette committed
36 37 38 39 40 41 42 43 44 45 46 47 48

$TCA["tx_nG6_run"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_run',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
49 50
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_run.gif",
Jerome Mariette's avatar
Jerome Mariette committed
51 52 53 54 55 56 57
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, name, date, directory, species, data_nature, type, nb_sequences, full_seq_size, description, sequencer",
	)
);


58
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_analyze");
Jerome Mariette's avatar
Jerome Mariette committed
59 60 61 62 63 64 65 66 67 68 69 70 71

$TCA["tx_nG6_analyze"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_analyze',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
72 73
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_analyze.gif",
Jerome Mariette's avatar
Jerome Mariette committed
74 75
	),
	"feInterface" => Array (
76
		"fe_admin_fieldList" => "hidden, parent_uid, class, name, description, date, directory, software, version, params",
77 78 79 80
	)
);


81
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_sample");
82 83 84 85 86 87 88 89 90 91 92 93 94

$TCA["tx_nG6_sample"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_sample',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
95 96
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_sample.gif",
97 98 99 100 101 102 103
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, run_id, mid, description",
	)
);


104
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_result");
105 106 107 108 109 110 111 112 113 114 115 116 117

$TCA["tx_nG6_result"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_result',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
118 119
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_result.gif",
120 121 122
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "analyze_id, file, rkey, rvalue, rgroup",
Jerome Mariette's avatar
Jerome Mariette committed
123 124 125 126
	)
);


127
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_project_run");
Jerome Mariette's avatar
Jerome Mariette committed
128 129 130 131 132 133 134 135 136 137 138 139 140

$TCA["tx_nG6_project_run"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_project_run',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
141 142
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_project_run.gif",
Jerome Mariette's avatar
Jerome Mariette committed
143 144 145 146 147 148 149
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, project_id, run_id",
	)
);


150
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_project_analyze");
Jerome Mariette's avatar
Jerome Mariette committed
151 152 153 154 155 156 157 158 159 160 161 162 163

$TCA["tx_nG6_project_analyze"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_project_analyze',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
164 165
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_project_analyze.gif",
Jerome Mariette's avatar
Jerome Mariette committed
166 167 168 169 170 171 172
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, project_id, analyze_id",
	)
);


173
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_nG6_run_analyze");
Jerome Mariette's avatar
Jerome Mariette committed
174 175 176 177 178 179 180 181 182 183 184 185 186

$TCA["tx_nG6_run_analyze"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_run_analyze',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",
		),
187 188
		"dynamicConfigFile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."tca.php",
		"iconfile" => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY)."icon_tx_nG6_run_analyze.gif",
Jerome Mariette's avatar
Jerome Mariette committed
189 190 191 192 193 194 195
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, run_id, analyze_id",
	)
);


196

197
//\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
Jerome Mariette's avatar
Jerome Mariette committed
198
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';
199 200
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY.'_pi1'),'list_type');
if (TYPO3_MODE=="BE")	$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi1_wizicon"] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'pi1/class.tx_nG6_pi1_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
201

202
//\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
Jerome Mariette's avatar
Jerome Mariette committed
203
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi2']='layout,select_key';
204 205
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi2', $_EXTKEY.'_pi2'),'list_type');
if (TYPO3_MODE=="BE")	$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi2_wizicon"] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'pi2/class.tx_nG6_pi2_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
206

207
//\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
Jerome Mariette's avatar
Jerome Mariette committed
208
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi3']='layout,select_key';
209 210
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi3', $_EXTKEY.'_pi3'),'list_type');
if (TYPO3_MODE=="BE")	$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi3_wizicon"] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'pi3/class.tx_nG6_pi3_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
211

212
//\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
Jerome Mariette's avatar
Jerome Mariette committed
213
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi4']='layout,select_key';
214 215
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi4', $_EXTKEY.'_pi4'),'list_type');
if (TYPO3_MODE=="BE")	$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi4_wizicon"] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'pi4/class.tx_nG6_pi4_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
216

217
//\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
Jerome Mariette's avatar
Jerome Mariette committed
218
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi5']='layout,select_key';
219 220
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi5', $_EXTKEY.'_pi5'),'list_type');
if (TYPO3_MODE=="BE")	$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi5_wizicon"] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'pi5/class.tx_nG6_pi5_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
221

222
//\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
Jerome Mariette's avatar
Jerome Mariette committed
223
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi6']='layout,select_key';
224 225 226
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(Array('LLL:EXT:nG6/locallang_db.xml:tt_content.list_type_pi6', $_EXTKEY.'_pi6'),'list_type');
if (TYPO3_MODE=="BE")	$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_nG6_pi6_wizicon"] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'pi6/class.tx_nG6_pi6_wizicon.php';
?>