summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
Diffstat (limited to 'application/views')
-rw-r--r--application/views/file/upload_history.php2
-rw-r--r--application/views/file_plaintext/upload_history.php6
2 files changed, 6 insertions, 2 deletions
diff --git a/application/views/file/upload_history.php b/application/views/file/upload_history.php
index 1dcaa8053..8f0f8e3d7 100644
--- a/application/views/file/upload_history.php
+++ b/application/views/file/upload_history.php
@@ -6,6 +6,7 @@
<th>Mimetype
<th>Date</th>
<th>Hash</th>
+ <th>Size</th>
</tr>
<?php foreach($query as $key => $item): ?>
@@ -16,6 +17,7 @@
<td><?php echo $item["mimetype"]; ?></td>
<td><?php echo $item["date"]; ?></td>
<td><?php echo $item["hash"]; ?></td>
+ <td><?php echo $item["filesize"]; ?></td>
</tr>
<?php endforeach; ?>
</table>
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";
}