|
TYPO3 API
SVNRelease
|
00001 <?php 00002 /* $Id: ext_localconf.php 7251 2010-04-06 18:57:45Z francois $ */ 00003 00004 if (!defined ('TYPO3_MODE')) { 00005 die ('Access denied.'); 00006 } 00007 00008 // register the hook to actually do the work within TCEmain 00009 $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'); 00010 $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'); 00011 00012 if (TYPO3_MODE == 'BE') { 00013 00014 // add default notification options to every page 00015 t3lib_extMgm::addPageTSconfig(' 00016 tx_version.workspaces.stageNotificationEmail.subject = LLL:EXT:version/Resources/Private/Language/locallang_emails.xml:subject 00017 tx_version.workspaces.stageNotificationEmail.message = LLL:EXT:version/Resources/Private/Language/locallang_emails.xml:message 00018 # tx_version.workspaces.stageNotificationEmail.additionalHeaders = 00019 '); 00020 } 00021 00022 00023 ?>
1.8.0