ext_tables.php 7.4 KB
Newer Older
Jerome Mariette's avatar
Jerome Mariette committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php
if (!defined ('TYPO3_MODE')) 	die ('Access denied.');

t3lib_extMgm::allowTableOnStandardPages("tx_nG6_project");

$TCA["tx_nG6_project"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nG6/locallang_db.xml:tx_nG6_project',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"delete" => "deleted",	
		"enablecolumns" => Array (		
			"disabled" => "hidden",	
			"fe_group" => "fe_group",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_project.gif",
	),
	"feInterface" => Array (
23
		"fe_admin_fieldList" => "hidden, public, fe_group, name, description",
Jerome Mariette's avatar
Jerome Mariette committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_run");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_run.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, name, date, directory, species, data_nature, type, nb_sequences, full_seq_size, description, sequencer",
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_analyze");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_analyze.gif",
	),
	"feInterface" => Array (
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
		"fe_admin_fieldList" => "hidden, class, name, description, date, directory, software, version, params",
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_sample");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_sample.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, run_id, mid, description",
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_result");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_result.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "analyze_id, file, rkey, rvalue, rgroup",
Jerome Mariette's avatar
Jerome Mariette committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_project_run");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_project_run.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, project_id, run_id",
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_project_analyze");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_project_analyze.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, project_id, analyze_id",
	)
);


t3lib_extMgm::allowTableOnStandardPages("tx_nG6_run_analyze");

$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",
		),
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nG6_run_analyze.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "hidden, run_id, analyze_id",
	)
);


189

Jerome Mariette's avatar
Jerome Mariette committed
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';
t3lib_extMgm::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"] = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_nG6_pi1_wizicon.php';

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi2']='layout,select_key';
t3lib_extMgm::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"] = t3lib_extMgm::extPath($_EXTKEY).'pi2/class.tx_nG6_pi2_wizicon.php';

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi3']='layout,select_key';
t3lib_extMgm::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"] = t3lib_extMgm::extPath($_EXTKEY).'pi3/class.tx_nG6_pi3_wizicon.php';

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi4']='layout,select_key';
t3lib_extMgm::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"] = t3lib_extMgm::extPath($_EXTKEY).'pi4/class.tx_nG6_pi4_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
209 210 211 212 213

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi5']='layout,select_key';
t3lib_extMgm::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"] = t3lib_extMgm::extPath($_EXTKEY).'pi5/class.tx_nG6_pi5_wizicon.php';
Jerome Mariette's avatar
Jerome Mariette committed
214
?>