Better getRecordTitle() function introducing label_userFunc.
[Packages/TYPO3.CMS.git] / typo3 / file_edit.php
index e650772..f29cd42 100755 (executable)
@@ -41,7 +41,7 @@
  *   74: class SC_file_edit
  *   93:     function init()
  *  143:     function main()
- *  206:     function printContent()
+ *  205:     function printContent()
  *
  * TOTAL FUNCTIONS: 3
  * (This index is automatically created/updated by the extension "extdeveval")
@@ -195,7 +195,6 @@ class SC_file_edit {
                $this->content.= $this->doc->sectionEnd();
                $this->content.=$code;
 
-               $this->content.=$this->doc->endPage();
        }
 
        /**
@@ -204,6 +203,8 @@ class SC_file_edit {
         * @return      void
         */
        function printContent() {
+               $this->content.= $this->doc->endPage();
+               $this->content = $this->doc->insertStylesAndJS($this->content);
                echo $this->content;
        }
 }