summaryrefslogtreecommitdiffstats
path: root/system/application/views/file
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-30 20:12:57 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-30 20:12:57 +0100
commit0ec90fd7bb857d3986fdd91b3b74edb4931107d1 (patch)
tree49df1a5fecec6adc960a64b658bce2dbef34fad2 /system/application/views/file
parentdebb9053f737f8f51b8cc402d7d18b8f0a1ee70a (diff)
add simple botfiltering
Bots tend to fill out all fields, so add a hidden "email" field that will prevent the text from being saved. Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/views/file')
-rw-r--r--system/application/views/file/upload_form.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php
index fe3f5db5a..0f90bab0e 100644
--- a/system/application/views/file/upload_form.php
+++ b/system/application/views/file/upload_form.php
@@ -10,6 +10,7 @@
<?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>