From ce6162603ec08565f9ef9ff406e321b4bae2f038 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 11 Apr 2012 12:13:28 +0200 Subject: Add filesize to history view Signed-off-by: Florian Pritz --- application/views/file_plaintext/upload_history.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'application/views/file_plaintext') diff --git a/application/views/file_plaintext/upload_history.php b/application/views/file_plaintext/upload_history.php index e03311464..4e9308d91 100644 --- a/application/views/file_plaintext/upload_history.php +++ b/application/views/file_plaintext/upload_history.php @@ -4,7 +4,8 @@ echo .mb_str_pad("Filename", $lengths["filename"])." | " .mb_str_pad("Mimetype", $lengths["mimetype"])." | " .mb_str_pad("Date", $lengths["date"])." | " - .mb_str_pad("Hash", $lengths["hash"])."\n"; + .mb_str_pad("Hash", $lengths["hash"])." | " + .mb_str_pad("Size", $lengths["filesize"])."\n"; foreach($query as $key => $item) { echo @@ -12,6 +13,7 @@ foreach($query as $key => $item) { .mb_str_pad($item["filename"], $lengths["filename"])." | " .mb_str_pad($item["mimetype"], $lengths["mimetype"])." | " .$item["date"]." | " - .$item["hash"]."\n"; + .$item["hash"]." | " + .$item["filesize"]."\n"; } -- cgit v1.2.3-24-g4f1b