diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-01-28 22:51:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-01-28 22:58:52 +0100 |
commit | ce2b69675075444c9e40b72bcdd42ab7edbbe633 (patch) | |
tree | 2932f13b0db14fe53dc0622d888318db638a017f /application/views/file/upload_form.php | |
parent | b6b8a6587c399bfd89e13e92ce04ee8486688e6e (diff) |
update to CI 2.0
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r-- | application/views/file/upload_form.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php new file mode 100644 index 000000000..4b23783dd --- /dev/null +++ b/application/views/file/upload_form.php @@ -0,0 +1,32 @@ +<div style="margin-top: 100px; text-align:center"> + <?php echo form_open_multipart('file/do_upload'); ?> + <p> + File: <input type="file" name="file" size="30" /> + <input type="submit" value="Upload" name="process" /><br /> + Optional password (for deletion): <input type="password" name="password" size="10" /> + </p> + </form> + <p>Pasting text directly has been disabled due to extensive bot problems. Please use the file upload instead.</p> +<?php if (false): ?> + <p><b>OR</b></p> + <?php echo form_open_multipart('file/do_paste'); ?> + <p> + <textarea name="content" cols="80" rows="20"></textarea><br /> + <div style="display: none">Email: <input type="text" name="email" size="20" /></div> + Optional password (for deletion): <input type="password" name="password" size="10" /><br /> + <input type="submit" value="Paste" name="process" /> + </p> +<?php endif; ?> + </form> +</div> +<br /> +<p>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; ?>. 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> +<br /> +<p>If you experience any problems feel free to <a href="http://bluewind.at/?id=1">contact me</a>.</p> +<br /> +<div class="small"> + <p>This service is provided without warranty of any kind and may not be used to distribute copyrighted content.</p> +</div> |