summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-05-28 19:59:54 +0200
committerFlorian Pritz <bluewind@server-speed.net>2011-05-28 19:59:54 +0200
commit77c5b12cdfbd9b2311db341ca79c6d81b97b5df4 (patch)
treeb7e6180618ae55685d55302ad745ac7d0297ee5a /application/views
parent64e1efba7de26f8a551f8c1bb13fdb1228cee987 (diff)
display configured age limit on front page
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application/views')
-rw-r--r--application/views/file/upload_form.php2
-rw-r--r--application/views/file_plaintext/upload_form.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 1f537da48..315c2e856 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -39,7 +39,7 @@
<?php endif; ?>
</div>
<br />
-<p>Uploads/pastes are deleted after 5 days<?php if($small_upload_size > 0): ?>
+<p>Uploads/pastes are deleted after <?php echo $upload_max_age; ?> days<?php if($small_upload_size > 0): ?>
unless they are smaller than <?php echo format_bytes($small_upload_size); ?>
<?php endif; ?>. Maximum upload size is <?php echo format_bytes($max_upload_size); ?></p>
<p>For shell uploading/pasting and download information for the client go to <a href="<?php echo site_url("file/client"); ?>"><?php echo site_url("file/client"); ?></a></p>
diff --git a/application/views/file_plaintext/upload_form.php b/application/views/file_plaintext/upload_form.php
index 12d506253..b22329e0c 100644
--- a/application/views/file_plaintext/upload_form.php
+++ b/application/views/file_plaintext/upload_form.php
@@ -1,4 +1,4 @@
-Uploads/pastes are deleted after 5 days<?php if($small_upload_size > 0): ?> unless they are smaller than <?php echo format_bytes($small_upload_size); ?><?php endif; ?>.
+Uploads/pastes are deleted after <?php echo $uploads_max_age; ?> days<?php if($small_upload_size > 0): ?> unless they are smaller than <?php echo format_bytes($small_upload_size); ?><?php endif; ?>.
Maximum upload size is <?php echo format_bytes($max_upload_size); ?>.
<?php include "client.php"; ?>