TYPO3 CMS  TYPO3_7-6
sys_template.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // Activate t3editor for sys_template constants
5 if (is_array($GLOBALS['TCA']['sys_template']['columns']['constants']['config'])) {
6  $GLOBALS['TCA']['sys_template']['columns']['constants']['config']['renderType'] = 't3editor';
7  $GLOBALS['TCA']['sys_template']['columns']['constants']['config']['format'] = 'typoscript';
8 }
9 
10 // Activate t3editor for sys_template config
11 if (is_array($GLOBALS['TCA']['sys_template']['columns']['config']['config'])) {
12  $GLOBALS['TCA']['sys_template']['columns']['config']['config']['renderType'] = 't3editor';
13  $GLOBALS['TCA']['sys_template']['columns']['config']['config']['format'] = 'typoscript';
14 }
if(!defined("DB_ERROR")) define("DB_ERROR"
if(TYPO3_MODE==='BE') $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['frontendEditingController']['default']