PageRenderTime 65ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 1ms

/typo3conf/temp_CACHED_psf005_ext_tables.php

https://github.com/joanawelti/Esther-s-Webpage
PHP | 1498 lines | 1155 code | 152 blank | 191 comment | 57 complexity | b77ea92357be226f073f4e4f7fbf42c9 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. ?><?php
  9. # TYPO3 CVS ID: $Id: ext_tables.php 2332 2007-05-09 22:56:41Z tkahler $
  10. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  11. if (TYPO3_MODE=='BE') {
  12. t3lib_extMgm::addModule('web','layout','top',t3lib_extMgm::extPath($_EXTKEY).'layout/');
  13. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_layout','EXT:cms/locallang_csh_weblayout.xml');
  14. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:cms/locallang_csh_webinfo.xml');
  15. t3lib_extMgm::insertModuleFunction(
  16. 'web_info',
  17. 'tx_cms_webinfo_page',
  18. t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo.php',
  19. 'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_page'
  20. );
  21. t3lib_extMgm::insertModuleFunction(
  22. 'web_info',
  23. 'tx_cms_webinfo_lang',
  24. t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo_lang.php',
  25. 'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_lang'
  26. );
  27. }
  28. // ******************************************************************
  29. // Extend 'pages'-table
  30. // ******************************************************************
  31. if (TYPO3_MODE=='BE') {
  32. // Setting ICON_TYPES (obsolete by the removal of the plugin_mgm extension)
  33. $ICON_TYPES = Array();
  34. }
  35. // Adding pages_types:
  36. // t3lib_div::array_merge() MUST be used!
  37. $PAGES_TYPES = t3lib_div::array_merge(array(
  38. '3' => Array(
  39. 'icon' => 'pages_link.gif'
  40. ),
  41. '4' => Array(
  42. 'icon' => 'pages_shortcut.gif'
  43. ),
  44. '5' => Array(
  45. 'icon' => 'pages_notinmenu.gif'
  46. ),
  47. '7' => Array(
  48. 'icon' => 'pages_mountpoint.gif'
  49. ),
  50. '6' => Array(
  51. 'type' => 'web',
  52. 'icon' => 'be_users_section.gif',
  53. 'allowedTables' => '*'
  54. ),
  55. '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
  56. 'type' => 'sys',
  57. 'icon' => 'spacer_icon.gif',
  58. )
  59. ),$PAGES_TYPES);
  60. // Add allowed records to pages:
  61. t3lib_extMgm::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain');
  62. // Merging in CMS doktypes:
  63. array_splice(
  64. $TCA['pages']['columns']['doktype']['config']['items'],
  65. 1,
  66. 0,
  67. Array(
  68. Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.0', '2'),
  69. Array('LLL:EXT:lang/locallang_general.php:LGL.external', '3'),
  70. Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2', '4'),
  71. Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.3', '5'),
  72. Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4', '6'),
  73. Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5', '7'),
  74. Array('-----', '--div--'),
  75. Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7', '199')
  76. )
  77. );
  78. // Setting enablecolumns:
  79. $TCA['pages']['ctrl']['enablecolumns'] = Array (
  80. 'disabled' => 'hidden',
  81. 'starttime' => 'starttime',
  82. 'endtime' => 'endtime',
  83. 'fe_group' => 'fe_group',
  84. );
  85. // Adding default value columns:
  86. $TCA['pages']['ctrl']['useColumnsForDefaultValues'].=',fe_group,hidden';
  87. $TCA['pages']['ctrl']['transForeignTable'] = 'pages_language_overlay';
  88. // Adding new columns:
  89. $TCA['pages']['columns'] = array_merge($TCA['pages']['columns'],Array(
  90. 'hidden' => Array (
  91. 'exclude' => 1,
  92. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.hidden',
  93. 'config' => Array (
  94. 'type' => 'check',
  95. 'default' => '1'
  96. )
  97. ),
  98. 'starttime' => Array (
  99. 'exclude' => 1,
  100. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
  101. 'config' => Array (
  102. 'type' => 'input',
  103. 'size' => '8',
  104. 'max' => '20',
  105. 'eval' => 'date',
  106. 'checkbox' => '0',
  107. 'default' => '0'
  108. )
  109. ),
  110. 'endtime' => Array (
  111. 'exclude' => 1,
  112. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
  113. 'config' => Array (
  114. 'type' => 'input',
  115. 'size' => '8',
  116. 'max' => '20',
  117. 'eval' => 'date',
  118. 'checkbox' => '0',
  119. 'default' => '0',
  120. 'range' => Array (
  121. 'upper' => mktime(0,0,0,12,31,2020),
  122. )
  123. )
  124. ),
  125. 'layout' => Array (
  126. 'exclude' => 1,
  127. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
  128. 'config' => Array (
  129. 'type' => 'select',
  130. 'items' => Array (
  131. Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
  132. Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.1', '1'),
  133. Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.2', '2'),
  134. Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.3', '3')
  135. ),
  136. 'default' => '0'
  137. )
  138. ),
  139. 'fe_group' => Array (
  140. 'exclude' => 1,
  141. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
  142. 'config' => Array (
  143. 'type' => 'select',
  144. 'size' => 5,
  145. 'maxitems' => 20,
  146. 'items' => Array (
  147. Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
  148. Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
  149. Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
  150. ),
  151. 'exclusiveKeys' => '-1,-2',
  152. 'foreign_table' => 'fe_groups',
  153. )
  154. ),
  155. 'extendToSubpages' => Array (
  156. 'exclude' => 1,
  157. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.extendToSubpages',
  158. 'config' => Array (
  159. 'type' => 'check'
  160. )
  161. ),
  162. 'nav_title' => Array (
  163. 'exclude' => 1,
  164. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.nav_title',
  165. 'config' => Array (
  166. 'type' => 'input',
  167. 'size' => '30',
  168. 'max' => '256',
  169. 'checkbox' => '',
  170. 'eval' => 'trim'
  171. )
  172. ),
  173. 'nav_hide' => Array (
  174. 'exclude' => 1,
  175. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.nav_hide',
  176. 'config' => Array (
  177. 'type' => 'check'
  178. )
  179. ),
  180. 'subtitle' => Array (
  181. 'exclude' => 1,
  182. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.subtitle',
  183. 'config' => Array (
  184. 'type' => 'input',
  185. 'size' => '30',
  186. 'max' => '256',
  187. 'eval' => ''
  188. )
  189. ),
  190. 'target' => Array (
  191. 'exclude' => 1,
  192. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.target',
  193. 'config' => Array (
  194. 'type' => 'input',
  195. 'size' => '7',
  196. 'max' => '20',
  197. 'eval' => 'trim',
  198. 'checkbox' => ''
  199. )
  200. ),
  201. 'alias' => Array (
  202. 'displayCond' => 'VERSION:IS:false',
  203. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.alias',
  204. 'config' => Array (
  205. 'type' => 'input',
  206. 'size' => '10',
  207. 'max' => '32',
  208. 'eval' => 'nospace,alphanum_x,lower,unique',
  209. 'softref' => 'notify'
  210. )
  211. ),
  212. 'url' => Array (
  213. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.url',
  214. 'config' => Array (
  215. 'type' => 'input',
  216. 'size' => '25',
  217. 'max' => '256',
  218. 'eval' => 'trim,required',
  219. 'softref' => 'url'
  220. )
  221. ),
  222. 'urltype' => Array (
  223. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
  224. 'config' => Array (
  225. 'type' => 'select',
  226. 'items' => Array (
  227. Array('', '0'),
  228. Array('http://', '1'),
  229. Array('https://', '4'),
  230. Array('ftp://', '2'),
  231. Array('mailto:', '3')
  232. ),
  233. 'default' => '1'
  234. )
  235. ),
  236. 'lastUpdated' => Array (
  237. 'exclude' => 1,
  238. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.lastUpdated',
  239. 'config' => Array (
  240. 'type' => 'input',
  241. 'size' => '12',
  242. 'max' => '20',
  243. 'eval' => 'datetime',
  244. 'checkbox' => '0',
  245. 'default' => '0'
  246. )
  247. ),
  248. 'newUntil' => Array (
  249. 'exclude' => 1,
  250. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.newUntil',
  251. 'config' => Array (
  252. 'type' => 'input',
  253. 'size' => '8',
  254. 'max' => '20',
  255. 'eval' => 'date',
  256. 'checkbox' => '0',
  257. 'default' => '0'
  258. )
  259. ),
  260. 'cache_timeout' => Array (
  261. 'exclude' => 1,
  262. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.cache_timeout',
  263. 'config' => Array (
  264. 'type' => 'select',
  265. 'items' => Array (
  266. Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
  267. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.1', 60),
  268. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.2', 5*60),
  269. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.3', 15*60),
  270. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.4', 30*60),
  271. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.5', 60*60),
  272. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.6', 4*60*60),
  273. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.7', 24*60*60),
  274. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.8', 2*24*60*60),
  275. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.9', 7*24*60*60),
  276. Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.10', 31*24*60*60)
  277. ),
  278. 'default' => '0'
  279. )
  280. ),
  281. 'no_cache' => Array (
  282. 'exclude' => 1,
  283. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.no_cache',
  284. 'config' => Array (
  285. 'type' => 'check'
  286. )
  287. ),
  288. 'no_search' => Array (
  289. 'exclude' => 1,
  290. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.no_search',
  291. 'config' => Array (
  292. 'type' => 'check'
  293. )
  294. ),
  295. 'shortcut' => Array (
  296. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.shortcut_page',
  297. 'config' => Array (
  298. 'type' => 'group',
  299. 'internal_type' => 'db',
  300. 'allowed' => 'pages',
  301. 'size' => '3',
  302. 'maxitems' => '1',
  303. 'minitems' => '0',
  304. 'show_thumbs' => '1'
  305. )
  306. ),
  307. 'shortcut_mode' => Array (
  308. 'exclude' => 1,
  309. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode',
  310. 'config' => Array (
  311. 'type' => 'select',
  312. 'items' => Array (
  313. Array('', 0),
  314. Array('LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode.I.1', 1),
  315. Array('LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode.I.2', 2),
  316. ),
  317. 'default' => '0'
  318. )
  319. ),
  320. 'content_from_pid' => Array (
  321. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.content_from_pid',
  322. 'config' => Array (
  323. 'type' => 'group',
  324. 'internal_type' => 'db',
  325. 'allowed' => 'pages',
  326. 'size' => '1',
  327. 'maxitems' => '1',
  328. 'minitems' => '0',
  329. 'show_thumbs' => '1'
  330. )
  331. ),
  332. 'mount_pid' => Array (
  333. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid',
  334. 'config' => Array (
  335. 'type' => 'group',
  336. 'internal_type' => 'db',
  337. 'allowed' => 'pages',
  338. 'size' => '1',
  339. 'maxitems' => '1',
  340. 'minitems' => '0',
  341. 'show_thumbs' => '1'
  342. )
  343. ),
  344. 'keywords' => Array (
  345. 'exclude' => 1,
  346. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.keywords',
  347. 'config' => Array (
  348. 'type' => 'text',
  349. 'cols' => '40',
  350. 'rows' => '3'
  351. )
  352. ),
  353. 'description' => Array (
  354. 'exclude' => 1,
  355. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
  356. 'config' => Array (
  357. 'type' => 'input',
  358. 'size' => '40',
  359. 'eval' => 'trim'
  360. )
  361. ),
  362. 'abstract' => Array (
  363. 'exclude' => 1,
  364. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.abstract',
  365. 'config' => Array (
  366. 'type' => 'text',
  367. 'cols' => '40',
  368. 'rows' => '3'
  369. )
  370. ),
  371. 'author' => Array (
  372. 'exclude' => 1,
  373. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
  374. 'config' => Array (
  375. 'type' => 'input',
  376. 'size' => '20',
  377. 'eval' => 'trim',
  378. 'max' => '80'
  379. )
  380. ),
  381. 'author_email' => Array (
  382. 'exclude' => 1,
  383. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
  384. 'config' => Array (
  385. 'type' => 'input',
  386. 'size' => '20',
  387. 'eval' => 'trim',
  388. 'max' => '80',
  389. 'softref' => 'email[subst]'
  390. )
  391. ),
  392. 'media' => Array (
  393. 'exclude' => 1,
  394. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.media',
  395. 'config' => Array (
  396. 'type' => 'group',
  397. 'internal_type' => 'file',
  398. 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css',
  399. 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
  400. 'uploadfolder' => 'uploads/media',
  401. 'show_thumbs' => '1',
  402. 'size' => '3',
  403. 'maxitems' => '5',
  404. 'minitems' => '0'
  405. )
  406. ),
  407. 'is_siteroot' => Array (
  408. 'exclude' => 1,
  409. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.is_siteroot',
  410. 'config' => Array (
  411. 'type' => 'check'
  412. )
  413. ),
  414. 'mount_pid_ol' => Array (
  415. 'exclude' => 1,
  416. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid_ol',
  417. 'config' => Array (
  418. 'type' => 'check'
  419. )
  420. ),
  421. 'module' => Array (
  422. 'exclude' => 1,
  423. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.module',
  424. 'config' => Array (
  425. 'type' => 'select',
  426. 'items' => Array (
  427. Array('', ''),
  428. Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.1', 'shop'),
  429. Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.2', 'board'),
  430. Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.3', 'news'),
  431. Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.4', 'fe_users'),
  432. Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.6', 'approve')
  433. ),
  434. 'default' => ''
  435. )
  436. ),
  437. 'fe_login_mode' => Array (
  438. 'exclude' => 1,
  439. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode',
  440. 'config' => Array (
  441. 'type' => 'select',
  442. 'items' => Array (
  443. Array('', 0),
  444. Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.disable', 1),
  445. Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.enable', 2),
  446. )
  447. )
  448. ),
  449. 'l18n_cfg' => Array (
  450. 'exclude' => 1,
  451. 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg',
  452. 'config' => Array (
  453. 'type' => 'check',
  454. 'items' => Array (
  455. Array('LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.1', ''),
  456. Array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.2', ''),
  457. ),
  458. )
  459. ),
  460. ));
  461. // Add columns to info-display list.
  462. $TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';
  463. // Setting main palette
  464. $TCA['pages']['ctrl']['mainpalette']='1,15';
  465. // Totally overriding all type-settings:
  466. $TCA['pages']['types'] = Array (
  467. '1' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
  468. '2' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
  469. '3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
  470. '4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
  471. '5' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
  472. '7' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, mount_pid;;;;3-3-3, mount_pid_ol, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
  473. '199' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2, TSconfig;;6;nowrap;5-5-5, storage_pid;;7'),
  474. '254' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;LLL:EXT:lang/locallang_general.php:LGL.title;;;2-2-2, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module'),
  475. '255' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2')
  476. );
  477. // Merging palette settings:
  478. // t3lib_div::array_merge() MUST be used - otherwise the keys will be re-numbered!
  479. $TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],Array(
  480. '1' => Array('showitem' => 'starttime,endtime,extendToSubpages'),
  481. '15' => Array('showitem' => 'fe_group'),
  482. '2' => Array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
  483. '3' => Array('showitem' => 'alias, target, no_cache, cache_timeout'),
  484. '5' => Array('showitem' => 'author,author_email'),
  485. ));
  486. // ******************************************************************
  487. // This is the standard TypoScript content table, tt_content
  488. // ******************************************************************
  489. $TCA['tt_content'] = Array (
  490. 'ctrl' => Array (
  491. 'label' => 'header',
  492. 'label_alt' => 'subheader,bodytext',
  493. 'sortby' => 'sorting',
  494. 'tstamp' => 'tstamp',
  495. 'title' => 'LLL:EXT:cms/locallang_tca.php:tt_content',
  496. 'delete' => 'deleted',
  497. 'versioningWS' => TRUE,
  498. 'versioning_followPages' => TRUE,
  499. 'origUid' => 't3_origuid',
  500. 'type' => 'CType',
  501. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
  502. 'copyAfterDuplFields' => 'colPos,sys_language_uid',
  503. 'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
  504. 'shadowColumnsForNewPlaceholders' => 'colPos',
  505. 'transOrigPointerField' => 'l18n_parent',
  506. 'transOrigDiffSourceField' => 'l18n_diffsource',
  507. 'languageField' => 'sys_language_uid',
  508. 'enablecolumns' => Array (
  509. 'disabled' => 'hidden',
  510. 'starttime' => 'starttime',
  511. 'endtime' => 'endtime',
  512. 'fe_group' => 'fe_group',
  513. ),
  514. 'typeicon_column' => 'CType',
  515. 'typeicons' => Array (
  516. 'header' => 'tt_content_header.gif',
  517. 'textpic' => 'tt_content_textpic.gif',
  518. 'image' => 'tt_content_image.gif',
  519. 'bullets' => 'tt_content_bullets.gif',
  520. 'table' => 'tt_content_table.gif',
  521. 'splash' => 'tt_content_news.gif',
  522. 'uploads' => 'tt_content_uploads.gif',
  523. 'multimedia' => 'tt_content_mm.gif',
  524. 'menu' => 'tt_content_menu.gif',
  525. 'list' => 'tt_content_list.gif',
  526. 'mailform' => 'tt_content_form.gif',
  527. 'search' => 'tt_content_search.gif',
  528. 'login' => 'tt_content_login.gif',
  529. 'shortcut' => 'tt_content_shortcut.gif',
  530. 'script' => 'tt_content_script.gif',
  531. 'div' => 'tt_content_div.gif',
  532. 'html' => 'tt_content_html.gif'
  533. ),
  534. 'mainpalette' => '1,15',
  535. 'thumbnail' => 'image',
  536. 'requestUpdate' => 'list_type',
  537. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
  538. )
  539. );
  540. // ******************************************************************
  541. // fe_users
  542. // ******************************************************************
  543. $TCA['fe_users'] = Array (
  544. 'ctrl' => Array (
  545. 'label' => 'username',
  546. 'tstamp' => 'tstamp',
  547. 'crdate' => 'crdate',
  548. 'cruser_id' => 'cruser_id',
  549. 'fe_cruser_id' => 'fe_cruser_id',
  550. 'title' => 'LLL:EXT:cms/locallang_tca.php:fe_users',
  551. 'delete' => 'deleted',
  552. 'mainpalette' => '1',
  553. 'enablecolumns' => Array (
  554. 'disabled' => 'disable',
  555. 'starttime' => 'starttime',
  556. 'endtime' => 'endtime'
  557. ),
  558. 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
  559. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  560. ),
  561. 'feInterface' => Array (
  562. 'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
  563. )
  564. );
  565. // ******************************************************************
  566. // fe_groups
  567. // ******************************************************************
  568. $TCA['fe_groups'] = Array (
  569. 'ctrl' => Array (
  570. 'label' => 'title',
  571. 'tstamp' => 'tstamp',
  572. 'delete' => 'deleted',
  573. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
  574. 'enablecolumns' => Array (
  575. 'disabled' => 'hidden'
  576. ),
  577. 'title' => 'LLL:EXT:cms/locallang_tca.php:fe_groups',
  578. 'useColumnsForDefaultValues' => 'lockToDomain',
  579. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  580. )
  581. );
  582. // ******************************************************************
  583. // sys_domain
  584. // ******************************************************************
  585. $TCA['sys_domain'] = Array (
  586. 'ctrl' => Array (
  587. 'label' => 'domainName',
  588. 'tstamp' => 'tstamp',
  589. 'sortby' => 'sorting',
  590. 'title' => 'LLL:EXT:cms/locallang_tca.php:sys_domain',
  591. 'iconfile' => 'domain.gif',
  592. 'enablecolumns' => Array (
  593. 'disabled' => 'hidden'
  594. ),
  595. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  596. )
  597. );
  598. // ******************************************************************
  599. // pages_language_overlay
  600. // ******************************************************************
  601. $TCA['pages_language_overlay'] = Array (
  602. 'ctrl' => Array (
  603. 'label' => 'title',
  604. 'tstamp' => 'tstamp',
  605. 'title' => 'LLL:EXT:cms/locallang_tca.php:pages_language_overlay',
  606. 'versioningWS' => TRUE,
  607. 'versioning_followPages' => TRUE,
  608. 'origUid' => 't3_origuid',
  609. 'crdate' => 'crdate',
  610. 'cruser_id' => 'cruser_id',
  611. 'delete' => 'deleted',
  612. 'enablecolumns' => Array (
  613. 'disabled' => 'hidden',
  614. 'starttime' => 'starttime',
  615. 'endtime' => 'endtime'
  616. ),
  617. 'transOrigPointerField' => 'pid',
  618. 'transOrigPointerTable' => 'pages',
  619. 'transOrigDiffSourceField' => 'l18n_diffsource',
  620. 'shadowColumnsForNewPlaceholders' => 'title',
  621. 'languageField' => 'sys_language_uid',
  622. 'mainpalette' => 1,
  623. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  624. )
  625. );
  626. // ******************************************************************
  627. // sys_template
  628. // ******************************************************************
  629. $TCA['sys_template'] = Array (
  630. 'ctrl' => Array (
  631. 'label' => 'title',
  632. 'tstamp' => 'tstamp',
  633. 'sortby' => 'sorting',
  634. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
  635. 'title' => 'LLL:EXT:cms/locallang_tca.php:sys_template',
  636. 'versioningWS' => TRUE,
  637. 'origUid' => 't3_origuid',
  638. 'crdate' => 'crdate',
  639. 'cruser_id' => 'cruser_id',
  640. 'delete' => 'deleted',
  641. 'adminOnly' => 1, // Only admin, if any
  642. 'iconfile' => 'template.gif',
  643. 'thumbnail' => 'resources',
  644. 'enablecolumns' => Array (
  645. 'disabled' => 'hidden',
  646. 'starttime' => 'starttime',
  647. 'endtime' => 'endtime'
  648. ),
  649. 'typeicon_column' => 'root',
  650. 'typeicons' => Array (
  651. '0' => 'template_add.gif'
  652. ),
  653. 'mainpalette' => '1',
  654. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  655. )
  656. );
  657. // ******************************************************************
  658. // static_template
  659. // ******************************************************************
  660. $TCA['static_template'] = Array (
  661. 'ctrl' => Array (
  662. 'label' => 'title',
  663. 'tstamp' => 'tstamp',
  664. 'title' => 'LLL:EXT:cms/locallang_tca.php:static_template',
  665. 'readOnly' => 1, // This should always be true, as it prevents the static templates from being altered
  666. 'adminOnly' => 1, // Only admin, if any
  667. 'rootLevel' => 1,
  668. 'is_static' => 1,
  669. 'default_sortby' => 'ORDER BY title',
  670. 'crdate' => 'crdate',
  671. 'iconfile' => 'template_standard.gif',
  672. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
  673. )
  674. );
  675. ?><?php
  676. ###########################
  677. ## EXTENSION: version
  678. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/version/ext_tables.php
  679. ###########################
  680. $_EXTKEY = 'version';
  681. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  682. ?><?php
  683. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  684. if (TYPO3_MODE=='BE') {
  685. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
  686. 'name' => 'tx_version_cm1',
  687. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_version_cm1.php'
  688. );
  689. t3lib_extMgm::addModule('web','txversionM1','',t3lib_extMgm::extPath($_EXTKEY).'cm1/');
  690. }
  691. ?><?php
  692. ###########################
  693. ## EXTENSION: sv
  694. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/sv/ext_tables.php
  695. ###########################
  696. $_EXTKEY = 'sv';
  697. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  698. ?><?php
  699. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  700. // normal services should be added here
  701. ?><?php
  702. ###########################
  703. ## EXTENSION: css_styled_content
  704. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/css_styled_content/ext_tables.php
  705. ###########################
  706. $_EXTKEY = 'css_styled_content';
  707. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  708. ?><?php
  709. # TYPO3 CVS ID: $Id: ext_tables.php 937 2005-12-26 23:59:37Z kurfuerst $
  710. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  711. // add flexform
  712. t3lib_extMgm::addPiFlexFormValue('default', 'FILE:EXT:css_styled_content/flexform_ds.xml');
  713. t3lib_extMgm::addToAllTCAtypes('tt_content','pi_flexform;;;;1-1-1','table');
  714. t3lib_extMgm::addStaticFile($_EXTKEY,'static/','CSS Styled Content');
  715. ?><?php
  716. ###########################
  717. ## EXTENSION: context_help
  718. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/context_help/ext_tables.php
  719. ###########################
  720. $_EXTKEY = 'context_help';
  721. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  722. ?><?php
  723. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  724. t3lib_extMgm::addLLrefForTCAdescr('fe_groups','EXT:context_help/locallang_csh_fe_groups.xml');
  725. t3lib_extMgm::addLLrefForTCAdescr('fe_users','EXT:context_help/locallang_csh_fe_users.xml');
  726. t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:context_help/locallang_csh_pages.xml');
  727. t3lib_extMgm::addLLrefForTCAdescr('pages_language_overlay','EXT:context_help/locallang_csh_pageslol.xml');
  728. t3lib_extMgm::addLLrefForTCAdescr('static_template','EXT:context_help/locallang_csh_statictpl.xml');
  729. t3lib_extMgm::addLLrefForTCAdescr('sys_domain','EXT:context_help/locallang_csh_sysdomain.xml');
  730. t3lib_extMgm::addLLrefForTCAdescr('sys_template','EXT:context_help/locallang_csh_systmpl.xml');
  731. t3lib_extMgm::addLLrefForTCAdescr('tt_content','EXT:context_help/locallang_csh_ttcontent.xml');
  732. ?><?php
  733. ###########################
  734. ## EXTENSION: extra_page_cm_options
  735. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/extra_page_cm_options/ext_tables.php
  736. ###########################
  737. $_EXTKEY = 'extra_page_cm_options';
  738. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  739. ?><?php
  740. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  741. if (TYPO3_MODE=='BE') {
  742. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
  743. 'name' => 'tx_extrapagecmoptions',
  744. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_extrapagecmoptions.php'
  745. );
  746. }
  747. ?><?php
  748. ###########################
  749. ## EXTENSION: impexp
  750. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/impexp/ext_tables.php
  751. ###########################
  752. $_EXTKEY = 'impexp';
  753. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  754. ?><?php
  755. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  756. if (TYPO3_MODE=='BE') {
  757. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
  758. 'name' => 'tx_impexp_clickmenu',
  759. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_impexp_clickmenu.php'
  760. );
  761. t3lib_extMgm::addModulePath('xMOD_tximpexp',t3lib_extMgm::extPath($_EXTKEY).'app/');
  762. t3lib_extMgm::insertModuleFunction(
  763. 'user_task',
  764. 'tx_impexp_modfunc1',
  765. t3lib_extMgm::extPath($_EXTKEY).'modfunc1/class.tx_impexp_modfunc1.php',
  766. 'LLL:EXT:impexp/app/locallang.xml:moduleFunction.tx_impexp_modfunc1'
  767. );
  768. t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_impexp','EXT:impexp/locallang_csh.xml');
  769. }
  770. ?><?php
  771. ###########################
  772. ## EXTENSION: sys_note
  773. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/sys_note/ext_tables.php
  774. ###########################
  775. $_EXTKEY = 'sys_note';
  776. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  777. ?><?php
  778. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  779. if (TYPO3_MODE=='BE') {
  780. $TCA['sys_note'] = Array (
  781. 'ctrl' => Array (
  782. 'label' => 'subject',
  783. 'default_sortby' => 'ORDER BY crdate',
  784. 'tstamp' => 'tstamp',
  785. 'crdate' => 'crdate',
  786. 'cruser_id' => 'cruser',
  787. 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
  788. 'delete' => 'deleted',
  789. 'title' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note',
  790. 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
  791. ),
  792. 'interface' => Array (
  793. 'showRecordFieldList' => 'category,subject,message,author,email,personal'
  794. ),
  795. 'columns' => Array (
  796. 'category' => Array (
  797. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.category',
  798. 'config' => Array (
  799. 'type' => 'select',
  800. 'items' => Array (
  801. Array('', '0'),
  802. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.1', '1'),
  803. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.2', '3'),
  804. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.3', '4'),
  805. Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.4', '2')
  806. ),
  807. 'default' => '0'
  808. )
  809. ),
  810. 'subject' => Array (
  811. 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.subject',
  812. 'config' => Array (
  813. 'type' => 'input',
  814. 'size' => '40',
  815. 'max' => '256'
  816. )
  817. ),
  818. 'message' => Array (
  819. 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.message',
  820. 'config' => Array (
  821. 'type' => 'text',
  822. 'cols' => '40',
  823. 'rows' => '15'
  824. )
  825. ),
  826. 'author' => Array (
  827. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
  828. 'config' => Array (
  829. 'type' => 'input',
  830. 'size' => '20',
  831. 'eval' => 'trim',
  832. 'max' => '80'
  833. )
  834. ),
  835. 'email' => Array (
  836. 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
  837. 'config' => Array (
  838. 'type' => 'input',
  839. 'size' => '20',
  840. 'eval' => 'trim',
  841. 'max' => '80'
  842. )
  843. ),
  844. 'personal' => Array (
  845. 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.personal',
  846. 'config' => Array (
  847. 'type' => 'check'
  848. )
  849. )
  850. ),
  851. 'types' => Array (
  852. '0' => Array('showitem' => 'category;;;;2-2-2, author, email, personal, subject;;;;3-3-3, message')
  853. )
  854. );
  855. t3lib_extMgm::allowTableOnStandardPages('sys_note');
  856. }
  857. t3lib_extMgm::addLLrefForTCAdescr('sys_note','EXT:sys_note/locallang_csh_sysnote.xml');
  858. ?><?php
  859. ###########################
  860. ## EXTENSION: tstemplate
  861. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate/ext_tables.php
  862. ###########################
  863. $_EXTKEY = 'tstemplate';
  864. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  865. ?><?php
  866. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  867. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('web','ts','',t3lib_extMgm::extPath($_EXTKEY).'ts/');
  868. ?><?php
  869. ###########################
  870. ## EXTENSION: tstemplate_ceditor
  871. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_ceditor/ext_tables.php
  872. ###########################
  873. $_EXTKEY = 'tstemplate_ceditor';
  874. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  875. ?><?php
  876. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  877. if (TYPO3_MODE=='BE') {
  878. t3lib_extMgm::insertModuleFunction(
  879. 'web_ts',
  880. 'tx_tstemplateceditor',
  881. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateceditor.php',
  882. 'Constant Editor'
  883. );
  884. }
  885. ?><?php
  886. ###########################
  887. ## EXTENSION: tstemplate_info
  888. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_info/ext_tables.php
  889. ###########################
  890. $_EXTKEY = 'tstemplate_info';
  891. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  892. ?><?php
  893. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  894. if (TYPO3_MODE=='BE') {
  895. t3lib_extMgm::insertModuleFunction(
  896. 'web_ts',
  897. 'tx_tstemplateinfo',
  898. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateinfo.php',
  899. 'Info/Modify'
  900. );
  901. }
  902. ?><?php
  903. ###########################
  904. ## EXTENSION: tstemplate_objbrowser
  905. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_objbrowser/ext_tables.php
  906. ###########################
  907. $_EXTKEY = 'tstemplate_objbrowser';
  908. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  909. ?><?php
  910. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  911. if (TYPO3_MODE=='BE') {
  912. t3lib_extMgm::insertModuleFunction(
  913. 'web_ts',
  914. 'tx_tstemplateobjbrowser',
  915. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateobjbrowser.php',
  916. 'TypoScript Object Browser'
  917. );
  918. }
  919. ?><?php
  920. ###########################
  921. ## EXTENSION: tstemplate_analyzer
  922. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/tstemplate_analyzer/ext_tables.php
  923. ###########################
  924. $_EXTKEY = 'tstemplate_analyzer';
  925. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  926. ?><?php
  927. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  928. if (TYPO3_MODE=='BE') {
  929. t3lib_extMgm::insertModuleFunction(
  930. 'web_ts',
  931. 'tx_tstemplateanalyzer',
  932. t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateanalyzer.php',
  933. 'Template Analyzer'
  934. );
  935. }
  936. ?><?php
  937. ###########################
  938. ## EXTENSION: func_wizards
  939. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/func_wizards/ext_tables.php
  940. ###########################
  941. $_EXTKEY = 'func_wizards';
  942. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  943. ?><?php
  944. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  945. if (TYPO3_MODE=='BE') {
  946. t3lib_extMgm::insertModuleFunction(
  947. 'web_func',
  948. 'tx_funcwizards_webfunc',
  949. t3lib_extMgm::extPath($_EXTKEY).'class.tx_funcwizards_webfunc.php',
  950. 'LLL:EXT:func_wizards/locallang.php:mod_wizards'
  951. );
  952. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:func_wizards/locallang_csh.xml');
  953. }
  954. ?><?php
  955. ###########################
  956. ## EXTENSION: wizard_crpages
  957. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/wizard_crpages/ext_tables.php
  958. ###########################
  959. $_EXTKEY = 'wizard_crpages';
  960. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  961. ?><?php
  962. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  963. if (TYPO3_MODE=='BE') {
  964. t3lib_extMgm::insertModuleFunction(
  965. 'web_func',
  966. 'tx_wizardcrpages_webfunc_2',
  967. t3lib_extMgm::extPath($_EXTKEY).'class.tx_wizardcrpages_webfunc_2.php',
  968. 'LLL:EXT:wizard_crpages/locallang.php:wiz_crMany',
  969. 'wiz'
  970. );
  971. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:wizard_crpages/locallang_csh.xml');
  972. }
  973. ?><?php
  974. ###########################
  975. ## EXTENSION: wizard_sortpages
  976. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/wizard_sortpages/ext_tables.php
  977. ###########################
  978. $_EXTKEY = 'wizard_sortpages';
  979. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  980. ?><?php
  981. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  982. if (TYPO3_MODE=='BE') {
  983. t3lib_extMgm::insertModuleFunction(
  984. 'web_func',
  985. 'tx_wizardsortpages_webfunc_2',
  986. t3lib_extMgm::extPath($_EXTKEY).'class.tx_wizardsortpages_webfunc_2.php',
  987. 'LLL:EXT:wizard_sortpages/locallang.php:wiz_sort',
  988. 'wiz'
  989. );
  990. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:wizard_sortpages/locallang_csh.xml');
  991. }
  992. ?><?php
  993. ###########################
  994. ## EXTENSION: lowlevel
  995. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/lowlevel/ext_tables.php
  996. ###########################
  997. $_EXTKEY = 'lowlevel';
  998. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  999. ?><?php
  1000. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1001. if (TYPO3_MODE=='BE') {
  1002. t3lib_extMgm::addModule('tools','dbint','',t3lib_extMgm::extPath($_EXTKEY).'dbint/');
  1003. t3lib_extMgm::addModule('tools','config','',t3lib_extMgm::extPath($_EXTKEY).'config/');
  1004. /*
  1005. t3lib_extMgm::insertModuleFunction(
  1006. 'web_func',
  1007. 'tx_lowlevel_cleaner',
  1008. t3lib_extMgm::extPath($_EXTKEY).'class.tx_lowlevel_cleaner.php',
  1009. 'Cleaner',
  1010. 'function',
  1011. 'online'
  1012. );
  1013. */
  1014. }
  1015. ?><?php
  1016. ###########################
  1017. ## EXTENSION: install
  1018. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/install/ext_tables.php
  1019. ###########################
  1020. $_EXTKEY = 'install';
  1021. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1022. ?><?php
  1023. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1024. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('tools','install','',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1025. ?><?php
  1026. ###########################
  1027. ## EXTENSION: belog
  1028. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/belog/ext_tables.php
  1029. ###########################
  1030. $_EXTKEY = 'belog';
  1031. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1032. ?><?php
  1033. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1034. if (TYPO3_MODE=='BE') {
  1035. t3lib_extMgm::addModule('tools','log','',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1036. t3lib_extMgm::insertModuleFunction(
  1037. 'web_info',
  1038. 'tx_belog_webinfo',
  1039. t3lib_extMgm::extPath($_EXTKEY).'class.tx_belog_webinfo.php',
  1040. 'Log'
  1041. );
  1042. }
  1043. ?><?php
  1044. ###########################
  1045. ## EXTENSION: beuser
  1046. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/beuser/ext_tables.php
  1047. ###########################
  1048. $_EXTKEY = 'beuser';
  1049. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1050. ?><?php
  1051. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1052. if (TYPO3_MODE=='BE') {
  1053. t3lib_extMgm::addModule('tools','beuser','top',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1054. $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
  1055. 'name' => 'tx_beuser',
  1056. 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_beuser.php'
  1057. );
  1058. }
  1059. ?><?php
  1060. ###########################
  1061. ## EXTENSION: aboutmodules
  1062. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/aboutmodules/ext_tables.php
  1063. ###########################
  1064. $_EXTKEY = 'aboutmodules';
  1065. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1066. ?><?php
  1067. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1068. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('help','aboutmodules','top',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1069. ?><?php
  1070. ###########################
  1071. ## EXTENSION: setup
  1072. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/setup/ext_tables.php
  1073. ###########################
  1074. $_EXTKEY = 'setup';
  1075. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1076. ?><?php
  1077. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1078. if (TYPO3_MODE=='BE') {
  1079. t3lib_extMgm::addModule('user','setup','after:task',t3lib_extMgm::extPath($_EXTKEY).'mod/');
  1080. t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:setup/locallang_csh_mod.xml');
  1081. }
  1082. ?><?php
  1083. ###########################
  1084. ## EXTENSION: taskcenter
  1085. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/taskcenter/ext_tables.php
  1086. ###########################
  1087. $_EXTKEY = 'taskcenter';
  1088. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1089. ?><?php
  1090. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1091. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('user','task','top',t3lib_extMgm::extPath($_EXTKEY).'task/');
  1092. ?><?php
  1093. ###########################
  1094. ## EXTENSION: info_pagetsconfig
  1095. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/info_pagetsconfig/ext_tables.php
  1096. ###########################
  1097. $_EXTKEY = 'info_pagetsconfig';
  1098. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1099. ?><?php
  1100. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1101. if (TYPO3_MODE=='BE') {
  1102. t3lib_extMgm::insertModuleFunction(
  1103. 'web_info',
  1104. 'tx_infopagetsconfig_webinfo',
  1105. t3lib_extMgm::extPath($_EXTKEY).'class.tx_infopagetsconfig_webinfo.php',
  1106. 'LLL:EXT:info_pagetsconfig/locallang.php:mod_pagetsconfig'
  1107. );
  1108. }
  1109. t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:info_pagetsconfig/locallang_csh_webinfo.xml');
  1110. ?><?php
  1111. ###########################
  1112. ## EXTENSION: viewpage
  1113. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/viewpage/ext_tables.php
  1114. ###########################
  1115. $_EXTKEY = 'viewpage';
  1116. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1117. ?><?php
  1118. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1119. if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('web','view','after:layout',t3lib_extMgm::extPath($_EXTKEY).'view/');
  1120. ?><?php
  1121. ###########################
  1122. ## EXTENSION: rtehtmlarea
  1123. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/rtehtmlarea/ext_tables.php
  1124. ###########################
  1125. $_EXTKEY = 'rtehtmlarea';
  1126. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1127. ?><?php
  1128. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1129. // Add static template for enabling the Click-enlarge feature
  1130. if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableClickEnlarge']) {
  1131. t3lib_extMgm::addStaticFile($_EXTKEY,'static/clickenlarge/','Clickenlarge Rendering');
  1132. }
  1133. $TCA['tx_rtehtmlarea_acronym'] = Array (
  1134. 'ctrl' => Array (
  1135. 'title' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym',
  1136. 'label' => 'term',
  1137. 'default_sortby' => 'ORDER BY term',
  1138. 'sortby' => 'sorting',
  1139. 'rootLevel' => 1,
  1140. 'delete' => 'deleted',
  1141. 'enablecolumns' => Array (
  1142. 'disabled' => 'hidden',
  1143. 'starttime' => 'starttime',
  1144. 'endtime' => 'endtime',
  1145. ),
  1146. 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
  1147. 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'htmlarea/skins/default/images/Acronym/ed_acronym.gif',
  1148. )
  1149. );
  1150. t3lib_extMgm::allowTableOnStandardPages('tx_rtehtmlarea_acronym');
  1151. t3lib_extMgm::addToInsertRecords('tx_rtehtmlarea_acronym');
  1152. ?><?php
  1153. ###########################
  1154. ## EXTENSION: t3skin
  1155. ## FILE: /Applications/MAMP/htdocs/typo3/sysext/t3skin/ext_tables.php
  1156. ###########################
  1157. $_EXTKEY = 't3skin';
  1158. $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
  1159. ?><?php
  1160. if (!defined ('TYPO3_MODE')) die ('Access denied.');
  1161. // require_once(t3lib_extMgm::extPath('t3skin').'debuglib.php');
  1162. if (TYPO3_MODE=='BE') {
  1163. $presetSkinImgs = is_array($TBE_STYLES['skinImg']) ? $TBE_STYLES['skinImg'] : array(); // Means, support for other extensions to add own icons...
  1164. /**
  1165. * Setting up backend styles and colors
  1166. */
  1167. $TBE_STYLES['mainColors'] = Array ( // Always use #xxxxxx color definitions!
  1168. 'bgColor' => '#FFFFFF', // Light background color
  1169. 'bgColor2' => '#FEFEFE', // Steel-blue
  1170. 'bgColor3' => '#F1F3F5', // dok.color
  1171. 'bgColor4' => '#E6E9EB', // light tablerow background, brownish
  1172. 'bgColor5' => '#F8F9FB', // light tablerow background, greenish
  1173. 'bgColor6' => '#E6E9EB', // light tablerow background, yellowish, for section headers. Light.
  1174. 'hoverColor' => '#FF0000',
  1175. 'navFrameHL' => '#F8F9FB'
  1176. );
  1177. $TBE_STYLES['colorschemes'][0]='-|class-main1,-|class-main2,-|class-main3,-|class-main4,-|class-main5';
  1178. $TBE_STYLES['colorschemes'][1]='-|class-main11,-|class-main12,-|class-main13,-|class-main14,-|class-main15';
  1179. $TBE_STYLES['colorschemes'][2]='-|class-main21,-|class-main22,-|class-main23,-|class-main24,-|class-main25';
  1180. $TBE_STYLES['colorschemes'][3]='-|class-main31,-|class-main32,-|class-main33,-|class-main34,-|class-main35';
  1181. $TBE_STYLES['colorschemes'][4]='-|class-main41,-|class-main42,-|class-main43,-|class-main44,-|class-main45';
  1182. $TBE_STYLES['colorschemes'][5]='-|class-main51,-|class-main52,-|class-main53,-|class-main54,-|class-main55';
  1183. $TBE_STYLES['styleschemes'][0]['all'] = 'CLASS: formField';
  1184. $TBE_STYLES['styleschemes'][1]['all'] = 'CLASS: formField1';
  1185. $TBE_STYLES['styleschemes'][2]['all'] = 'CLASS: formField2';
  1186. $TBE_STYLES['styleschemes'][3]['all'] = 'CLASS: formField3';
  1187. $TBE_STYLES['styleschemes'][4]['all'] = 'CLASS: formField4';
  1188. $TBE_STYLES['styleschemes'][5]['all'] = 'CLASS: formField5';
  1189. $TBE_STYLES['styleschemes'][0]['check'] = 'CLASS: checkbox';
  1190. $TBE_STYLES['styleschemes'][1]['check'] = 'CLASS: checkbox';
  1191. $TBE_STYLES['styleschemes'][2]['check'] = 'CLASS: checkbox';
  1192. $TBE_STYLES['styleschemes'][3]['check'] = 'CLASS: checkbox';
  1193. $TBE_STYLES['styleschemes'][4]['check'] = 'CLASS: checkbox';
  1194. $TBE_STYLES['styleschemes'][5]['check'] = 'CLASS: checkbox';
  1195. $TBE_STYLES['styleschemes'][0]['radio'] = 'CLASS: radio';
  1196. $TBE_STYLES['styleschemes'][1]['radio'] = 'CLASS: radio';
  1197. $TBE_STYLES['styleschemes'][2]['radio'] = 'CLASS: radio';
  1198. $TBE_STYLES['styleschemes'][3]['radio'] = 'CLASS: radio';
  1199. $TBE_STYLES['styleschemes'][4]['radio'] = 'CLASS: radio';
  1200. $TBE_STYLES['styleschemes'][5]['radio'] = 'CLASS: radio';
  1201. $TBE_STYLES['styleschemes'][0]['select'] = 'CLASS: select';
  1202. $TBE_STYLES['styleschemes'][1]['select'] = 'CLASS: select';
  1203. $TBE_STYLES['styleschemes'][2]['select'] = 'CLASS: select';
  1204. $TBE_STYLES['styleschemes'][3]['select'] = 'CLASS: select';
  1205. $TBE_STYLES['styleschemes'][4]['select'] = 'CLASS: select';
  1206. $TBE_STYLES['styleschemes'][5]['select'] = 'CLASS: select';
  1207. $TBE_STYLES['borderschemes'][0]= array('','','','wrapperTable');
  1208. $TBE_STYLES['borderschemes'][1]= array('','','','wrapperTable1');
  1209. $TBE_STYLES['borderschemes'][2]= array('','','','wrapperTable2');
  1210. $TBE_STYLES['borderschemes'][3]= array('','','','wrapperTable3');
  1211. $TBE_STYLES['borderschemes'][4]= array('','','','wrapperTable4');
  1212. $TBE_STYLES['borderschemes'][5]= array('','','','wrapperTable5');
  1213. // Setting the relative path to the extension in temp. variable:
  1214. $temp_eP = t3lib_extMgm::extRelPath($_EXTKEY);
  1215. // Setting login box image rotation folder:
  1216. $TBE_STYLES['loginBoxImage_rotationFolder'] = $temp_eP.'images/login/';
  1217. $TBE_STYLES['loginBoxImage_author']['loginimage_4_1.jpg'] = 'Photo by Ture Andersen (www.tureandersen.dk)';
  1218. #$TBE_STYLES['loginBoxImage_rotationFolder'] = '';
  1219. // Setting up stylesheets (See template() constructor!)
  1220. # $TBE_STYLES['stylesheet'] = $temp_eP.'stylesheets/stylesheet.css'; // Alternative stylesheet to the default "typo3/stylesheet.css" stylesheet.
  1221. # $TBE_STYLES['stylesheet2'] = $temp_eP.'stylesheets/stylesheet.css'; // Additional stylesheet (not used by default). Set BEFORE any in-document styles
  1222. $TBE_STYLES['styleSheetFile_post'] = $temp_eP.'stylesheets/stylesheet_post.css'; // Additional stylesheet. Set AFTER any in-document styles
  1223. # $TBE_STYLES['inDocStyles_TBEstyle'] = '* {text-align: right;}'; // Additional default in-document styles.
  1224. // Alternative dimensions for frameset sizes:
  1225. $TBE_STYLES['dims']['leftMenuFrameW']=140; // Left menu frame width
  1226. $TBE_STYLES['dims']['topFrameH']=45; // Top frame heigth
  1227. $TBE_STYLES['dims']['shortcutFrameH']=35; // Shortcut frame height
  1228. $TBE_STYLES['dims']['selMenuFrame']=200; // Width of the selector box menu frame
  1229. $TBE_STYLES['dims']['navFrameWidth']=260; // Default navigation frame width
  1230. $TBE_STYLES['border'] = $temp_eP.'noborder.html';
  1231. // Setting roll-over background color for click menus:
  1232. // Notice, this line uses the the 'scriptIDindex' feature to override another value in this array (namely $TBE_STYLES['mainColors']['bgColor5']), for a specific script "typo3/alt_clickmenu.php"
  1233. $TBE_STYLES['scriptIDindex']['typo3/alt_clickmenu.php']['mainColors']['bgColor5']='#F8F9FB';
  1234. // Setting up auto detection of alternative icons:
  1235. $TBE_STYLES['skinImgAutoCfg']=array(
  1236. 'absDir' => t3lib_extMgm::extPath($_EXTKEY).'icons/',
  1237. 'relDir' => t3lib_extMgm::extRelPath($_EXTKEY).'icons/',
  1238. 'forceFileExtension' => 'gif', // Force to look for PNG alternatives...
  1239. # 'scaleFactor' => 2/3, // Scaling factor, default is 1
  1240. );
  1241. // Manual setting up of alternative icons. This is mainly for module icons which has a special prefix:
  1242. $TBE_STYLES['skinImg'] = array_merge($presetSkinImgs, array (
  1243. 'gfx/ol/blank.gif' => array('clear.gif','width="14" height="14"'),
  1244. 'MOD:web/website.gif' => array($temp_eP.'icons/module_web.gif','width="24" height="24"'),
  1245. 'MOD:web_layout/layout.gif' => array($temp_eP.'icons/module_web_layout.gif','width="24" height="24"'),
  1246. 'MOD:web_view/view.gif' => array($temp_eP.'icons/module_web_view.gif','width="24" height="24"'),
  1247. 'MOD:web_list/list.gif' => array($temp_eP.'icons/module_web_list.gif','width="24" height="24"'),
  1248. 'MOD:web_info/info.gif' => array($temp_eP.'icons/module_web_info.gif','width="24" height="24"'),
  1249. 'MOD:web_perm/perm.gif' => array($temp_eP.'icons/module_web_perms.gif','width="24" height="24"'),
  1250. 'MOD:web_perm/legend.gif' => array($temp_eP.'icons/legend.gif','width="24" height="24"'),
  1251. 'MOD:web_func/func.gif' => array($temp_eP.'icons/module_web_func.gif','width="24" height="24"'),
  1252. 'MOD:web_ts/ts1.gif' => array($temp_eP.'icons/module_web_ts.gif','width="24" height="24"'),
  1253. 'MOD:web_modules/modules.gif' => array($temp_eP.'icons/module_web_modules.gif','width="24" height="24"'),
  1254. 'MOD:file/file.gif' => array($temp_eP.'icons/module_file.gif','width="22" height="24"'),
  1255. 'MOD:file_list/list.gif' => array($temp_eP.'icons/module_file_list.gif','width="22" height="24"'),
  1256. 'MOD:file_images/images.gif' => array($temp_eP.'icons/module_file_images.gif','width="22" height="22"'),
  1257. 'MOD:doc/document.gif' => array($temp_eP.'icons/module_doc.gif','width="22" height="22"'),
  1258. 'MOD:user/user.gif' => array($temp_eP.'icons/module_user.gif','width="22" height="22"'),
  1259. 'MOD:user_task/task.gif' => array($temp_eP.'icons/module_user_taskcenter.gif','width="22" height="22"'),
  1260. 'MOD:user_setup/setup.gif' => array($temp_eP.'icons/module_user_setup.gif','width="22" height="22"'),
  1261. 'MOD:tools/tool.gif' => array($temp_eP.'icons/module_tools.gif','width="25" height="24"'),
  1262. 'MOD:tools_beuser/beuser.gif' => array($temp_eP.'icons/module_tools_user.gif','width="24" height="24"'),
  1263. 'MOD:tools_em/em.gif' => array($temp_eP.'icons/module_tools_em.gif','width="24" height="24"'),
  1264. 'MOD:tools_em/install.gif' => array($temp_eP.'icons/module_tools_em.gif','width="24" height="24"'),
  1265. 'MOD:tools_dbint/db.gif' => array($temp_eP.'icons/module_tools_dbint.gif','width="25" height="24"'),
  1266. 'MOD:tools_config/config.gif' => array($temp_eP.'icons/module_tools_config.gif','width="24" height="24"'),
  1267. 'MOD:tools_install/install.gif' => array($temp_eP.'icons/module_tools_install.gif','width="24" height="24"'),
  1268. 'MOD:tools_log/log.gif' => array($temp_eP.'icons/module_tools_log.gif','width="24" height="24"'),
  1269. 'MOD:tools_txphpmyadmin/thirdparty_db.gif' => array($temp_eP.'icons/module_tools_phpmyadmin.gif','width="24" height="24"'),
  1270. 'MOD:tools_isearch/isearch.gif' => array($temp_eP.'icons/module_tools_isearch.gif','width="24" height="24"'),
  1271. 'MOD:help/help.gif' => array($temp_eP.'icons/module_help.gif','width="23" height="24"'),
  1272. 'MOD:help_about/info.gif' => array($temp_eP.'icons/module_help_about.gif','width="25" height="24"'),
  1273. 'MOD:help_aboutmodules/aboutmodules.gif' => array($temp_eP.'icons/module_help_aboutmodules.gif','width="24" height="24"'),
  1274. ));
  1275. // Adding icon for photomarathon extensions' backend module, if enabled:
  1276. if (t3lib_extMgm::isloaded('user_photomarathon')) {
  1277. $TBE_STYLES['skinImg']['MOD:web_uphotomarathon/tab_icon.gif'] = array($temp_eP.'icons/ext/user_photomarathon/tab_icon.gif','width="24" height="24"');
  1278. }
  1279. // Adding icon for templavoila extensions' backend module, if enabled:
  1280. if (t3lib_extMgm::isloaded('templavoila')) {
  1281. $TBE_STYLES['skinImg']['MOD:web_txtemplavoilaM1/moduleicon.gif'] = array($temp_eP.'icons/ext/templavoila/mod1/moduleicon.gif','width="22" height="22"');
  1282. $TBE_STYLES['skinImg']['MOD:web_txtemplavoilaM2/moduleicon.gif'] = array($temp_eP.'icons/ext/templavoila/mod1/moduleicon.gif','width="22" height="22"');
  1283. }
  1284. // Adding icon for extension manager' backend module, if enabled:
  1285. $TBE_STYLES['skinImg']['MOD:tools_em/install.gif'] = array($temp_eP.'icons/e…

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