diff options
author | Hrvoje Hodak <me@tribly.de> | 2018-01-26 15:09:29 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-01-31 17:05:35 +0100 |
commit | 1c015d938ed4f31ffa647bcbcaaa8fd1ecf72c9f (patch) | |
tree | 04d4616e0a3860d39bc8ed05d65eb83df0606208 /application/views/file | |
parent | 283b4a4a1d8246c180a5be75558aa88847a1d6c5 (diff) |
Proper display of expiration duration for less than a day
Diffstat (limited to 'application/views/file')
-rw-r--r-- | application/views/file/upload_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index 66e855606..e002b25da 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -53,7 +53,7 @@ <p><button type="submit" id="upload_button" class="btn btn-primary">Upload/Paste it!</button></p> <p> Uploads/pastes are <?php if ($upload_max_age > 0) { - echo "deleted after ".$upload_max_age." days"; + echo "deleted after ".expiration_duration($upload_max_age); if ($small_upload_size > 0) { echo " unless they are smaller than ".format_bytes($small_upload_size); } |