Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (Revision 9089) +++ t3lib/class.t3lib_tceforms.php (Arbeitskopie) @@ -2918,16 +2918,18 @@ } } + $languageIcon = ''; + if ($vDEFkey != 'vDEF') { + $languageIcon = $this->getLanguageIcon($table, $row, $vDEFkey); + } // Put row together // possible linebreaks in the label through xml: \n =>
, usage of nl2br() not possible, so it's done through str_replace $processedTitle = str_replace('\n', '
', $theTitle); - $helpText = $this->helpText_typeFlex($key, $processedTitle, $PA['_cshFile']); $tRows[]='
' . '
' . - ($helpText ? - ($vDEFkey=='vDEF' ? '' : $this->getLanguageIcon($table, $row, $vDEFkey)) . '' . $processedTitle . '' . $helpText : - $this->helpTextIcon_typeFlex($key, $processedTitle, $PA['_cshFile']) . ($vDEFkey == 'vDEF' ? '' : $this->getLanguageIcon($table, $row, $vDEFkey)) . $processedTitle - ) . + $this->helpTextIcon_typeFlex($key, $processedTitle, $PA['_cshFile']) . + $languageIcon . + $processedTitle . '
'.$theFormEl.$defInfo.$this->renderVDEFDiff($editData[$key],$vDEFkey).'
'; @@ -5119,8 +5121,10 @@ * @param string The field name * @param boolean Force the return of the help-text icon. * @return string HTML, -tag with + * @deprecated since TYPO3 4.5, will be removed in TYPO3 4.7 */ function helpTextIcon($table,$field,$force=0) { + t3lib_div::logDeprecatedFunction(); if ($this->globalShowHelp && $GLOBALS['TCA_DESCR'][$table]['columns'][$field] && (($this->edit_showFieldHelp=='icon'&&!$this->doLoadTableDescr($table)) || $force)) { return t3lib_BEfunc::helpTextIcon($table, $field, $this->backPath, $force); } else { @@ -5135,8 +5139,10 @@ * @param string The table name * @param string The field name * @return string + * @deprecated since TYPO3 4.5, will be removed in TYPO3 4.7 */ function helpText($table,$field) { + t3lib_div::logDeprecatedFunction(); if ($this->globalShowHelp && $GLOBALS['TCA_DESCR'][$table]['columns'][$field] && ($this->edit_showFieldHelp=='text' || $this->doLoadTableDescr($table))) { $fDat = $GLOBALS['TCA_DESCR'][$table]['columns'][$field]; return ' - + '; // Button/menu header: Index: typo3/class.db_list.inc =================================================================== --- typo3/class.db_list.inc (Revision 9089) +++ typo3/class.db_list.inc (Arbeitskopie) @@ -344,7 +344,6 @@
'. @@ -5220,6 +5226,7 @@ return ''; } + /** * Setting the current color scheme ($this->colorScheme) based on $this->defColorScheme plus input string. * Index: t3lib/class.t3lib_clipboard.php =================================================================== --- t3lib/class.t3lib_clipboard.php (Revision 9089) +++ t3lib/class.t3lib_clipboard.php (Arbeitskopie) @@ -312,7 +312,7 @@ // Upper header $out[]='
' . $this->clLabel('clipboard', 'buttons') . '' . t3lib_BEfunc::wrapInHelp('xMOD_csh_corebe', 'list_clipboard', $this->clLabel('clipboard', 'buttons')) . '
'.$formElements[1]; - $content .= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_searchbox', $GLOBALS['BACK_PATH'], '|
'); return $content; } Index: typo3/sysext/list/mod1/db_list.php =================================================================== --- typo3/sysext/list/mod1/db_list.php (Revision 9089) +++ typo3/sysext/list/mod1/db_list.php (Arbeitskopie) @@ -374,24 +374,31 @@
'; - $this->body.=t3lib_BEfunc::getFuncCheck($this->id,'SET[bigControlPanel]',$this->MOD_SETTINGS['bigControlPanel'],'db_list.php',($this->table?'&table='.$this->table:''),'id="checkLargeControl"').'
'; + $this->body .= t3lib_BEfunc::getFuncCheck($this->id, 'SET[bigControlPanel]', $this->MOD_SETTINGS['bigControlPanel'], 'db_list.php', ($this->table ? '&table=' . $this->table : ''), 'id="checkLargeControl"'); + $this->body .= '
'; if ($dblist->showClipboard) { - $this->body.=t3lib_BEfunc::getFuncCheck($this->id,'SET[clipBoard]',$this->MOD_SETTINGS['clipBoard'],'db_list.php',($this->table?'&table='.$this->table:''),'id="checkShowClipBoard"').'
'; + $this->body .= t3lib_BEfunc::getFuncCheck($this->id, 'SET[clipBoard]', $this->MOD_SETTINGS['clipBoard'], 'db_list.php', ($this->table ? '&table=' . $this->table : ''), 'id="checkShowClipBoard"'); + $this->body .= '
'; } - $this->body.=t3lib_BEfunc::getFuncCheck($this->id,'SET[localization]',$this->MOD_SETTINGS['localization'],'db_list.php',($this->table?'&table='.$this->table:''),'id="checkLocalization"').'
'; + $this->body .= t3lib_BEfunc::getFuncCheck($this->id, 'SET[localization]', $this->MOD_SETTINGS['localization'], 'db_list.php', ($this->table ? '&table=' . $this->table : ''), 'id="checkLocalization"'); + $this->body .= '
'; + $this->body.='
'; - $this->body.= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_options', $GLOBALS['BACK_PATH']); // Printing clipboard if enabled: if ($this->MOD_SETTINGS['clipBoard'] && $dblist->showClipboard) { $this->body.= $dblist->clipObj->printClipboard(); - $this->body.= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_clipboard', $GLOBALS['BACK_PATH']); } // Search box: - $this->body.=$dblist->getSearchBox(); + $sectionTitle = t3lib_BEfunc::wrapInHelp('xMOD_csh_corebe', 'list_searchbox', $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.search', TRUE)); + $this->body .= $this->doc->section( + $sectionTitle, + $dblist->getSearchBox(), + FALSE, TRUE, FALSE, TRUE + ); // Display sys-notes, if any are found: $this->body.=$dblist->showSysNotesForPage(); Index: typo3/sysext/t3skin/stylesheets/structure/module_user_settings.css =================================================================== --- typo3/sysext/t3skin/stylesheets/structure/module_user_settings.css (Revision 9089) +++ typo3/sysext/t3skin/stylesheets/structure/module_user_settings.css (Arbeitskopie) @@ -10,12 +10,11 @@ table.typo3-usersettings td { width: 300px; + line-height: 20px; padding-left: 8px; } table.typo3-usersettings td.td-label label { - float: left; - margin-left: 3px; width: 275px; } Index: typo3/sysext/cms/layout/db_layout.php =================================================================== --- typo3/sysext/cms/layout/db_layout.php (Revision 9089) +++ typo3/sysext/cms/layout/db_layout.php (Arbeitskopie) @@ -1114,7 +1114,12 @@ // Making search form: if (!$this->modTSconfig['properties']['disableSearchBox'] && count($tableOutput)) { - $content .= $this->doc->section($LANG->sL('LLL:EXT:lang/locallang_core.php:labels.search'), $dblist->getSearchBox(0), 0, 1); + $sectionTitle = t3lib_BEfunc::wrapInHelp('xMOD_csh_corebe', 'list_searchbox', $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.search', TRUE)); + $content .= $this->doc->section( + $sectionTitle, + $dblist->getSearchBox(0), + FALSE, TRUE, FALSE, TRUE + ); } // Making display of Sys-notes (from extension "sys_note") Index: typo3/sysext/setup/mod/index.php =================================================================== --- typo3/sysext/setup/mod/index.php (Revision 9089) +++ typo3/sysext/setup/mod/index.php (Arbeitskopie) @@ -508,13 +508,6 @@ $this->dividers2tabs = isset($GLOBALS['TYPO3_USER_SETTINGS']['ctrl']['dividers2tabs']) ? intval($GLOBALS['TYPO3_USER_SETTINGS']['ctrl']['dividers2tabs']) : 0; - - // "display full help" is active? - $displayFullText = ($GLOBALS['BE_USER']->uc['edit_showFieldHelp'] == 'text'); - if ($displayFullText) { - $this->doc->tableLayout['defRowEven'] = array('defCol' => array ('','')); - } - foreach ($fieldArray as $fieldName) { $more = ''; @@ -548,10 +541,8 @@ } $label = $this->getLabel($config['label'], $fieldName); - $csh = $this->getCSH($config['csh'] ? $config['csh'] : $fieldName); - if (!$csh) { - $csh = ''; - } + $label = $this->getCSH($config['csh'] ? $config['csh'] : $fieldName, $label); + $type = $config['type']; $eval = $config['eval']; $class = $config['class']; @@ -629,14 +620,8 @@ } - // add another table row with the full text help if needed - if ($displayFullText) { - $code[$i++][1] = $csh; - $csh = ''; - } - - $code[$i][1] = $csh . $label; - $code[$i++][2] = $html; + $code[$i][1] = $label; + $code[$i++][2] = $html; @@ -887,13 +872,14 @@ * Returns the CSH Icon for given string * * @param string Locallang key + * @param string The label to be used, that should be wrapped in help * @return string HTML output. */ - protected function getCSH($str) { + protected function getCSH($str, $label) { if (!t3lib_div::inList('language,simuser', $str)) { $str = 'option_' . $str; } - return t3lib_BEfunc::cshItem('_MOD_user_setup', $str, $this->doc->backPath, '|', false, 'margin-bottom:0px;'); + return t3lib_BEfunc::wrapInHelp('_MOD_user_setup', $str, $label); } /** Index: typo3/sysext/em/mod1/class.em_index.php =================================================================== --- typo3/sysext/em/mod1/class.em_index.php (Revision 9089) +++ typo3/sysext/em/mod1/class.em_index.php (Arbeitskopie) @@ -701,8 +701,6 @@ 'back' => '', 'shortcut' => '' ); - // CSH - //$buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH']); // Shortcut if ($GLOBALS['BE_USER']->mayMakeShortcut()) { @@ -773,7 +771,10 @@ } } - $content.= t3lib_BEfunc::cshItem('_MOD_tools_em', 'loaded', $GLOBALS['BACK_PATH'],''); + // headline and CSH + $headline = $GLOBALS['LANG']->getLL('loaded_exts'); + $headline = t3lib_BEfunc::wrapInHelp('_MOD_tools_em', 'loaded', $headline); + $content.= '
'; $content.= '

