From bba07fdb26fc6502f28f06941eb53980650ccb0d Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Mon, 18 Apr 2011 10:50:12 +0200
Subject: [PATCH] show modified date for folders

---
 files/templates/part.list.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/templates/part.list.php b/files/templates/part.list.php
index 1c30d5a3311..0d4fcc75489 100644
--- a/files/templates/part.list.php
+++ b/files/templates/part.list.php
@@ -3,7 +3,7 @@
 				<td class="selection"><input type="checkbox" /></td>
 				<td class="filename"><a style="background-image:url(<?php if($file["type"] == "dir") echo mimetype_icon("dir"); else echo mimetype_icon($file["mime"]); ?>)" href="<?php if($file["type"] == "dir") echo link_to("files", "index.php?dir=".$file["directory"]."/".$file["name"]); else echo link_to("files", "download.php?file=".$file["directory"]."/".$file["name"]); ?>" title=""><?php echo htmlspecialchars($file["name"]); ?></a></td>
 				<td class="filesize"><?php echo human_file_size($file["size"]); ?></td>
-				<td class="date"><?php if($file["type"] != "dir") echo $file["date"]; ?></td>
+				<td class="date"><?php echo $file["date"]; ?></td>
 				<td class="fileaction"><a href="" title=""><img src="images/drop-arrow.png" alt="+" /></a></td>
 			</tr>
 		<?php endforeach; ?>
\ No newline at end of file
-- 
GitLab