From e04c65eec75293177767b02d9ed4d26676e1890f Mon Sep 17 00:00:00 2001 From: Thore Bödecker Date: Fri, 19 Jul 2013 13:47:15 +0200 Subject: Alternate message for a delete-timeout of 0 (never delete) Signed-off-by: Florian Pritz --- application/views/file/upload_form.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'application/views/file') 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 @@

Notice!

- Uploads/pastes are deleted after days - 0) { - echo "unless they are smaller than ".format_bytes($small_upload_size); + Uploads/pastes are 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 . You can upload a maximum of files at once.

-- cgit v1.2.3-24-g4f1b