Feature #14581 » 0000849-forceDisplayIcons.diff
t3lib/class.t3lib_tsfebeuserauth.php 1 Mar 2005 13:56:40 -0000 | ||
---|---|---|
reset($this->extAdminConfig['enable.']);
|
||
while(list($k,$v)=each($this->extAdminConfig['enable.'])) {
|
||
if ($v) {
|
||
// Enable panel
|
||
$this->extAdmEnabled=1;
|
||
// Init TSFE_EDIT variables:
|
||
$this->TSFE_EDIT = t3lib_div::_POST('TSFE_EDIT');
|
||
$this->extAdmEnabled=1; // Enable panel
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
// Init TSFE_EDIT variables if either the admPanel is enabled or if forceDisplayIcons is set
|
||
if($this->extAdmEnabled || $this->extGetFeAdminValue('edit', 'displayIcons')) {
|
||
$this->TSFE_EDIT = t3lib_div::_POST('TSFE_EDIT');
|
||
}
|
||
}
|
||
/**
|
||
-- typo3/sysext/cms/tslib/index_ts.php 2 Jan 2005 17:18:02 -0000 1.17
|
||
++ typo3/sysext/cms/tslib/index_ts.php 1 Mar 2005 13:56:41 -0000
|
||
... | ... | |
$BE_USER->ext_forcePreview=1;
|
||
}
|
||
// Include classes for editing IF editing module in Admin Panel is open (it is assumed that $TSFE->displayEditIcons is set only if the Edit module is open in the Admin Panel)
|
||
if ($BE_USER->extAdmModuleEnabled('edit') && $BE_USER->extIsAdmMenuOpen('edit')) {
|
||
// Include classes for editing IF editing module in Admin Panel is open
|
||
if (($BE_USER->extAdmModuleEnabled('edit') && $BE_USER->extIsAdmMenuOpen('edit')) || $TSFE->displayEditIcons == 1) {
|
||
$TSFE->includeTCA();
|
||
if ($BE_USER->extIsEditAction()) {
|
||
require_once (PATH_t3lib.'class.t3lib_tcemain.php');
|
- « Previous
- 1
- 2
- Next »