Index: t3lib/config_default.php
===================================================================
--- t3lib/config_default.php (revision 7409)
+++ t3lib/config_default.php (working copy)
@@ -220,7 +220,8 @@
'forceCharset' => '', // String. Normally the charset of the backend users language selection is used. If you set this value to a charset found in t3lib/csconvtbl/ (or "utf-8") the backend (and database) will ALWAYS use this charset. Always use a lowercase value.
'installToolPassword' => '', // String. This is the md5-hashed password for the Install Tool. Set this to '' and access will be totally denied. PLEASE consider to externally password protect the typo3/install/ folder, eg. with a .htaccess file.
'defaultUserTSconfig' => 'options.shortcutFrame=1
- options.enableShortcuts=1', // String (exclude). Enter lines of default backend user/group TSconfig.
+ options.enableShortcuts=1
+ options.enableShowPalettes=1', // String (exclude). Enter lines of default backend user/group TSconfig.
'defaultPageTSconfig' => '', // String (exclude).Enter lines of default Page TSconfig.
'defaultPermissions' => array ( // Default permissions set for new pages in t3lib/tce_main.php. Keys are 'show,edit,delete,new,editcontent'. Enter as comma-list
// 'user' => '', // default in tce_main is 'show,edit,delete,new,editcontent'. If this is set (uncomment), this value is used instead.
Index: typo3/alt_doc.php
===================================================================
--- typo3/alt_doc.php (revision 7409)
+++ typo3/alt_doc.php (working copy)
@@ -984,10 +984,15 @@
function functionMenus() {
global $LANG;
+ if ($GLOBALS['BE_USER']->getTSConfigVal('options.enableShowPalettes')) {
// Show palettes:
- return '
-
+ 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"').'';
+ }
+ else {
+ return '';
+ }
}