summaryrefslogtreecommitdiffstats
path: root/application/views/file
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/show_url.php10
-rw-r--r--application/views/file/upload_form.php5
2 files changed, 9 insertions, 6 deletions
diff --git a/application/views/file/show_url.php b/application/views/file/show_url.php
index 3c08ed952..a3d965717 100644
--- a/application/views/file/show_url.php
+++ b/application/views/file/show_url.php
@@ -1,6 +1,8 @@
<div class="center">
- <p>
- You can get your file here:<br />
- <a href="<?php echo $url; ?>"><?php echo $url; ?></a><br />
- </p>
+ <p>You can get your file(s) here:</p>
+ <p>
+ <?php foreach ($urls as $key => $url) { ?>
+ <a href="<?php echo $url; ?>"><?php echo $url; ?></a><br />
+ <?php } ?>
+ </p>
</div>
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index a6f4eedc7..aaf36931a 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -13,7 +13,7 @@
<div class="span6">
<?php echo form_open_multipart('file/do_upload'); ?>
<h2>File upload</h2>
- <input id="file" type="file" name="file"><br>
+ <input class="file-upload" type="file" name="file[]" multiple="multiple"><br>
<button type="submit" id="upload_button" class="btn btn-primary">Upload it!</button>
</form>
<div class="alert alert-block alert-info">
@@ -22,7 +22,8 @@
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);
- } ?>. Maximum upload size is <?php echo format_bytes($max_upload_size); ?>
+ } ?>. 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>
</div>
</div>