PageRenderTime 63ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/typo3conf/temp_CACHED_FE_pse3e2_ext_tables.php

https://github.com/joanawelti/Esther-s-Webpage
PHP | 2069 lines | 1540 code | 289 blank | 240 comment | 88 complexity | b1a1d86e3db1e8747f0020f253b797bb MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. ###########################
  3. ## EXTENSION: cms
  4. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/cms/ext_tables.php
  5. ###########################
  6. $_EXTKEY = 'cms';
  7. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  8. # TYPO3 SVN ID: $Id: ext_tables.php 7774 2010-05-31 08:00:08Z benni $
  9. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  10. if (TYPO3_MODE == 'BE') {
  11. t3lib_extMgm::addModule('web','layout','top',t3lib_extMgm::extPath($_EXTKEY).'layout/');
  12. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_layout','EXT:cms/locallang_csh_weblayout.xml');
  13. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:cms/locallang_csh_webinfo.xml');
  14. t3lib_extMgm::insertModuleFunction(
  15. 'web_info',
  16. 'tx_cms_webinfo_page',
  17. t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo.php',
  18. 'LLL:EXT:cms/locallang_tca.xml:mod_tx_cms_webinfo_page'
  19. );
  20. t3lib_extMgm::insertModuleFunction(
  21. 'web_info',
  22. 'tx_cms_webinfo_lang',
  23. t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo_lang.php',
  24. 'LLL:EXT:cms/locallang_tca.xml:mod_tx_cms_webinfo_lang'
  25. );
  26. }
  27. // ******************************************************************
  28. // Extend 'pages'-table
  29. // ******************************************************************
  30. if (TYPO3_MODE=='BE') {
  31. // Setting ICON_TYPES (obsolete by the removal of the plugin_mgm extension)
  32. $ICON_TYPES = array(
  33. 'shop' => array('icon' => 'gfx/i/modules_shop.gif'),
  34. 'board' => array('icon' => 'gfx/i/modules_board.gif'),
  35. 'news' => array('icon' => 'gfx/i/modules_news.gif'),
  36. 'fe_users' => array('icon' => 'gfx/i/fe_users.gif'),
  37. 'approve' => array('icon' => 'gfx/state_checked.png'),
  38. );
  39. }
  40. // Adding pages_types:
  41. // t3lib_div::array_merge() MUST be used!
  42. $PAGES_TYPES = t3lib_div::array_merge(array(
  43. '3' => array(
  44. 'icon' => 'pages_link.gif'
  45. ),
  46. '4' => array(
  47. 'icon' => 'pages_shortcut.gif'
  48. ),
  49. '5' => array(
  50. 'icon' => 'pages_notinmenu.gif'
  51. ),
  52. '6' => array(
  53. 'type' => 'web',
  54. 'icon' => 'be_users_section.gif',
  55. 'allowedTables' => '*'
  56. ),
  57. '7' => array(
  58. 'icon' => 'pages_mountpoint.gif'
  59. ),
  60. '199' => array( // TypoScript: Limit is 200. When the doktype is 200 or above, the page WILL NOT be regarded as a 'page' by TypoScript. Rather is it a system-type page
  61. 'type' => 'sys',
  62. 'icon' => 'spacer_icon.gif',
  63. )
  64. ),$PAGES_TYPES);
  65. // Add allowed records to pages:
  66. t3lib_extMgm::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain');
  67. // Merging in CMS doktypes:
  68. array_splice(
  69. $TCA['pages']['columns']['doktype']['config']['items'],
  70. 1,
  71. 0,
  72. array(
  73. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.4', '6', 'i/be_users_section.gif'),
  74. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.link', '--div--'),
  75. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.2', '4', 'i/pages_shortcut.gif'),
  76. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.5', '7', 'i/pages_mountpoint.gif'),
  77. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.8', '3', 'i/pages_link.gif'),
  78. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.special', '--div--')
  79. )
  80. );
  81. array_splice(
  82. $TCA['pages']['columns']['doktype']['config']['items'],
  83. 10,
  84. 0,
  85. array(
  86. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.7', '199', 'i/spacer_icon.gif')
  87. )
  88. );
  89. array_unshift(
  90. $TCA['pages']['columns']['doktype']['config']['items'],
  91. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.page', '--div--')
  92. );
  93. // Setting enablecolumns:
  94. $TCA['pages']['ctrl']['enablecolumns'] = array (
  95. 'disabled' => 'hidden',
  96. 'starttime' => 'starttime',
  97. 'endtime' => 'endtime',
  98. 'fe_group' => 'fe_group',
  99. );
  100. // Enable Tabs
  101. $TCA['pages']['ctrl']['dividers2tabs'] = 1;
  102. // Adding default value columns:
  103. $TCA['pages']['ctrl']['useColumnsForDefaultValues'].=',fe_group,hidden';
  104. $TCA['pages']['ctrl']['transForeignTable'] = 'pages_language_overlay';
  105. // Adding new columns:
  106. $TCA['pages']['columns'] = array_merge($TCA['pages']['columns'],array(
  107. 'hidden' => array (
  108. 'exclude' => 1,
  109. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden',
  110. 'config' => array (
  111. 'type' => 'check',
  112. 'default' => '1'
  113. )
  114. ),
  115. 'starttime' => array (
  116. 'exclude' => 1,
  117. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
  118. 'config' => array (
  119. 'type' => 'input',
  120. 'size' => '8',
  121. 'max' => '20',
  122. 'eval' => 'date',
  123. 'checkbox' => '0',
  124. 'default' => '0'
  125. )
  126. ),
  127. 'endtime' => array (
  128. 'exclude' => 1,
  129. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
  130. 'config' => array (
  131. 'type' => 'input',
  132. 'size' => '8',
  133. 'max' => '20',
  134. 'eval' => 'date',
  135. 'checkbox' => '0',
  136. 'default' => '0',
  137. 'range' => array (
  138. 'upper' => mktime(0,0,0,12,31,2020),
  139. )
  140. )
  141. ),
  142. 'layout' => array (
  143. 'exclude' => 1,
  144. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.layout',
  145. 'config' => array (
  146. 'type' => 'select',
  147. 'items' => array (
  148. array('LLL:EXT:lang/locallang_general.xml:LGL.normal', '0'),
  149. array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.1', '1'),
  150. array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.2', '2'),
  151. array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.3', '3')
  152. ),
  153. 'default' => '0'
  154. )
  155. ),
  156. 'fe_group' => array (
  157. 'exclude' => 1,
  158. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
  159. 'config' => array (
  160. 'type' => 'select',
  161. 'size' => 5,
  162. 'maxitems' => 20,
  163. 'items' => array (
  164. array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
  165. array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
  166. array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--')
  167. ),
  168. 'exclusiveKeys' => '-1,-2',
  169. 'foreign_table' => 'fe_groups',
  170. 'foreign_table_where' => 'ORDER BY fe_groups.title',
  171. )
  172. ),
  173. 'extendToSubpages' => array (
  174. 'exclude' => 1,
  175. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.extendToSubpages',
  176. 'config' => array (
  177. 'type' => 'check'
  178. )
  179. ),
  180. 'nav_title' => array (
  181. 'exclude' => 1,
  182. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_title',
  183. 'config' => array (
  184. 'type' => 'input',
  185. 'size' => '30',
  186. 'max' => '255',
  187. 'checkbox' => '',
  188. 'eval' => 'trim'
  189. )
  190. ),
  191. 'nav_hide' => array (
  192. 'exclude' => 1,
  193. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_hide',
  194. 'config' => array (
  195. 'type' => 'check'
  196. )
  197. ),
  198. 'subtitle' => array (
  199. 'exclude' => 1,
  200. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.subtitle',
  201. 'config' => array (
  202. 'type' => 'input',
  203. 'size' => '30',
  204. 'max' => '255',
  205. 'eval' => ''
  206. )
  207. ),
  208. 'target' => array (
  209. 'exclude' => 1,
  210. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.target',
  211. 'config' => array (
  212. 'type' => 'input',
  213. 'size' => '20',
  214. 'max' => '80',
  215. 'eval' => 'trim',
  216. 'checkbox' => ''
  217. )
  218. ),
  219. 'alias' => array (
  220. 'displayCond' => 'VERSION:IS:false',
  221. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.alias',
  222. 'config' => array (
  223. 'type' => 'input',
  224. 'size' => '10',
  225. 'max' => '32',
  226. 'eval' => 'nospace,alphanum_x,lower,unique',
  227. 'softref' => 'notify'
  228. )
  229. ),
  230. 'url' => array (
  231. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url',
  232. 'config' => array (
  233. 'type' => 'input',
  234. 'size' => '25',
  235. 'max' => '255',
  236. 'eval' => 'trim,required',
  237. 'softref' => 'url'
  238. )
  239. ),
  240. 'urltype' => array (
  241. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
  242. 'config' => array (
  243. 'type' => 'select',
  244. 'items' => array (
  245. array('', '0'),
  246. array('http://', '1'),
  247. array('https://', '4'),
  248. array('ftp://', '2'),
  249. array('mailto:', '3')
  250. ),
  251. 'default' => '1'
  252. )
  253. ),
  254. 'lastUpdated' => array (
  255. 'exclude' => 1,
  256. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.lastUpdated',
  257. 'config' => array (
  258. 'type' => 'input',
  259. 'size' => '12',
  260. 'max' => '20',
  261. 'eval' => 'datetime',
  262. 'checkbox' => '0',
  263. 'default' => '0'
  264. )
  265. ),
  266. 'newUntil' => array (
  267. 'exclude' => 1,
  268. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.newUntil',
  269. 'config' => array (
  270. 'type' => 'input',
  271. 'size' => '8',
  272. 'max' => '20',
  273. 'eval' => 'date',
  274. 'checkbox' => '0',
  275. 'default' => '0'
  276. )
  277. ),
  278. 'cache_timeout' => array (
  279. 'exclude' => 1,
  280. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout',
  281. 'config' => array (
  282. 'type' => 'select',
  283. 'items' => array (
  284. array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
  285. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.1', 60),
  286. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.2', 300),
  287. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.3', 900),
  288. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.4', 1800),
  289. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.5', 3600),
  290. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.6', 14400),
  291. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.7', 86400),
  292. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.8', 172800),
  293. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.9', 604800),
  294. array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.10', 2678400)
  295. ),
  296. 'default' => '0'
  297. )
  298. ),
  299. 'no_cache' => array (
  300. 'exclude' => 1,
  301. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_cache',
  302. 'config' => array (
  303. 'type' => 'check'
  304. )
  305. ),
  306. 'no_search' => array (
  307. 'exclude' => 1,
  308. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_search',
  309. 'config' => array (
  310. 'type' => 'check'
  311. )
  312. ),
  313. 'shortcut' => array (
  314. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page',
  315. 'config' => array (
  316. 'type' => 'group',
  317. 'internal_type' => 'db',
  318. 'allowed' => 'pages',
  319. 'size' => '3',
  320. 'maxitems' => '1',
  321. 'minitems' => '0',
  322. 'show_thumbs' => '1',
  323. 'wizards' => array(
  324. 'suggest' => array(
  325. 'type' => 'suggest',
  326. ),
  327. ),
  328. ),
  329. ),
  330. 'shortcut_mode' => array (
  331. 'exclude' => 1,
  332. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode',
  333. 'config' => array (
  334. 'type' => 'select',
  335. 'items' => array (
  336. array('', 0),
  337. array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.1', 1),
  338. array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.2', 2),
  339. ),
  340. 'default' => '0'
  341. )
  342. ),
  343. 'content_from_pid' => array (
  344. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.content_from_pid',
  345. 'config' => array (
  346. 'type' => 'group',
  347. 'internal_type' => 'db',
  348. 'allowed' => 'pages',
  349. 'size' => '1',
  350. 'maxitems' => '1',
  351. 'minitems' => '0',
  352. 'show_thumbs' => '1',
  353. 'wizards' => array(
  354. 'suggest' => array(
  355. 'type' => 'suggest',
  356. ),
  357. ),
  358. ),
  359. ),
  360. 'mount_pid' => array (
  361. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid',
  362. 'config' => array (
  363. 'type' => 'group',
  364. 'internal_type' => 'db',
  365. 'allowed' => 'pages',
  366. 'size' => '1',
  367. 'maxitems' => '1',
  368. 'minitems' => '0',
  369. 'show_thumbs' => '1',
  370. 'wizards' => array(
  371. 'suggest' => array(
  372. 'type' => 'suggest',
  373. ),
  374. ),
  375. ),
  376. ),
  377. 'keywords' => array (
  378. 'exclude' => 1,
  379. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.keywords',
  380. 'config' => array (
  381. 'type' => 'text',
  382. 'cols' => '40',
  383. 'rows' => '3'
  384. )
  385. ),
  386. 'description' => array (
  387. 'exclude' => 1,
  388. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description',
  389. 'config' => array (
  390. 'type' => 'text',
  391. 'cols' => '40',
  392. 'rows' => '3'
  393. )
  394. ),
  395. 'abstract' => array (
  396. 'exclude' => 1,
  397. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.abstract',
  398. 'config' => array (
  399. 'type' => 'text',
  400. 'cols' => '40',
  401. 'rows' => '3'
  402. )
  403. ),
  404. 'author' => array (
  405. 'exclude' => 1,
  406. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.author',
  407. 'config' => array (
  408. 'type' => 'input',
  409. 'size' => '20',
  410. 'eval' => 'trim',
  411. 'max' => '80'
  412. )
  413. ),
  414. 'author_email' => array (
  415. 'exclude' => 1,
  416. 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.email',
  417. 'config' => array (
  418. 'type' => 'input',
  419. 'size' => '20',
  420. 'eval' => 'trim',
  421. 'max' => '80',
  422. 'softref' => 'email[subst]'
  423. )
  424. ),
  425. 'media' => array (
  426. 'exclude' => 1,
  427. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.media',
  428. 'config' => array (
  429. 'type' => 'group',
  430. 'internal_type' => 'file',
  431. 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css',
  432. 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
  433. 'uploadfolder' => 'uploads/media',
  434. 'show_thumbs' => '1',
  435. 'size' => '3',
  436. 'maxitems' => '5',
  437. 'minitems' => '0'
  438. )
  439. ),
  440. 'is_siteroot' => array (
  441. 'exclude' => 1,
  442. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.is_siteroot',
  443. 'config' => array (
  444. 'type' => 'check'
  445. )
  446. ),
  447. 'mount_pid_ol' => array (
  448. 'exclude' => 1,
  449. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid_ol',
  450. 'config' => array (
  451. 'type' => 'check'
  452. )
  453. ),
  454. 'module' => array (
  455. 'exclude' => 1,
  456. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.module',
  457. 'config' => array (
  458. 'type' => 'select',
  459. 'items' => array (
  460. array('', '', ''),
  461. array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.1', 'shop', 'i/modules_shop.gif'),
  462. array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.2', 'board', 'i/modules_board.gif'),
  463. array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.3', 'news', 'i/modules_news.gif'),
  464. array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.4', 'fe_users', 'i/fe_users.gif'),
  465. array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.6', 'approve', 'state_checked.png')
  466. ),
  467. 'default' => '',
  468. 'iconsInOptionTags' => 1,
  469. 'noIconsBelowSelect' => 1,
  470. )
  471. ),
  472. 'fe_login_mode' => array (
  473. 'exclude' => 1,
  474. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode',
  475. 'config' => array (
  476. 'type' => 'select',
  477. 'items' => array (
  478. array('', 0),
  479. array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disableAll', 1),
  480. array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disableGroups', 3),
  481. array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.enableAgain', 2),
  482. )
  483. )
  484. ),
  485. 'l18n_cfg' => array (
  486. 'exclude' => 1,
  487. 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg',
  488. 'config' => array (
  489. 'type' => 'check',
  490. 'items' => array (
  491. array('LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.1', ''),
  492. array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2', ''),
  493. ),
  494. )
  495. ),
  496. ));
  497. // Add columns to info-display list.
  498. $TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';
  499. // Totally overriding all type-settings:
  500. $TCA['pages']['types'] = array (
  501. // normal
  502. '1' => array('showitem' =>
  503. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
  504. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
  505. --palette--;LLL:EXT:lang/locallang_general.xml:LGL.author;5;;3-3-3, abstract, keywords, description,
  506. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  507. media,
  508. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  509. TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid,
  510. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  511. starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
  512. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  513. '),
  514. // external URL
  515. '3' => array('showitem' =>
  516. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
  517. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.url,
  518. url;;;;3-3-3, urltype,
  519. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  520. media,
  521. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  522. TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg,
  523. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  524. starttime, endtime, fe_group, extendToSubpages,
  525. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  526. '),
  527. // shortcut
  528. '4' => array('showitem' =>
  529. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
  530. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.shortcut,
  531. shortcut;;;;3-3-3, shortcut_mode,
  532. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  533. media,
  534. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  535. TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg,
  536. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  537. starttime, endtime, fe_group, extendToSubpages,
  538. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  539. '),
  540. // not in menu
  541. '5' => array('showitem' =>
  542. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
  543. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  544. media,
  545. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  546. TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, module, content_from_pid,
  547. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  548. starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
  549. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  550. '),
  551. // mount page
  552. '7' => array('showitem' =>
  553. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
  554. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.mount,
  555. mount_pid;;;;3-3-3, mount_pid_ol,
  556. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  557. media,
  558. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  559. TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, module, content_from_pid,
  560. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  561. starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
  562. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  563. '),
  564. // spacer
  565. '199' => array('showitem' =>
  566. 'doktype;;2;;1-1-1, hidden, title,
  567. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  568. TSconfig;;6;nowrap;5-5-5, storage_pid;;7,
  569. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  570. '),
  571. // sysfolder
  572. '254' => array('showitem' =>
  573. 'doktype;;2;;1-1-1, hidden, title;LLL:EXT:lang/locallang_general.xml:LGL.title,
  574. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  575. media,
  576. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  577. TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module,
  578. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  579. '),
  580. // trash
  581. '255' => array('showitem' =>
  582. 'doktype;;2;;1-1-1, hidden, title,
  583. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  584. ')
  585. );
  586. // Merging palette settings:
  587. // t3lib_div::array_merge() MUST be used - otherwise the keys will be re-numbered!
  588. $TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],array(
  589. '1' => array('showitem' => 'starttime, endtime, extendToSubpages'),
  590. '2' => array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
  591. '3' => array('showitem' => 'alias, target, no_cache, cache_timeout'),
  592. '5' => array('showitem' => 'author, author_email', 'canNotCollapse' => 1)
  593. ));
  594. // if the compat version is less than 4.2, pagetype 2 ("Advanced")
  595. // and pagetype 5 ("Not in menu") are added to TCA.
  596. if (!t3lib_div::compat_version('4.2')) {
  597. // Merging in CMS doktypes
  598. array_splice(
  599. $TCA['pages']['columns']['doktype']['config']['items'],
  600. 2,
  601. 0,
  602. array(
  603. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.0', '2', 'i/pages.gif'),
  604. array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.3', '5', 'i/pages_notinmenu.gif'),
  605. )
  606. );
  607. // setting the doktype 1 ("Standard") to show less fields
  608. $TCA['pages']['types'][1] = array(
  609. // standard
  610. 'showitem' =>
  611. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
  612. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  613. starttime, endtime, fe_group, extendToSubpages,
  614. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  615. TSconfig;;6;nowrap;4-4-4, storage_pid;;7, l18n_cfg,
  616. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  617. ');
  618. // adding doktype 2 ("Advanced")
  619. $TCA['pages']['types'][2] = array(
  620. 'showitem' =>
  621. 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
  622. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
  623. abstract;;5;;3-3-3, keywords, description,
  624. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
  625. media,
  626. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
  627. starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
  628. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
  629. TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid,
  630. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
  631. ');
  632. }
  633. // ******************************************************************
  634. // This is the standard TypoScript content table, tt_content
  635. // ******************************************************************
  636. $TCA['tt_content'] = array (
  637. 'ctrl' => array (
  638. 'label' => 'header',
  639. 'label_alt' => 'subheader,bodytext',
  640. 'sortby' => 'sorting',
  641. 'tstamp' => 'tstamp',
  642. 'crdate' => 'crdate',
  643. 'cruser_id' => 'cruser_id',
  644. 'title' => 'LLL:EXT:cms/locallang_tca.xml:tt_content',
  645. 'delete' => 'deleted',
  646. 'versioningWS' => 2,
  647. 'versioning_followPages' => true,
  648. 'origUid' => 't3_origuid',
  649. 'type' => 'CType',
  650. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
  651. 'copyAfterDuplFields' => 'colPos,sys_language_uid',
  652. 'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
  653. 'shadowColumnsForNewPlaceholders' => 'colPos',
  654. 'transOrigPointerField' => 'l18n_parent',
  655. 'transOrigDiffSourceField' => 'l18n_diffsource',
  656. 'languageField' => 'sys_language_uid',
  657. 'enablecolumns' => array (
  658. 'disabled' => 'hidden',
  659. 'starttime' => 'starttime',
  660. 'endtime' => 'endtime',
  661. 'fe_group' => 'fe_group',
  662. ),
  663. 'typeicon_column' => 'CType',
  664. 'typeicon_classes' => array(
  665. 'header' => 'mimetypes-x-content-header',
  666. 'textpic' => 'mimetypes-x-content-text-picture',
  667. 'image' => 'mimetypes-x-content-image',
  668. 'bullets' => 'mimetypes-x-content-list-bullets',
  669. 'table' => 'mimetypes-x-content-table',
  670. 'splash' => 'mimetypes-x-content-splash',
  671. 'uploads' => 'mimetypes-x-content-uploads',
  672. 'multimedia' => 'mimetypes-x-content-multimedia',
  673. 'media' => 'mimetypes-x-content-multimedia',
  674. 'menu' => 'mimetypes-x-content-menu',
  675. 'list' => 'mimetypes-x-content-plugin',
  676. 'mailform' => 'mimetypes-x-content-form',
  677. 'search' => 'mimetypes-x-content-search',
  678. 'login' => 'mimetypes-x-content-login',
  679. 'shortcut' => 'mimetypes-x-content-link',
  680. 'script' => 'mimetypes-x-content-script',
  681. 'div' => 'mimetypes-x-content-divider',
  682. 'html' => 'mimetypes-x-content-html',
  683. 'text' => 'mimetypes-x-content-text',
  684. 'default' => 'mimetypes-x-content-text',
  685. ),
  686. 'typeicons' => array (
  687. 'header' => 'tt_content_header.gif',
  688. 'textpic' => 'tt_content_textpic.gif',
  689. 'image' => 'tt_content_image.gif',
  690. 'bullets' => 'tt_content_bullets.gif',
  691. 'table' => 'tt_content_table.gif',
  692. 'splash' => 'tt_content_news.gif',
  693. 'uploads' => 'tt_content_uploads.gif',
  694. 'multimedia' => 'tt_content_mm.gif',
  695. 'media' => 'tt_content_mm.gif',
  696. 'menu' => 'tt_content_menu.gif',
  697. 'list' => 'tt_content_list.gif',
  698. 'mailform' => 'tt_content_form.gif',
  699. 'search' => 'tt_content_search.gif',
  700. 'login' => 'tt_content_login.gif',
  701. 'shortcut' => 'tt_content_shortcut.gif',
  702. 'script' => 'tt_content_script.gif',
  703. 'div' => 'tt_content_div.gif',
  704. 'html' => 'tt_content_html.gif'
  705. ),
  706. 'thumbnail' => 'image',
  707. 'requestUpdate' => 'list_type,rte_enabled',
  708. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php',
  709. 'dividers2tabs' => 1
  710. )
  711. );
  712. // ******************************************************************
  713. // fe_users
  714. // ******************************************************************
  715. $TCA['fe_users'] = array (
  716. 'ctrl' => array (
  717. 'label' => 'username',
  718. 'tstamp' => 'tstamp',
  719. 'crdate' => 'crdate',
  720. 'cruser_id' => 'cruser_id',
  721. 'fe_cruser_id' => 'fe_cruser_id',
  722. 'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_users',
  723. 'delete' => 'deleted',
  724. 'enablecolumns' => array (
  725. 'disabled' => 'disable',
  726. 'starttime' => 'starttime',
  727. 'endtime' => 'endtime'
  728. ),
  729. 'typeicon_classes' => array(
  730. 'default' => 'status-user-frontend',
  731. ),
  732. 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
  733. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
  734. 'dividers2tabs' => 1
  735. ),
  736. 'feInterface' => array (
  737. 'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
  738. )
  739. );
  740. // ******************************************************************
  741. // fe_groups
  742. // ******************************************************************
  743. $TCA['fe_groups'] = array (
  744. 'ctrl' => array (
  745. 'label' => 'title',
  746. 'tstamp' => 'tstamp',
  747. 'crdate' => 'crdate',
  748. 'cruser_id' => 'cruser_id',
  749. 'delete' => 'deleted',
  750. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
  751. 'enablecolumns' => array (
  752. 'disabled' => 'hidden'
  753. ),
  754. 'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups',
  755. 'typeicon_classes' => array(
  756. 'default' => 'status-user-group-frontend',
  757. ),
  758. 'useColumnsForDefaultValues' => 'lockToDomain',
  759. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
  760. 'dividers2tabs' => 1
  761. )
  762. );
  763. // ******************************************************************
  764. // sys_domain
  765. // ******************************************************************
  766. $TCA['sys_domain'] = array (
  767. 'ctrl' => array (
  768. 'label' => 'domainName',
  769. 'tstamp' => 'tstamp',
  770. 'crdate' => 'crdate',
  771. 'cruser_id' => 'cruser_id',
  772. 'sortby' => 'sorting',
  773. 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain',
  774. 'iconfile' => 'domain.gif',
  775. 'enablecolumns' => array (
  776. 'disabled' => 'hidden'
  777. ),
  778. 'typeicon_classes' => array(
  779. 'default' => 'mimetypes-x-content-domain',
  780. ),
  781. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  782. )
  783. );
  784. // ******************************************************************
  785. // pages_language_overlay
  786. // ******************************************************************
  787. $TCA['pages_language_overlay'] = array (
  788. 'ctrl' => array (
  789. 'label' => 'title',
  790. 'tstamp' => 'tstamp',
  791. 'title' => 'LLL:EXT:cms/locallang_tca.xml:pages_language_overlay',
  792. 'versioningWS' => true,
  793. 'versioning_followPages' => true,
  794. 'origUid' => 't3_origuid',
  795. 'crdate' => 'crdate',
  796. 'cruser_id' => 'cruser_id',
  797. 'delete' => 'deleted',
  798. 'enablecolumns' => array (
  799. 'disabled' => 'hidden',
  800. 'starttime' => 'starttime',
  801. 'endtime' => 'endtime'
  802. ),
  803. 'transOrigPointerField' => 'pid',
  804. 'transOrigPointerTable' => 'pages',
  805. 'transOrigDiffSourceField' => 'l18n_diffsource',
  806. 'shadowColumnsForNewPlaceholders' => 'title',
  807. 'languageField' => 'sys_language_uid',
  808. 'mainpalette' => 1,
  809. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_cms.php',
  810. 'type' => 'doktype',
  811. 'typeicon_classes' => array(
  812. 'default' => 'mimetypes-x-content-page-language-overlay',
  813. ),
  814. 'dividers2tabs' => true
  815. )
  816. );
  817. // ******************************************************************
  818. // sys_template
  819. // ******************************************************************
  820. $TCA['sys_template'] = array (
  821. 'ctrl' => array (
  822. 'label' => 'title',
  823. 'tstamp' => 'tstamp',
  824. 'sortby' => 'sorting',
  825. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
  826. 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template',
  827. 'versioningWS' => true,
  828. 'origUid' => 't3_origuid',
  829. 'crdate' => 'crdate',
  830. 'cruser_id' => 'cruser_id',
  831. 'delete' => 'deleted',
  832. 'adminOnly' => 1, // Only admin, if any
  833. 'iconfile' => 'template.gif',
  834. 'thumbnail' => 'resources',
  835. 'enablecolumns' => array (
  836. 'disabled' => 'hidden',
  837. 'starttime' => 'starttime',
  838. 'endtime' => 'endtime'
  839. ),
  840. 'typeicon_column' => 'root',
  841. 'typeicon_classes' => array(
  842. 'default' => 'mimetypes-x-content-template-extension',
  843. '1' => 'mimetypes-x-content-template',
  844. ),
  845. 'typeicons' => array (
  846. '0' => 'template_add.gif'
  847. ),
  848. 'dividers2tabs' => 1,
  849. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  850. )
  851. );
  852. ###########################
  853. ## EXTENSION: sv
  854. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/sv/ext_tables.php
  855. ###########################
  856. $_EXTKEY = 'sv';
  857. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  858. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  859. if (TYPO3_MODE == 'BE') {
  860. $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['sv']['services'] = array(
  861. 'title' => 'LLL:EXT:sv/reports/locallang.xml:report_title',
  862. 'description' => 'LLL:EXT:sv/reports/locallang.xml:report_description',
  863. 'icon' => 'EXT:sv/reports/tx_sv_report.png',
  864. 'report' => 'tx_sv_reports_ServicesList'
  865. );
  866. }
  867. ###########################
  868. ## EXTENSION: css_styled_content
  869. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/css_styled_content/ext_tables.php
  870. ###########################
  871. $_EXTKEY = 'css_styled_content';
  872. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  873. # TYPO3 SVN ID: $Id: ext_tables.php 7543 2010-05-06 16:25:16Z psychomieze $
  874. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  875. // add flexform
  876. t3lib_extMgm::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/flexform_ds.xml','table');
  877. $TCA['tt_content']['types']['table']['showitem']='CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
  878. --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties, pi_flexform,
  879. --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime, fe_group';
  880. t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'CSS Styled Content');
  881. t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.8/', 'CSS Styled Content TYPO3 v3.8');
  882. t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.9/', 'CSS Styled Content TYPO3 v3.9');
  883. t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v4.2/', 'CSS Styled Content TYPO3 v4.2');
  884. t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v4.3/', 'CSS Styled Content TYPO3 v4.3');
  885. $TCA['tt_content']['columns']['section_frame']['config']['items'][0] = array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.0', '0');
  886. $TCA['tt_content']['columns']['section_frame']['config']['items'][9] = array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.9', '66');
  887. ###########################
  888. ## EXTENSION: tsconfig_help
  889. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tsconfig_help/ext_tables.php
  890. ###########################
  891. $_EXTKEY = 'tsconfig_help';
  892. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  893. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  894. if (TYPO3_MODE == 'BE') {
  895. t3lib_extMgm::addModule('help','txtsconfighelpM1','',t3lib_extMgm::extPath($_EXTKEY).'mod1/');
  896. }
  897. ###########################
  898. ## EXTENSION: context_help
  899. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/context_help/ext_tables.php
  900. ###########################
  901. $_EXTKEY = 'context_help';
  902. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  903. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  904. t3lib_extMgm::addLLrefForTCAdescr('fe_groups','EXT:context_help/locallang_csh_fe_groups.xml');
  905. t3lib_extMgm::addLLrefForTCAdescr('fe_users','EXT:context_help/locallang_csh_fe_users.xml');
  906. t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:context_help/locallang_csh_pages.xml');
  907. t3lib_extMgm::addLLrefForTCAdescr('pages_language_overlay','EXT:context_help/locallang_csh_pageslol.xml');
  908. t3lib_extMgm::addLLrefForTCAdescr('static_template','EXT:context_help/locallang_csh_statictpl.xml');
  909. t3lib_extMgm::addLLrefForTCAdescr('sys_domain','EXT:context_help/locallang_csh_sysdomain.xml');
  910. t3lib_extMgm::addLLrefForTCAdescr('sys_template','EXT:context_help/locallang_csh_systmpl.xml');
  911. t3lib_extMgm::addLLrefForTCAdescr('tt_content','EXT:context_help/locallang_csh_ttcontent.xml');
  912. ###########################
  913. ## EXTENSION: extra_page_cm_options
  914. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/extra_page_cm_options/ext_tables.php
  915. ###########################
  916. $_EXTKEY = 'extra_page_cm_options';
  917. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  918. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  919. if (TYPO3_MODE=='BE') {
  920. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
  921. 'name' => 'tx_extrapagecmoptions',
  922. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_extrapagecmoptions.php'
  923. );
  924. }
  925. ###########################
  926. ## EXTENSION: impexp
  927. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/impexp/ext_tables.php
  928. ###########################
  929. $_EXTKEY = 'impexp';
  930. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  931. if (!defined ('TYPO3_MODE')) {
  932. die ('Access denied.');
  933. }
  934. if (TYPO3_MODE == 'BE') {
  935. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
  936. 'name' => 'tx_impexp_clickmenu',
  937. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_impexp_clickmenu.php'
  938. );
  939. $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['tx_impexp_task'] = array(
  940. 'title' => 'LLL:EXT:impexp/locallang_csh.xml:.alttitle',
  941. 'description' => 'LLL:EXT:impexp/locallang_csh.xml:.description',
  942. 'icon' => 'EXT:impexp/export.gif'
  943. );
  944. t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_impexp','EXT:impexp/locallang_csh.xml');
  945. }
  946. ###########################
  947. ## EXTENSION: sys_note
  948. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/sys_note/ext_tables.php
  949. ###########################
  950. $_EXTKEY = 'sys_note';
  951. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  952. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  953. if (TYPO3_MODE=='BE') {
  954. $TCA['sys_note'] = Array (
  955. 'ctrl' => Array (
  956. 'label' => 'subject',
  957. 'default_sortby' => 'ORDER BY crdate',
  958. 'tstamp' => 'tstamp',
  959. 'crdate' => 'crdate',
  960. 'cruser_id' => 'cruser',
  961. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
  962. 'delete' => 'deleted',
  963. 'title' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note',
  964. 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
  965. ),
  966. 'interface' => Array (
  967. 'showRecordFieldList' => 'category,subject,message,author,email,personal'
  968. ),
  969. 'columns' => Array (
  970. 'category' => Array (
  971. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.category',
  972. 'config' => Array (
  973. 'type' => 'select',
  974. 'items' => Array (
  975. Array('', '0'),
  976. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.1', '1'),
  977. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.2', '3'),
  978. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.3', '4'),
  979. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.4', '2')
  980. ),
  981. 'default' => '0'
  982. )
  983. ),
  984. 'subject' => Array (
  985. 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.subject',
  986. 'config' => Array (
  987. 'type' => 'input',
  988. 'size' => '40',
  989. 'max' => '256'
  990. )
  991. ),
  992. 'message' => Array (
  993. 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.message',
  994. 'config' => Array (
  995. 'type' => 'text',
  996. 'cols' => '40',
  997. 'rows' => '15'
  998. )
  999. ),
  1000. 'author' => Array (
  1001. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
  1002. 'config' => Array (
  1003. 'type' => 'input',
  1004. 'size' => '20',
  1005. 'eval' => 'trim',
  1006. 'max' => '80'
  1007. )
  1008. ),
  1009. 'email' => Array (
  1010. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
  1011. 'config' => Array (
  1012. 'type' => 'input',
  1013. 'size' => '20',
  1014. 'eval' => 'trim',
  1015. 'max' => '80'
  1016. )
  1017. ),
  1018. 'personal' => Array (
  1019. 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.personal',
  1020. 'config' => Array (
  1021. 'type' => 'check'
  1022. )
  1023. )
  1024. ),
  1025. 'types' => Array (
  1026. '0' => Array('showitem' => 'category;;;;2-2-2, author, email, personal, subject;;;;3-3-3, message')
  1027. )
  1028. );
  1029. t3lib_extMgm::allowTableOnStandardPages('sys_note');
  1030. }
  1031. t3lib_extMgm::addLLrefForTCAdescr('sys_note','EXT:sys_note/locallang_csh_sysnote.xml');
  1032. ###########################
  1033. ## EXTENSION: tstemplate
  1034. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate/ext_tables.php
  1035. ###########################
  1036. $_EXTKEY = 'tstemplate';
  1037. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1038. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1039. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('web','ts','',t3lib_extMgm::extPath($_EXTKEY).'ts/');
  1040. ###########################
  1041. ## EXTENSION: tstemplate_ceditor
  1042. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_ceditor/ext_tables.php
  1043. ###########################
  1044. $_EXTKEY = 'tstemplate_ceditor';
  1045. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1046. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1047. if (TYPO3_MODE=='BE') {
  1048. t3lib_extMgm::insertModuleFunction(
  1049. 'web_ts',
  1050. 'tx_tstemplateceditor',
  1051. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateceditor.php',
  1052. 'LLL:EXT:tstemplate/ts/locallang.xml:constantEditor'
  1053. );
  1054. }
  1055. ###########################
  1056. ## EXTENSION: tstemplate_info
  1057. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_info/ext_tables.php
  1058. ###########################
  1059. $_EXTKEY = 'tstemplate_info';
  1060. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1061. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1062. if (TYPO3_MODE=='BE') {
  1063. t3lib_extMgm::insertModuleFunction(
  1064. 'web_ts',
  1065. 'tx_tstemplateinfo',
  1066. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateinfo.php',
  1067. 'LLL:EXT:tstemplate/ts/locallang.xml:infoModify'
  1068. );
  1069. }
  1070. ###########################
  1071. ## EXTENSION: tstemplate_objbrowser
  1072. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_objbrowser/ext_tables.php
  1073. ###########################
  1074. $_EXTKEY = 'tstemplate_objbrowser';
  1075. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1076. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1077. if (TYPO3_MODE=='BE') {
  1078. t3lib_extMgm::insertModuleFunction(
  1079. 'web_ts',
  1080. 'tx_tstemplateobjbrowser',
  1081. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateobjbrowser.php',
  1082. 'LLL:EXT:tstemplate/ts/locallang.xml:objectBrowser'
  1083. );
  1084. }
  1085. ###########################
  1086. ## EXTENSION: tstemplate_analyzer
  1087. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_analyzer/ext_tables.php
  1088. ###########################
  1089. $_EXTKEY = 'tstemplate_analyzer';
  1090. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1091. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1092. if (TYPO3_MODE=='BE') {
  1093. t3lib_extMgm::insertModuleFunction(
  1094. 'web_ts',
  1095. 'tx_tstemplateanalyzer',
  1096. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateanalyzer.php',
  1097. 'LLL:EXT:tstemplate/ts/locallang.xml:templateAnalyzer'
  1098. );
  1099. }
  1100. ###########################
  1101. ## EXTENSION: func_wizards
  1102. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/func_wizards/ext_tables.php
  1103. ###########################
  1104. $_EXTKEY = 'func_wizards';
  1105. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1106. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1107. if (TYPO3_MODE=='BE') {
  1108. t3lib_extMgm::insertModuleFunction(
  1109. 'web_func',
  1110. 'tx_funcwizards_webfunc',
  1111. t3lib_extMgm::extPath($_EXTKEY).'class.tx_funcwizards_webfunc.php',
  1112. 'LLL:EXT:func_wizards/locallang.php:mod_wizards'
  1113. );
  1114. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:func_wizards/locallang_csh.xml');
  1115. }
  1116. ###########################
  1117. ## EXTENSION: wizard_crpages
  1118. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/wizard_crpages/ext_tables.php
  1119. ###########################
  1120. $_EXTKEY = 'wizard_crpages';
  1121. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1122. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1123. if (TYPO3_MODE=='BE') {
  1124. t3lib_extMgm::insertModuleFunction(
  1125. 'web_func',
  1126. 'tx_wizardcrpages_webfunc_2',
  1127. t3lib_extMgm::extPath($_EXTKEY).'class.tx_wizardcrpages_webfunc_2.php',
  1128. 'LLL:EXT:wizard_crpages/locallang.php:wiz_crMany',
  1129. 'wiz'
  1130. );
  1131. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:wizard_crpages/locallang_csh.xml');
  1132. }
  1133. ###########################
  1134. ## EXTENSION: wizard_sortpages
  1135. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/wizard_sortpages/ext_tables.php
  1136. ###########################
  1137. $_EXTKEY = 'wizard_sortpages';
  1138. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1139. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1140. if (TYPO3_MODE=='BE') {
  1141. t3lib_extMgm::insertModuleFunction(
  1142. 'web_func',
  1143. 'tx_wizardsortpages_webfunc_2',
  1144. t3lib_extMgm::extPath($_EXTKEY).'class.tx_wizardsortpages_webfunc_2.php',
  1145. 'LLL:EXT:wizard_sortpages/locallang.php:wiz_sort',
  1146. 'wiz'
  1147. );
  1148. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:wizard_sortpages/locallang_csh.xml');
  1149. }
  1150. ###########################
  1151. ## EXTENSION: lowlevel
  1152. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/lowlevel/ext_tables.php
  1153. ###########################
  1154. $_EXTKEY = 'lowlevel';
  1155. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1156. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1157. if (TYPO3_MODE=='BE') {
  1158. t3lib_extMgm::addModule('tools','dbint','',t3lib_extMgm::extPath($_EXTKEY).'dbint/');
  1159. t3lib_extMgm::addModule('tools','config','',t3lib_extMgm::extPath($_EXTKEY).'config/');
  1160. /*
  1161. t3lib_extMgm::insertModuleFunction(
  1162. 'web_func',
  1163. 'tx_lowlevel_cleaner',
  1164. t3lib_extMgm::extPath($_EXTKEY).'class.tx_lowlevel_cleaner.php',
  1165. 'Cleaner',
  1166. 'function',
  1167. 'online'
  1168. );
  1169. */
  1170. }
  1171. ###########################
  1172. ## EXTENSION: install
  1173. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/install/ext_tables.php
  1174. ###########################
  1175. $_EXTKEY = 'install';
  1176. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1177. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1178. if (TYPO3_MODE=='BE') {
  1179. t3lib_extMgm::addModule('tools', 'install', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
  1180. $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'tx_install_report_InstallStatus';
  1181. }
  1182. ###########################
  1183. ## EXTENSION: belog
  1184. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/belog/ext_tables.php
  1185. ###########################
  1186. $_EXTKEY = 'belog';
  1187. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1188. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1189. if (TYPO3_MODE=='BE') {
  1190. t3lib_extMgm::addModule('tools','log','',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1191. t3lib_extMgm::insertModuleFunction(
  1192. 'web_info',
  1193. 'tx_belog_webinfo',
  1194. t3lib_extMgm::extPath($_EXTKEY).'class.tx_belog_webinfo.php',
  1195. 'Log'
  1196. );
  1197. }
  1198. ###########################
  1199. ## EXTENSION: beuser
  1200. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/beuser/ext_tables.php
  1201. ###########################
  1202. $_EXTKEY = 'beuser';
  1203. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1204. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1205. if (TYPO3_MODE=='BE') {
  1206. t3lib_extMgm::addModule('tools','beuser','top',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1207. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
  1208. 'name' => 'tx_beuser',
  1209. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_beuser.php'
  1210. );
  1211. }
  1212. ###########################
  1213. ## EXTENSION: aboutmodules
  1214. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/aboutmodules/ext_tables.php
  1215. ###########################
  1216. $_EXTKEY = 'aboutmodules';
  1217. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1218. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1219. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('help','aboutmodules','after:about',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1220. ###########################
  1221. ## EXTENSION: setup
  1222. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/setup/ext_tables.php
  1223. ###########################
  1224. $_EXTKEY = 'setup';
  1225. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1226. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1227. if (TYPO3_MODE=='BE') {
  1228. t3lib_extMgm::addModule('user','setup','after:task',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1229. t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:setup/locallang_csh_mod.xml');
  1230. }
  1231. $GLOBALS['TYPO3_USER_SETTINGS'] = array(
  1232. 'ctrl' => array (
  1233. 'dividers2tabs' => 1
  1234. ),
  1235. 'columns' => array (
  1236. 'realName' => array(
  1237. 'type' => 'text',
  1238. 'label' => 'LLL:EXT:setup/mod/locallang.xml:beUser_realName',
  1239. 'table' => 'be_users',
  1240. 'csh' => 'beUser_realName',
  1241. ),
  1242. 'email' => array(
  1243. 'type' => 'text',
  1244. 'label' => 'LLL:EXT:setup/mod/locallang.xml:beUser_email',
  1245. 'table' => 'be_users',
  1246. 'csh' => 'beUser_email',
  1247. ),
  1248. 'emailMeAtLogin' => array(
  1249. 'type' => 'check',
  1250. 'label' => 'LLL:EXT:setup/mod/locallang.xml:emailMeAtLogin',
  1251. 'csh' => 'emailMeAtLogin',
  1252. ),
  1253. 'password' => array(
  1254. 'type' => 'password',
  1255. 'label' => 'LLL:EXT:setup/mod/locallang.xml:newPassword',
  1256. 'table' => 'be_users',
  1257. 'csh' => 'newPassword',
  1258. 'eval' => 'md5',
  1259. ),
  1260. 'password2' => array(
  1261. 'type' => 'password',
  1262. 'label' => 'LLL:EXT:setup/mod/locallang.xml:newPasswordAgain',
  1263. 'table' => 'be_users',
  1264. 'csh' => 'newPasswordAgain',
  1265. 'eval' => 'md5',
  1266. ),
  1267. 'lang' => array(
  1268. 'type' => 'select',
  1269. 'itemsProcFunc' => 'SC_mod_user_setup_index->renderLanguageSelect',
  1270. 'label' => 'LLL:EXT:setup/mod/locallang.xml:language',
  1271. 'csh' => 'language',
  1272. ),
  1273. 'condensedMode' => array(
  1274. 'type' => 'check',
  1275. 'label' => 'LLL:EXT:setup/mod/locallang.xml:condensedMode',
  1276. 'csh' => 'condensedMode',
  1277. ),
  1278. 'startModule' => array(
  1279. 'type' => 'select',
  1280. 'itemsProcFunc' => 'SC_mod_user_setup_index->renderStartModuleSelect',
  1281. 'label' => 'LLL:EXT:setup/mod/locallang.xml:startModule',
  1282. 'csh' => 'startModule',
  1283. ),
  1284. 'thumbnailsByDefault' => array(
  1285. 'type' => 'check',
  1286. 'label' => 'LLL:EXT:setup/mod/locallang.xml:showThumbs',
  1287. 'csh' => 'showThumbs',
  1288. ),
  1289. 'helpText' => array(
  1290. 'type' => 'check',
  1291. 'label' => 'LLL:EXT:setup/mod/locallang.xml:helpText',
  1292. 'csh' => 'helpText',
  1293. ),
  1294. 'edit_wideDocument' => array(
  1295. 'type' => 'check',
  1296. 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_wideDocument',
  1297. 'csh' => 'edit_wideDocument',
  1298. ),
  1299. 'edit_showFieldHelp' => array(
  1300. 'type' => 'select',
  1301. 'items' => array (
  1302. '0' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_none',
  1303. 'icon' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_icon',
  1304. 'text' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_message',
  1305. ),
  1306. 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp',
  1307. 'csh' => 'edit_showFieldHelp',
  1308. ),
  1309. 'titleLen' => array(
  1310. 'type' => 'text',
  1311. 'label' => 'LLL:EXT:setup/mod/locallang.xml:maxTitleLen',
  1312. 'csh' => 'maxTitleLen',
  1313. ),
  1314. 'edit_RTE' => array(
  1315. 'type' => 'check',
  1316. 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_RTE',
  1317. 'csh' => 'edit_RTE',
  1318. ),
  1319. 'edit_docModuleUpload' => array(
  1320. 'type' => 'check',
  1321. 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_docModuleUpload',
  1322. 'csh' => 'edit_docModuleUpload',
  1323. ),
  1324. 'disableCMlayers' => array(
  1325. 'type' => 'check',
  1326. 'label' => 'LLL:EXT:setup/mod/locallang.xml:disableCMlayers',
  1327. 'csh' => 'disableCMlayers',
  1328. ),
  1329. 'copyLevels' => array(
  1330. 'type' => 'text',
  1331. 'label' => 'LLL:EXT:setup/mod/locallang.xml:copyLevels',
  1332. 'csh' => 'copyLevels',
  1333. ),
  1334. 'recursiveDelete' => array(
  1335. 'type' => 'check',
  1336. 'label' => 'LLL:EXT:setup/mod/locallang.xml:recursiveDelete',
  1337. 'csh' => 'recursiveDelete',
  1338. ),
  1339. 'simulate' => array(
  1340. 'type' => 'select',
  1341. 'itemsProcFunc' => 'SC_mod_user_setup_index->renderSimulateUserSelect',
  1342. 'access' => 'admin',
  1343. 'label' => 'LLL:EXT:setup/mod/locallang.xml:simulate',
  1344. 'csh' => 'simuser'
  1345. ),
  1346. 'enableFlashUploader' => array(
  1347. 'type' => 'check',
  1348. 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableFlashUploader',
  1349. 'csh' => 'enableFlashUploader',
  1350. ),
  1351. 'resizeTextareas' => array(
  1352. 'type' => 'check',
  1353. 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas',
  1354. 'csh' => 'resizeTextareas',
  1355. ),
  1356. 'resizeTextareas_MaxHeight' => array(
  1357. 'type' => 'text',
  1358. 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_MaxHeight',
  1359. 'csh' => 'resizeTextareas_MaxHeight',
  1360. ),
  1361. 'resizeTextareas_Flexible' => array(
  1362. 'type' => 'check',
  1363. 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_Flexible',
  1364. 'csh' => 'resizeTextareas_Flexible',
  1365. ),
  1366. 'installToolEnableButton' => array(
  1367. 'type' => 'user',
  1368. 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableInstallTool.label',
  1369. 'userFunc' => 'SC_mod_user_setup_index->renderInstallToolEnableFileButton',
  1370. 'access' => 'admin',
  1371. 'csh' => 'enableInstallTool'
  1372. ),
  1373. ),
  1374. 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
  1375. --div--;LLL:EXT:setup/mod/locallang.xml:opening,condensedMode,startModule,thumbnailsByDefault,helpText,edit_showFieldHelp,titleLen,
  1376. --div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCMlayers,copyLevels,recursiveDelete,
  1377. --div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,installToolEnableButton'
  1378. );
  1379. ###########################
  1380. ## EXTENSION: taskcenter
  1381. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/taskcenter/ext_tables.php
  1382. ###########################
  1383. $_EXTKEY = 'taskcenter';
  1384. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1385. if (!defi

Large files files are truncated, but you can click here to view the full file