summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-05-03 00:58:09 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-05-03 00:58:09 +0200
commitae834cc5b55625db2e28d92c0231791cb9ce1cdf (patch)
treef0e5dad353f3b926e4c599ea010ce8b3eae80f0d
parent8c0f9fc3e755d46e0ee266a85225bb73cf7fc3c7 (diff)
document ID/info mode
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/upload_form.php7
-rw-r--r--application/views/file_plaintext/upload_form.php7
2 files changed, 10 insertions, 4 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index f4d325e0b..20fb1a3d8 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -46,8 +46,13 @@ You have to <?=anchor("user/login", "log in"); ?> to be able to upload/paste.
<li><span class="example">/&lt;ID&gt;/qr</span> display a qr code containing a link to <span class="example">/&lt;ID&gt;/</span></li>
<li><span class="example">/&lt;ID&gt;/rmd</span> convert markdown to HTML</li>
<li><span class="example">/&lt;ID&gt;/ascii</span> convert text with ANSI (shell) escape codes to HTML</li>
+ <li><span class="example">/&lt;ID&gt;/info</span> display some information about the ID</li>
</ul>
-<p>If your upload is not detected as text, only <span class="example">/&lt;ID&gt;/qr</span> and <span class="example">/&lt;ID&gt;/plain</span> will work as above and all others will simply return the file with the detected MIME type.</p>
+<p>If your upload is not detected as text, only
+<span class="example">/&lt;ID&gt;/qr</span>,
+<span class="example">/&lt;ID&gt;/plain</span> and
+<span class="example">/&lt;ID&gt;/info</span>
+will work as above and all others will simply return the file with the detected MIME type.</p>
<h2>Information</h2>
<p>This website's primary goal is aiding developers, power users, students and alike in solving problems, debugging software, sharing their configuration, etc. It is not intended to distribute confidential or harmful information, scripts or software.</p>
diff --git a/application/views/file_plaintext/upload_form.php b/application/views/file_plaintext/upload_form.php
index 9c20815df..7fe3aa801 100644
--- a/application/views/file_plaintext/upload_form.php
+++ b/application/views/file_plaintext/upload_form.php
@@ -10,8 +10,9 @@ How to link your uploads:
- "/<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
+ - "/<ID>/info" display some information about the ID
-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.
+If your upload is not detected as text, only "/<ID>/qr", "/<ID>/plain"
+and "/<ID>/info" will work as above and all others will simply return
+the file with the detected MIME type.