summaryrefslogtreecommitdiffstats
path: root/application/views/file/upload_form.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-08-29 17:45:48 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-08-29 17:45:48 +0200
commit6065c00e637872804d057bfe6fc6b719f4652019 (patch)
treeb4523c79395ab0cae3c8bd3386283476332cdd61 /application/views/file/upload_form.php
parentcc72236f71c60396b69631656f8e0ad00a6301c8 (diff)
parentf8674b37bd7db4e47103391b28dfa5b34d58f29f (diff)
Merge branch 'multipaste' into working
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r--application/views/file/upload_form.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index c5b28536c..44828c53a 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -26,7 +26,10 @@
<h3 class="panel-title">File upload</h3>
</div>
<div class="panel-body">
- <input class="file-upload" type="file" name="file[]" multiple="multiple"><br>
+ <div>
+ <input class="file-upload" type="file" name="file[]" multiple="multiple"><br>
+ </div>
+ <label><input type="checkbox" name="multipaste" value="1"> Create multipaste</label><br>
<button type="submit" id="upload_button" class="btn btn-primary">Upload it!</button>
</div>
</div>
@@ -57,6 +60,7 @@
<script type="text/javascript">
/* <![CDATA[ */
var max_upload_size = "<?php echo $max_upload_size; ?>";
+ var max_files_per_upload = "<?php echo ini_get("max_file_uploads"); ?>";
/* ]]> */
</script>