* Fixed bug #0000070: Number of files (file count) displayed in file list module...
authorRobert Lemke <robert.lemke@typo3.org>
Tue, 8 Jun 2004 20:21:54 +0000 (20:21 +0000)
committerRobert Lemke <robert.lemke@typo3.org>
Tue, 8 Jun 2004 20:21:54 +0000 (20:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@362 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/class.file_list.inc

index ce9d0a5..5988f73 100755 (executable)
@@ -148,7 +148,6 @@ class fileList extends t3lib_recordList {
 
                if ($path)      {
                        $out='';
-                       $this->counter++;
                        $theFile = $GLOBALS['SOBE']->basicFF->getTotalFileInfo($path);
                        $root = $GLOBALS['SOBE']->basicFF->checkPathAgainstMounts($theFile['path']);
                        $titleCol='path';
@@ -282,7 +281,7 @@ class fileList extends t3lib_recordList {
 
                        // half line is drawn
                $theData = Array();
-               $theData[$titleCol] = $this->counter.' Files, '.$GLOBALS['SOBE']->basicFF->formatSize($this->totalbytes).'bytes';
+               $theData[$titleCol] = $this->counter.' File(s), '.$GLOBALS['SOBE']->basicFF->formatSize($this->totalbytes).'bytes';
                $out.=$this->addelement(1,'',$theData);
 
                        // finish