Bug #21808 » 12947.diff
typo3/sysext/cms/ext_localconf.php (working copy) | ||
---|---|---|
if (!defined ('TYPO3_MODE')) die ('Access denied.');
|
||
t3lib_extMgm::addUserTSConfig('
|
||
options.saveDocNew = 1
|
||
options.saveDocNew.pages = 0
|
||
options.saveDocNew.pages_language_overlay = 0
|
||
');
|
typo3/alt_doc.php (working copy) | ||
---|---|---|
function getNewIconMode($table, $key = 'saveDocNew') {
|
||
$TSconfig = $GLOBALS['BE_USER']->getTSConfig('options.'.$key);
|
||
$output = trim(isset($TSconfig['properties'][$table]) ? $TSconfig['properties'][$table] : $TSconfig['value']);
|
||
if (($key == 'saveDocNew' || $key == 'saveDocView') && $TSconfig['value'] != '0') {
|
||
$output = !(isset($TSconfig['properties'][$table]) && $TSconfig['properties'][$table] == '0');
|
||
}
|
||
return $output;
|
||
}
|
||
- « Previous
- 1
- 2
- Next »