| View previous topic :: View next topic |
| Author |
Message |
filehosting
Joined: 15 Sep 2007 Posts: 13
|
Posted: Oct 16, 2007 5:02 am Post subject: How to have the TOS ticked by default |
|
|
How do I go about have the terms of service tick box, already checked by default, so that users only have to browse to the file, and click upload?
Thanks |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1901 Location: UFO Lab
|
Posted: Oct 16, 2007 6:12 am Post subject: |
|
|
That's easy. In Templates/upload_form.html replace
| Code: | | <input type="checkbox" name="tos" value="1" id="tos"> |
with
| Code: | | <input type="checkbox" name="tos" value="1" id="tos" checked> |
Actually you can remove it at all from code with same effect. There won't be any error. |
|
| Back to top |
|
 |
filehosting
Joined: 15 Sep 2007 Posts: 13
|
Posted: Oct 16, 2007 9:37 pm Post subject: |
|
|
| Thanks! worked great! |
|
| Back to top |
|
 |
|