[TASK] Reapply direct changes of TYPO3 Core
[Packages/TYPO3.CMS.git] / typo3 / sysext / version / ext_localconf.php
1 <?php
2 /* $Id: ext_localconf.php 7251 2010-04-06 18:57:45Z francois $ */
3
4 if (!defined ('TYPO3_MODE')) {
5 die ('Access denied.');
6 }
7
8 // register the hook to actually do the work within TCEmain
9 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['version'] = t3lib_extMgm::extPath('version', 'class.tx_version_tcemain.php:&tx_version_tcemain');
10 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass']['version'] = t3lib_extMgm::extPath('version', 'class.tx_version_tcemain.php:&tx_version_tcemain');
11 // Register hook for overriding the icon status overlay
12 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_iconworks.php']['overrideIconOverlay']['version'] = t3lib_extMgm::extPath('version', 'class.tx_version_iconworks.php:&tx_version_iconworks');
13
14 if (TYPO3_MODE == 'BE') {
15
16 // add default notification options to every page
17 t3lib_extMgm::addPageTSconfig('
18 tx_version.workspaces.stageNotificationEmail.subject = LLL:EXT:version/Resources/Private/Language/locallang_emails.xml:subject
19 tx_version.workspaces.stageNotificationEmail.message = LLL:EXT:version/Resources/Private/Language/locallang_emails.xml:message
20 # tx_version.workspaces.stageNotificationEmail.additionalHeaders =
21 ');
22 }
23
24
25 ?>