Fixed bug #8496: TCEforms: Help Icon is not in the docheader
authorBenni Mack <benni.mack@typo3.org>
Wed, 28 May 2008 10:58:47 +0000 (10:58 +0000)
committerBenni Mack <benni.mack@typo3.org>
Wed, 28 May 2008 10:58:47 +0000 (10:58 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3733 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_doc.php

index 53c6df9..bcfd601 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2008-05-28  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #8496: TCEforms: Help Icon is not in the docheader
        * Fixed bug #7837: Generate Icons by Default - Part 1
        * Fixed bug #8504: help icon is not aligned in TCEform (Thanks to Steffen Kamper)
 
index 01ffb5f..7689edb 100755 (executable)
@@ -555,7 +555,6 @@ class SC_alt_doc {
                                $body.= $this->compileForm($editForm);
                                $body.= $this->tceforms->printNeededJSFunctions();
                                $body.= $this->functionMenus();
-                               $body.= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'TCEforms', $GLOBALS['BACK_PATH'], '<br/>|', FALSE, 'margin-top: 20px;') . '<br /><br />';
                                $body.= $this->tceformMessages();
                        }
                }
@@ -817,7 +816,8 @@ class SC_alt_doc {
                        'delete' => '',
                        'undo' => '',
                        'history' => '',
-                       'columns_only' => ''
+                       'columns_only' => '',
+                       'csh' => '',
                );
 
                        // Render SAVE type buttons:
@@ -887,6 +887,9 @@ class SC_alt_doc {
                                }
                        }
                }
+
+                       // add the CSH icon
+               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'TCEforms', $GLOBALS['BACK_PATH']);
                $buttons['shortcut'] = $this->shortCutLink();
                $buttons['open_in_new_window'] = $this->openInNewWindowLink();
                return $buttons;