Project

General

Profile

Bug #19544 » 0009704_4-3.patch

Administrator Admin, 2008-12-22 15:20

View differences:

t3lib/class.t3lib_frontendedit.php (working copy)
* @return void
*/
public function initConfigOptions() {
$this->saveConfigOptions();
$this->TSFE_EDIT = t3lib_div::_POST('TSFE_EDIT');
// Setting some values based on the admin panel
t3lib/class.t3lib_tsfebeuserauth.php (working copy)
}
}
/**
* Saves configuration options for the current back-end user defined in an active
* admin panel, such as show hidden pages, simulate access time, etc.
*
* @return void
*/
public function saveAdminPanelConfigOptions() {
if ($this->extAdmEnabled && $this->frontendEdit instanceof t3lib_frontendedit) {
$this->frontendEdit->saveConfigOptions();
}
}
/*****************************************************
*
* TSFE BE user Access Functions
typo3/sysext/cms/tslib/index_ts.php (working copy)
}
if ($BE_USER->checkLockToIP() && $BE_USER->checkBackendAccessSettingsFromInitPhp() && $BE_USER->user['uid']) {
$BE_USER->initializeFrontendEdit();
$BE_USER->saveAdminPanelConfigOptions();
} else { // Unset the user initialization.
$BE_USER='';
$TSFE->beUserLogin=0;
(2-2/2)