diff options
author | Thore Bödecker <me@foxxx0.de> | 2013-07-19 13:47:15 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-07-19 14:07:06 +0200 |
commit | e04c65eec75293177767b02d9ed4d26676e1890f (patch) | |
tree | afa07f0ea1f081f3c85d98376bf70afe7263d4be /application/views | |
parent | e64dedc8463a705b50f261e123491a9f7353dadb (diff) |
Alternate message for a delete-timeout of 0 (never delete)
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/file/upload_form.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index bc6362988..99c1d9e42 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -24,9 +24,13 @@ <div class="span6 alert alert-block alert-info"> <h4 class="alert-heading">Notice!</h4> <p> - Uploads/pastes are deleted after <?php echo $upload_max_age; ?> days - <?php if($small_upload_size > 0) { - echo "unless they are smaller than ".format_bytes($small_upload_size); + Uploads/pastes are <?php if ($upload_max_age > 0) { + echo "deleted after ".$upload_max_age." days"; + if ($small_upload_size > 0) { + echo " unless they are smaller than ".format_bytes($small_upload_size); + } + } else { + echo "stored forever"; } ?>. Maximum upload size is <?php echo format_bytes($max_upload_size); ?>. You can upload a maximum of <?php echo ini_get("max_file_uploads"); ?> files at once. </p> |