Index: typo3/alt_doc.php =================================================================== --- typo3/alt_doc.php (revision 6669) +++ typo3/alt_doc.php (working copy) @@ -518,7 +518,7 @@ $this->tceforms->doSaveFieldName = 'doSave'; $this->tceforms->localizationMode = t3lib_div::inList('text,media',$this->localizationMode) ? $this->localizationMode : ''; // text,media is keywords defined in TYPO3 Core API..., see "l10n_cat" $this->tceforms->returnUrl = $this->R_URI; - $this->tceforms->palettesCollapsed = !$this->MOD_SETTINGS['showPalettes']; + $this->tceforms->palettesCollapsed = !$BE_USER->uc['extendedView']; $this->tceforms->disableRTE = !$BE_USER->isRTE(); $this->tceforms->enableClickMenu = TRUE; $this->tceforms->enableTabMenu = TRUE; @@ -555,7 +555,6 @@ $body.= $this->tceforms->printNeededJSFunctions_top(); $body.= $this->compileForm($editForm); $body.= $this->tceforms->printNeededJSFunctions(); - $body.= $this->functionMenus(); $body.= $this->tceformMessages(); } } @@ -964,21 +963,7 @@ return $formContent; } - /** - * Create the checkbox buttons in the bottom of the pages. - * - * @return string HTML for function menus. - */ - function functionMenus() { - global $LANG; - // Show palettes: - return ' - -
'.t3lib_BEfunc::getFuncCheck('','SET[showPalettes]',$this->MOD_SETTINGS['showPalettes'],'alt_doc.php',t3lib_div::implodeArrayForUrl('',array_merge($this->R_URL_getvars,array('SET'=>''))),'id="checkShowPalettes"').''; - } - - /** * Create shortcut icon * Index: typo3/sysext/cms/layout/db_layout.php =================================================================== --- typo3/sysext/cms/layout/db_layout.php (revision 6669) +++ typo3/sysext/cms/layout/db_layout.php (working copy) @@ -808,7 +808,7 @@ $tceforms->backPath = $BACK_PATH; $tceforms->initDefaultBEMode(); $tceforms->fieldOrder = $this->modTSconfig['properties']['tt_content.']['fieldOrder']; - $tceforms->palettesCollapsed = !$this->MOD_SETTINGS['showPalettes']; + $tceforms->palettesCollapsed = !$BE_USER->uc['extendedView']; $tceforms->disableRTE = $this->MOD_SETTINGS['disableRTE']; $tceforms->enableClickMenu = TRUE; @@ -864,10 +864,6 @@ $h_func_b= t3lib_BEfunc::getFuncCheck($this->id,'SET[tt_content_showHidden]',$this->MOD_SETTINGS['tt_content_showHidden'],'db_layout.php','','id="checkTt_content_showHidden"'). ''; - $h_func_b.= '
'. - t3lib_BEfunc::getFuncCheck($this->id,'SET[showPalettes]',$this->MOD_SETTINGS['showPalettes'],'db_layout.php','','id="checkShowPalettes"'). - ''; - if (t3lib_extMgm::isLoaded('context_help') && $BE_USER->uc['edit_showFieldHelp']!='text') { $h_func_b.= '
'. t3lib_BEfunc::getFuncCheck($this->id,'SET[showDescriptions]',$this->MOD_SETTINGS['showDescriptions'],'db_layout.php','','id="checkShowDescriptions"'). Index: typo3/sysext/setup/ext_tables.php =================================================================== --- typo3/sysext/setup/ext_tables.php (revision 6669) +++ typo3/sysext/setup/ext_tables.php (working copy) @@ -94,6 +94,11 @@ 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp', 'csh' => 'edit_showFieldHelp', ), + 'extendedView' => array( + 'type' => 'check', + 'label' => 'LLL:EXT:setup/mod/locallang.xml:extendedView', + 'csh' => 'extendedView', + ), 'titleLen' => array( 'type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:maxTitleLen', @@ -162,7 +167,7 @@ ), 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang, --div--;LLL:EXT:setup/mod/locallang.xml:opening,condensedMode,noMenuMode,startModule,thumbnailsByDefault,helpText,edit_showFieldHelp,titleLen, - --div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCMlayers,copyLevels,recursiveDelete, + --div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,extendedView,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCMlayers,copyLevels,recursiveDelete, --div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,installToolEnableButton' ); Index: typo3/sysext/setup/locallang_csh_mod.xml =================================================================== --- typo3/sysext/setup/locallang_csh_mod.xml (revision 6669) +++ typo3/sysext/setup/locallang_csh_mod.xml (working copy) @@ -66,6 +66,8 @@ + + Index: typo3/sysext/setup/mod/locallang.xml =================================================================== --- typo3/sysext/setup/mod/locallang.xml (revision 6669) +++ typo3/sysext/setup/mod/locallang.xml (working copy) @@ -75,6 +75,7 @@ +