Fixed bug #7943: Filelist has nested HTML (thanks to Steffen Kamper)
authorJeff Segars <jsegars@alumni.rice.edu>
Tue, 1 Apr 2008 14:16:14 +0000 (14:16 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Tue, 1 Apr 2008 14:16:14 +0000 (14:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3498 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/file_list.php

index b82bbc9..5c3eb1e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-01  Jeff Segars <jeff@webempoweredchurch.org>
+
+       * Fixed bug #7943: Filelist has nested HTML (thanks to Steffen Kamper)
+
 2008-04-01  Benjamin Mack <benni@typo3.org>
 
        * Fixed bug #7977: Missing label for browse_links folder menu
index 2489a22..a3f9bd6 100755 (executable)
@@ -256,11 +256,10 @@ class SC_file_list {
                        $docHeaderButtons = array_merge($this->getButtons(), $buttons);
 
                                // Build the <body> for the module
-                       $this->content = $this->doc->startPage('Template Tools');
+                       $this->content = $this->doc->startPage($LANG->getLL('files'));
 
                                // Create output
                        $pageContent='';
-                       $pageContent.=$this->doc->startPage($LANG->getLL('files'));
                        $pageContent.= '<form action="'.htmlspecialchars($this->filelist->listURL()).'" method="post" name="dblistForm">';
                        $pageContent.= $this->filelist->HTMLcode;
                        $pageContent.= '<input type="hidden" name="cmd" /></form>';