Bug #21808 » 9183.diff
ChangeLog (revision 3994) | ||
---|---|---|
* Fixed bug #7921: recursive pidInList for select in cObj CONTENT (thanks to Georg Ringer)
|
||
* Fixed bug #9141: Update Wizard uses wrong scheme to write compat_version to localconf.php
|
||
* Fixed bug #9152: Deprecated code into stdgraphic
|
||
* Fixed bug #9183: saveDocNew for all tables except the option is set to 0
|
||
2008-08-16 Stanislas Rolland <typo3@sjbr.ca>
|
||
typo3/alt_doc.php (revision 3994) | ||
---|---|---|
* @param string The option for look for. Default is checking if the saveDocNew button should be displayed.
|
||
* @return string Return value fetched from USER TSconfig
|
||
*/
|
||
function getNewIconMode($table,$key='saveDocNew') {
|
||
global $BE_USER;
|
||
$TSconfig = $BE_USER->getTSConfig('options.'.$key);
|
||
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' && $TSconfig['value'] != '0') {
|
||
$output = !(isset($TSconfig['properties'][$table]) && $TSconfig['properties'][$table] == '0');
|
||
}
|
||
return $output;
|
||
}
|
||
typo3/sysext/cms/ext_localconf.php (revision 3994) | ||
---|---|---|
# TYPO3 SVN ID: $Id$
|
||
if (!defined ('TYPO3_MODE')) die ('Access denied.');
|
||
t3lib_extMgm::addUserTSConfig('
|
||
options.saveDocNew.pages = 0
|
||
options.saveDocNew.pages_language_overlay = 0
|
||
');
|
||
$TYPO3_CONF_VARS['SYS']['contentTable'] = 'tt_content';
|
||
$TYPO3_CONF_VARS['FE']['eID_include']['tx_cms_showpic'] = 'EXT:cms/tslib/showpic.php';
|
||