Project

General

Profile

Feature #20406 ยป cobj_filelink_mtime.diff

Administrator Admin, 2009-05-08 15:04

View differences:

typo3_src-4.2.6/typo3/sysext/cms/tslib/class.tslib_content.php 2009-05-08 16:49:14.000000000 +0400
$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.']);
......
}
$file = $this->stdWrap($theValue,$conf['file.']);
// output
return $this->stdWrap($icon.$file.$size, $conf['stdWrap.']);
return $this->stdWrap($icon.$file.$size.$mtime, $conf['stdWrap.']);
}
}
    (1-1/1)