summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-11 12:13:28 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-11 12:13:28 +0200
commitce6162603ec08565f9ef9ff406e321b4bae2f038 (patch)
tree8725fc92320b0cf19909615098efecfdbeceb17b /application/views/file_plaintext
parentf953eba8d7c9e362fd18a311367a6fc7b9b9cac4 (diff)
Add filesize to history view
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file_plaintext')
-rw-r--r--application/views/file_plaintext/upload_history.php6
1 files changed, 4 insertions, 2 deletions
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";
}