--- typo3_src-4.2.6.orig/typo3/sysext/cms/tslib/class.tslib_content.php 2009-02-10 12:36:51.000000000 +0300 +++ typo3_src-4.2.6/typo3/sysext/cms/tslib/class.tslib_content.php 2009-05-08 16:49:14.000000000 +0400 @@ -3943,6 +3943,11 @@ $size = $this->stdWrap($theSize,$conf['size.']); } + if ($conf['mtime']){ + $mtime = filemtime($theFile); + $mtime = $this->stdWrap($mtime, $conf['mtime.']); + } + // Wrapping file label if ($conf['removePrependedNumbers']) $theValue=ereg_replace('_[0-9][0-9](\.[[:alnum:]]*)$','\1',$theValue); $theValue = $this->stdWrap($theValue,$conf['labelStdWrap.']); @@ -3955,7 +3960,7 @@ } $file = $this->stdWrap($theValue,$conf['file.']); // output - return $this->stdWrap($icon.$file.$size, $conf['stdWrap.']); + return $this->stdWrap($icon.$file.$size.$mtime, $conf['stdWrap.']); } }