Index: t3lib/extjs/dataprovider/class.extdirect_dataprovider_contexthelp.php =================================================================== --- t3lib/extjs/dataprovider/class.extdirect_dataprovider_contexthelp.php (revision 9674) +++ t3lib/extjs/dataprovider/class.extdirect_dataprovider_contexthelp.php (revision ) @@ -39,10 +39,13 @@ */ public function getContextHelp($table, $field) { $helpTextArray = t3lib_befunc::helpTextArray($table, $field); + $moreIcon = $helpTextArray['moreInfo'] ? t3lib_iconWorks::getSpriteIcon('actions-view-go-forward') : ''; return array( 'title' => $helpTextArray['title'], - 'description' => '

' . nl2br(strip_tags($helpTextArray['description'])) . '

', + 'description' => '

' . + $helpTextArray['description'] . $moreIcon . '

', 'id' => $table . '.' . $field, + 'moreInfo' => $helpTextArray['moreInfo'] ); } } Index: typo3/sysext/t3skin/stylesheets/structure/element_csh.css =================================================================== --- typo3/sysext/t3skin/stylesheets/structure/element_csh.css (revision 9081) +++ typo3/sysext/t3skin/stylesheets/structure/element_csh.css (revision ) @@ -123,9 +123,6 @@ /*** new help code ***/ -.t3-help-teaser { - border-bottom: 1px dotted #434343; -} table.t3-help-inline { margin: 3px 4px 20px 0px; padding: 0; Index: t3lib/class.t3lib_befunc.php =================================================================== --- t3lib/class.t3lib_befunc.php (revision 9652) +++ t3lib/class.t3lib_befunc.php (revision ) @@ -2621,13 +2621,9 @@ global $TCA_DESCR, $BE_USER; if (is_array($TCA_DESCR[$table]) && is_array($TCA_DESCR[$table]['columns'][$field]) && (isset($BE_USER->uc['edit_showFieldHelp']) || $force)) { - if ($BE_USER->uc['edit_showFieldHelp'] == 'icon') { - $text = self::helpText($table, $field); - $text = '' . $GLOBALS['LANG']->hscAndCharConv($text, FALSE) . ''; + return self::wrapInHelp($table, $field); - } + } - return '' . t3lib_iconWorks::getSpriteIcon('actions-system-help-open', array('class' => 'typo3-csh-icon')) . $text . ''; - } + } - } /** * Returns CSH help text (description), if configured for, as an array (title, description) @@ -2721,13 +2717,15 @@ // get the help text that should be shown on hover $GLOBALS['LANG']->loadSingleTableDescription($table); $helpText = self::helpText($table, $field); + $abbrClassAdd = ''; if ($helpText) { // if no text was given, just use the regular help icon if ($text == '') { $text = t3lib_iconWorks::getSpriteIcon('actions-system-help-open'); + $abbrClassAdd = '-icon'; } - $text = '' . $text . ''; - $text = '' . $text . ''; + $text = '' . $text . ''; + $text = '' . $text . ''; } return $text; } @@ -4700,4 +4698,4 @@ } } -?> \ No newline at end of file +?> Index: typo3/sysext/t3skin/stylesheets/visual/element_csh.css =================================================================== --- typo3/sysext/t3skin/stylesheets/visual/element_csh.css (revision 9172) +++ typo3/sysext/t3skin/stylesheets/visual/element_csh.css (revision ) @@ -59,10 +59,15 @@ border-top: none; } -p.t3-help-short { +p.t3-help-short.tipIsLinked { cursor: pointer; } +.t3-help-teaser, +.t3-help-teaser-icon { + cursor: help; +} + img.t3-help-icon { cursor: help; } @@ -114,4 +119,4 @@ div.typo3-view-help div.c-toc a, div.typo3-view-help p a { text-decoration: underline; -} \ No newline at end of file +} Index: t3lib/js/extjs/contexthelp.js =================================================================== --- t3lib/js/extjs/contexthelp.js (revision 9674) +++ t3lib/js/extjs/contexthelp.js (revision ) @@ -70,6 +70,7 @@ function updateTip(response) { tip.body.dom.innerHTML = response.description; tip.cshLink = response.id; + tip.moreInfo = response.moreInfo; tip.setTitle(response.title); tip.syncShadow(); } @@ -87,18 +88,25 @@ minWidth: 160, maxWidth: 240, target: Ext.getBody(), - delegate: 'a.t3-help-link', + delegate: 'span.t3-help-link', renderTo: Ext.getBody(), cls: 'typo3-csh-tooltip', dismissDelay: 0, // tooltip stays while mouse is over target - showDelay: 1500, // show after 1.5 seconds - hideDelay: 1500, // hide after 1.5 seconds + showDelay: 500, // show after 0.5 seconds + hideDelay: 3000, // hide after 3 seconds + closable: true, listeners: { beforeshow: showToolTipHelp, render: function(tip) { tip.body.on('click', function(event){ event.stopEvent(); - top.TYPO3.ContextHelpWindow.open(this.cshLink); + if (tip.moreInfo) + try { + top.TYPO3.ContextHelpWindow.open(tip.cshLink); + } catch(e) { + // do nothing + } + }); }, hide: function(tip) { @@ -108,7 +116,6 @@ scope: this } }); - Ext.select('div').on('click', TYPO3.ContextHelp.openHelpWindow, TYPO3.ContextHelp, {delegate: 'a.t3-help-link'}); },