diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/media.php | 3 | ||||
-rw-r--r-- | inc/search.php | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/inc/media.php b/inc/media.php index dcb8aa76d..593d1211c 100644 --- a/inc/media.php +++ b/inc/media.php @@ -315,6 +315,7 @@ function media_fileactions($item,$auth){ */ function media_printfile($item,$auth,$jump){ global $lang; + global $conf; // Prepare zebra coloring // I always wanted to use this variable name :-D @@ -345,6 +346,8 @@ function media_printfile($item,$auth,$jump){ $info .= (int) $item['meta']->getField('File.Height'); $info .= ' '; } + $info .= '<i>'.date($conf['dformat'],$item['mtime']).'</i>'; + $info .= ' '; $info .= filesize_h($item['size']); // ouput diff --git a/inc/search.php b/inc/search.php index d8fe75122..d6a2166c5 100644 --- a/inc/search.php +++ b/inc/search.php @@ -207,6 +207,7 @@ function search_media(&$data,$base,$file,$type,$lvl,$opts){ $info['file'] = basename($file); $info['size'] = filesize($base.'/'.$file); + $info['mtime'] = filemtime($base.'/'.$file); $info['writable'] = is_writable($base.'/'.$file); if(preg_match("/\.(jpe?g|gif|png)$/",$file)){ $info['isimg'] = true; |