summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/file_info.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-09-30 15:51:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-09-30 15:51:25 +0200
commitcd8bc917087164ae13ae9f9063ddefbe0f9dcdaf (patch)
treed7647d5f71d6a59b9eafa9676b366967a08a142c /application/views/file_plaintext/file_info.php
parent5cc91f8cd4b9f1a3a2b17d5e5bf7606acf0fcd07 (diff)
Bring a/views/file_plaintext in line with a/v/file
- Add missing files - Fix paths missing FCPATH - Remove left over header/footer Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file_plaintext/file_info.php')
-rw-r--r--application/views/file_plaintext/file_info.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/application/views/file_plaintext/file_info.php b/application/views/file_plaintext/file_info.php
new file mode 100644
index 000000000..125f1d118
--- /dev/null
+++ b/application/views/file_plaintext/file_info.php
@@ -0,0 +1,16 @@
+<?php if($filedata): ?>
+ID: <?php echo $id; ?>
+
+Filename: <?php echo $filedata["filename"]; ?>
+
+Date of upload: <?php echo date("r", $filedata["date"]); ?>
+
+Date of removal: <?php echo $timeout; ?>
+
+Size: <?php echo format_bytes($filedata["filesize"]); ?>
+
+Mimetype: <?php echo $filedata["mimetype"]; ?>
+
+Hash (MD5): <?php echo $filedata["hash"]; ?>
+
+<?php endif; ?>