summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/upload_form.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-08-19 21:20:15 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-08-19 21:20:15 +0200
commit1dd61073aa449e6f2bc13e44775ed2edf03914fb (patch)
tree1c591a71174fb4cdeb06497ed82c5895aa775421 /application/views/file_plaintext/upload_form.php
parent514c22a698cc44291990e78704bf27387f299ab6 (diff)
move inclusion of file_plaintext/client view to controller
This allows me to remove redundant variable definition from upload_form() since the same code is in client(). Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file_plaintext/upload_form.php')
-rw-r--r--application/views/file_plaintext/upload_form.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/application/views/file_plaintext/upload_form.php b/application/views/file_plaintext/upload_form.php
index 9dabcc95d..18ff958ce 100644
--- a/application/views/file_plaintext/upload_form.php
+++ b/application/views/file_plaintext/upload_form.php
@@ -1,4 +1,2 @@
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); ?>.
-
-<?php include "client.php"; ?>