[BUGFIX] CSH not showing "more info" link icon anymore
authorSteffen Kamper <info@sk-typo3.de>
Mon, 28 Mar 2011 08:53:07 +0000 (10:53 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Mon, 28 Mar 2011 18:43:44 +0000 (20:43 +0200)
With the missing link icon it's not clear that there is more info on click.
This cahnge brings back the icon to the tooltip.

Change-Id: I6a09c830772e3b128d31a400c5a8e59959f371a9
Resolves: #M18036
Reviewed-on: http://review.typo3.org/1288
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Francois Suter
Tested-by: Francois Suter
t3lib/extjs/dataprovider/class.extdirect_dataprovider_contexthelp.php

index 8a29fda..ba6bbdf 100644 (file)
@@ -61,6 +61,7 @@ class extDirect_DataProvider_ContextHelp {
                        $GLOBALS['LANG']->loadSingleTableDescription($table);
                }
                if (is_array($GLOBALS['TCA_DESCR'][$table]) && is_array($GLOBALS['TCA_DESCR'][$table]['columns'])) {
+                       $arrow = t3lib_iconWorks::getSpriteIcon('actions-view-go-forward');
                        foreach ($GLOBALS['TCA_DESCR'][$table]['columns'] as $field => $data) {
                                $output[$field] = array(
                                        'description' => NULL,
@@ -81,7 +82,7 @@ class extDirect_DataProvider_ContextHelp {
 
                                        // add description
                                if ($data['description']) {
-                                       $output[$field]['description'] = $data['description'];
+                                       $output[$field]['description'] = $data['description'] . ($output[$field]['moreInfo'] ? $arrow : '');
                                }
                        }
                }
@@ -90,4 +91,4 @@ class extDirect_DataProvider_ContextHelp {
        }
 }
 
-?>
+?>
\ No newline at end of file