Bug #25430 ยป 25430.patch
typo3/template.php (revision ) | ||
---|---|---|
* @return string complete page
|
||
*/
|
||
public function render($title, $content, $includeCsh = TRUE) {
|
||
if ($includeCsh && $GLOBALS['BE_USER']->uc['disableCSH']) {
|
||
$includeCsh = FALSE;
|
||
}
|
||
$pageContent = $this->startPage($title, $includeCsh);
|
||
$pageContent .= $content;
|
||
$pageContent .= $this->endPage();
|
t3lib/class.t3lib_befunc.php (revision ) | ||
---|---|---|
* @return string HTML content for help text
|
||
*/
|
||
public static function helpText($table, $field, $BACK_PATH = '', $styleAttrib = '') {
|
||
if ($GLOBALS['BE_USER']->uc['disableCSH']) {
|
||
return '';
|
||
}
|
||
$helpTextArray = self::helpTextArray($table, $field);
|
||
$output = '';
|
||
... | ... | |
$wrappedText = $text;
|
||
$hasHelpTextOverload = count($overloadHelpText) > 0;
|
||
if ($GLOBALS['BE_USER']->uc['disableCSH']) {
|
||
return $text;
|
||
}
|
||
// Get the help text that should be shown on hover
|
||
if (!$hasHelpTextOverload) {
|
||
$helpText = self::helpText($table, $field);
|
||
... | ... | |
public static function cshItem($table, $field, $BACK_PATH, $wrap = '', $onlyIconMode = FALSE, $styleAttrib = '') {
|
||
global $TCA_DESCR, $LANG, $BE_USER;
|
||
if ($GLOBALS['BE_USER']->uc['disableCSH']) {
|
||
return '';
|
||
}
|
||
if ($BE_USER->uc['edit_showFieldHelp']) {
|
||
$LANG->loadSingleTableDescription($table);
|
||
typo3/sysext/setup/locallang_csh_mod.xml (revision ) | ||
---|---|---|
<label index="option_resizeTextareas_MaxHeight.description">Define the maximal height of textarea (in Pixel).</label>
|
||
<label index="option_resizeTextareas_Flexible.alttitle">Make Textareas Flexible</label>
|
||
<label index="option_resizeTextareas_Flexible.description">This option will make textareas flexible. The height will grow automatically while typing. Limit is the maximal height set (default 600).</label>
|
||
<label index="option_disableCSH.description">If this setting is active, no tooltips and help icons are rendered. The Backend needs to be reloaded if you changed this setting.</label>
|
||
<label index="option_edit_showFieldHelp.description">Defines the mode of Context Sensitive Help (CSH) in TYPO3. The default is that small help icons are shown everywhere a help item is available. You can click the icon and help will appear in a window for you.</label>
|
||
<label index="option_edit_showFieldHelp.details">Alternatively you can select that descriptions are shown inline. This is useful for people who are still learning how TYPO3 works and want to browse the backend with descriptions shown directly.
|
||
Finally experienced users will want to totally disable the help icons if they seem to just bloat the backend interface.
|
typo3/sysext/setup/ext_tables.php (revision ) | ||
---|---|---|
'access' => 'admin',
|
||
'csh' => 'enableInstallTool'
|
||
),
|
||
'disableCSH' => array(
|
||
'type' => 'check',
|
||
'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_none',
|
||
'csh' => 'disableCSH'
|
||
),
|
||
),
|
||
),
|
||
'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
|
||
--div--;LLL:EXT:setup/mod/locallang.xml:opening,startModule,thumbnailsByDefault,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,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCSH,disableCMlayers,copyLevels,recursiveDelete,
|
||
--div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,debugInWindow,installToolEnableButton'
|
||
);
|