From 692f8fb3c53ac62a7e1ed3621dbb894270827db5 Mon Sep 17 00:00:00 2001 From: Benni Mack Date: Wed, 28 May 2008 10:58:47 +0000 Subject: [PATCH] Fixed bug #8496: TCEforms: Help Icon is not in the docheader git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3733 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 1 + typo3/alt_doc.php | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53c6df995a66..bcfd601f4cdb 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2008-05-28 Benjamin Mack + * 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) diff --git a/typo3/alt_doc.php b/typo3/alt_doc.php index 01ffb5f129b3..7689edb9d5d7 100755 --- a/typo3/alt_doc.php +++ b/typo3/alt_doc.php @@ -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'], '
|', FALSE, 'margin-top: 20px;') . '

'; $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; -- 2.20.1