summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/upload_form.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-05 15:11:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:47:27 +0200
commitb256550f2b2640d4ff507d5c759251bac538bbd9 (patch)
tree2b5653550dacd50aec4b9330447b25820ca0b11d /application/views/file_plaintext/upload_form.php
parent0ad020ddfb5523745cfddff8318f517d52d63635 (diff)
improve start page for cli clients
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.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/application/views/file_plaintext/upload_form.php b/application/views/file_plaintext/upload_form.php
index 18ff958ce..9c20815df 100644
--- a/application/views/file_plaintext/upload_form.php
+++ b/application/views/file_plaintext/upload_form.php
@@ -1,2 +1,17 @@
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); ?>.
+
+How to link your uploads:
+ - "/<ID>/" automatically highlight the uploads
+ - "/<ID>" set the detected MIME type and let the browser do the rest
+ - "/<ID>/plain" force the MIME type to be text/plain
+ - "/<ID>/<file extension>" override auto detection and use the supplied
+ file extension or language name for highlighting
+ - "/<ID>/qr" display a qr code containing a link to /<ID>/
+ - "/<ID>/rmd" convert markdown to HTML
+ - "/<ID>/ascii" convert text with ANSI (shell) escape codes to HTML
+
+If your upload is not detected as text, only "/<ID>/qr" and "/<ID>/plain"
+will work as above and all others will simply return the file with the
+detected MIME type.
+