Project

General

Profile

Feature #22266 » 13797_v2.patch

Administrator Admin, 2010-04-30 09:12

View differences:

t3lib/config_default.php (working copy)
'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.
typo3/alt_doc.php (working copy)
function functionMenus() {
global $LANG;
if ($GLOBALS['BE_USER']->getTSConfigVal('options.enableShowPalettes')) {
// Show palettes:
return '
<!-- Function menus (checkboxes for selecting options): -->
return '
<!-- Function menu (checkbox for showing all palettes): -->
<br />'.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"').'<label for="checkShowPalettes">'.$LANG->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes',1).'</label>';
}
else {
return '';
}
}
(2-2/2)