Fixed bug #6785: "this->extraFormHeaders" didn't work anymore since "fixed alt_doc...
[Packages/TYPO3.CMS.git] / typo3 / alt_doc.php
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>';
                }