summaryrefslogtreecommitdiffstats
path: root/system/application/views/file
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/views/file')
-rw-r--r--system/application/views/file/non_existant.php2
-rw-r--r--system/application/views/file/show_url.php6
-rw-r--r--system/application/views/file/too_big.php2
-rw-r--r--system/application/views/file/upload_error.php6
-rw-r--r--system/application/views/file/upload_form.php19
5 files changed, 21 insertions, 14 deletions
diff --git a/system/application/views/file/non_existant.php b/system/application/views/file/non_existant.php
index 418007782..9f4a79913 100644
--- a/system/application/views/file/non_existant.php
+++ b/system/application/views/file/non_existant.php
@@ -1,3 +1,3 @@
<div style="text-align:center">
- I'm sorry, but the requested file doesn't exist.
+ <p>I'm sorry, but the requested file doesn't exist.</p>
</div>
diff --git a/system/application/views/file/show_url.php b/system/application/views/file/show_url.php
index 62d34c661..e0e3dc8a6 100644
--- a/system/application/views/file/show_url.php
+++ b/system/application/views/file/show_url.php
@@ -1,4 +1,6 @@
<div style="text-align:center">
- You can get your file here:<br />
- <a href="<?php echo $url; ?>"><?php echo $url; ?></a><br />
+ <p>
+ You can get your file here:<br />
+ <a href="<?php echo $url; ?>"><?php echo $url; ?></a><br />
+ </p>
</div>
diff --git a/system/application/views/file/too_big.php b/system/application/views/file/too_big.php
index e5dd5bd6a..aa5c42835 100644
--- a/system/application/views/file/too_big.php
+++ b/system/application/views/file/too_big.php
@@ -1,3 +1,3 @@
<div style="text-align:center">
- Sorry, the file you uploaded is too big.
+ <p>Sorry, the file you uploaded is too big.</p>
</div>
diff --git a/system/application/views/file/upload_error.php b/system/application/views/file/upload_error.php
index 807ca6071..e757b58c1 100644
--- a/system/application/views/file/upload_error.php
+++ b/system/application/views/file/upload_error.php
@@ -1,4 +1,6 @@
<div style="text-align:center">
- An error occured while uploading.<br />
- Most likely your file is too big.
+ <p>
+ An error occured while uploading.<br />
+ Most likely your file is too big.
+ </p>
</div>
diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php
index 88fbb34ef..2835f46a9 100644
--- a/system/application/views/file/upload_form.php
+++ b/system/application/views/file/upload_form.php
@@ -1,14 +1,18 @@
<div style="text-align:center">
<?php echo form_open_multipart('file/do_upload'); ?>
- File: <input type="file" name="file" size="30" />
- <input type="submit" value="Upload" name="process" />
+ <p>
+ File: <input type="file" name="file" size="30" />
+ <input type="submit" value="Upload" name="process" />
+ </p>
</form>
<br />
<p>OR</p>
<br />
<?php echo form_open_multipart('file/do_paste'); ?>
- <textarea name="content" cols="80" rows="20"></textarea><br />
- <input type="submit" value="Paste" name="process" />
+ <p>
+ <textarea name="content" cols="80" rows="20"></textarea><br />
+ <input type="submit" value="Paste" name="process" />
+ </p>
</form>
</div>
<br /><br />
@@ -18,16 +22,15 @@
<br />
<p>For shell uploading/pasting use:</p>
<pre>
-curl -n -F "content=<-" <?php echo base_url(); ?> < file (not binary safe)
-cat file | curl -n -F "content=<-" <?php echo base_url(); ?> (not binary safe)
+curl -n -F "content=&lt;-" <?php echo base_url(); ?> &lt; file (not binary safe)
+cat file | curl -n -F "content=&lt;-" <?php echo base_url(); ?> (not binary safe)
curl -n -F "file=@/home/user/foo" <?php echo base_url(); ?> (binary safe)
</pre>
<br />
-<p>If you want to use authentication add the following to your ~/.netrc:
+<p>If you want to use authentication add the following to your ~/.netrc:</p>
<pre>
machine paste.xinu.at password my_secret_password
</pre>
-</p>
<br />
<p>If you want to you can use this script to upload files, paste text or delete your uploads:<br />
<a href="<?php echo $client_link; ?>"><?php echo $client_link; ?></a></p>