Fixed bug #6785: "this->extraFormHeaders" didn't work anymore since "fixed alt_doc...
authorBernhard Kraft <kraftb@think-open.at>
Wed, 21 Nov 2007 15:30:13 +0000 (15:30 +0000)
committerBernhard Kraft <kraftb@think-open.at>
Wed, 21 Nov 2007 15:30:13 +0000 (15:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2745 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_doc.php

index 5b01eab..e41487e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-21  Bernhard Kraft  <kraftb@kraftb.at>
+
+       * Fixed bug #6785: "this->extraFormHeaders" didn't work anymore since "fixed alt_doc headers" have been introduced (#6625)
+
 2007-11-20  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Feature #6769 continued: Further adjustments and workarounds to enable htmlArea RTE in Safari
index 125daa4..c7de8df 100755 (executable)
@@ -560,6 +560,7 @@ class SC_alt_doc {
                                        $this->tceforms->printNeededJSFunctions_top().
                                        $this->compileHeader().'
        <div id="typo3-docbody">'.
+                                       $this->extraFormHeaders.
                                        $this->compileForm($editForm).
                                        $this->tceforms->printNeededJSFunctions().
                                        $this->functionMenus().
@@ -972,7 +973,7 @@ class SC_alt_doc {
                ';
 
                if (is_array($this->tceforms->extraFormHeaders))        {
-                       $content .= '<div id="typo3-docheader-rowextra">'.implode(chr(10), $this->tceforms->extraFormHeaders).'</div>';
+                       $this->extraFormHeaders = '<div id="typo3-docheader-rowextra">'.implode(chr(10), $this->tceforms->extraFormHeaders).'</div>';
                }