'; @@ -782,7 +783,7 @@ '.implode('',$lines).'
'; - $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('loaded_exts'),$content,0,1); + $this->content .= $this->doc->section($headline, $content, FALSE, TRUE, FALSE, TRUE); } /** @@ -844,7 +845,9 @@ '; - $content.= t3lib_BEfunc::cshItem('_MOD_tools_em', 'avail', $GLOBALS['BACK_PATH'], '|
'); + $headline = sprintf($GLOBALS['LANG']->getLL('available_extensions'), $this->MOD_MENU['listOrder'][$this->MOD_SETTINGS['listOrder']]); + $headline = t3lib_BEfunc::wrapInHelp('_MOD_tools_em', 'avail', $headline); + $content.= sprintf($GLOBALS['LANG']->getLL('how_to_install'), $this->installButton()) . '
' . sprintf($GLOBALS['LANG']->getLL('how_to_uninstall'), $this->removeButton()). '

'; $content .= ''; @@ -853,7 +856,7 @@ $content.= ''.implode('',$lines).'
'; - $this->content.=$this->doc->section(sprintf($GLOBALS['LANG']->getLL('available_extensions'), $this->MOD_MENU['listOrder'][$this->MOD_SETTINGS['listOrder']]),$content,0,1); + $this->content .= $this->doc->section($headline, $content, FALSE, TRUE, FALSE, TRUE); } } @@ -947,8 +950,12 @@ } unset($list); - // CSH: - $content .= t3lib_BEfunc::cshItem('_MOD_tools_em', 'import_ter', $GLOBALS['BACK_PATH'], '|
'); + + // headline and CSH + $headline = $GLOBALS['LANG']->getLL('extensions_repository_group_by') . ' ' . + $this->MOD_MENU['listOrder'][$this->MOD_SETTINGS['listOrder']]; + $headline = t3lib_BEfunc::wrapInHelp('_MOD_tools_em', 'import_ter', $headline); + $onsubmit = "window.location.href='index.php?ter_connect=1&ter_search='+escape(this.elements['lookUp'].value);return false;"; $content .= '
@@ -966,8 +973,7 @@ $content .= '

' . $GLOBALS['LANG']->getLL('privacy_notice_header') . '
' . $this->privacyNotice; - $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('extensions_repository_group_by') . ' ' . - $this->MOD_MENU['listOrder'][$this->MOD_SETTINGS['listOrder']], $content, 0, 1); + $this->content .= $this->doc->section($headline, $content, FALSE, TRUE, FALSE, TRUE); // Plugins which are NOT uploaded to repository but present on this server. $content=''; @@ -997,7 +1003,12 @@ } } } else { - $content .= t3lib_BEfunc::cshItem('_MOD_tools_em', 'import_ter', $GLOBALS['BACK_PATH'], '|
'); + + // headline and CSH + $headline = $GLOBALS['LANG']->getLL('extensions_repository_group_by') . ' ' . + $this->MOD_MENU['listOrder'][$this->MOD_SETTINGS['listOrder']]; + $headline = t3lib_BEfunc::wrapInHelp('_MOD_tools_em', 'import_ter', $headline); + $onsubmit = "window.location.href='index.php?ter_connect=1&ter_search='+escape(this.elements['lookUp'].value);return false;"; $content .= '