XFileSharing Free - How to have the TOS ticked by default

Free version of Xfilesharing

Moderator: admin

Message
Author
filehosting
Posts: 13
Joined: Sep 15, 2007 9:47 pm

How to have the TOS ticked by default

#1 Postby filehosting » Oct 16, 2007 5:02 am

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

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » Oct 16, 2007 6:12 am

That's easy. In Templates/upload_form.html replace

Code: Select all

<input type="checkbox" name="tos" value="1" id="tos">

with

Code: Select all

<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.

filehosting
Posts: 13
Joined: Sep 15, 2007 9:47 pm

#3 Postby filehosting » Oct 16, 2007 9:37 pm

Thanks! worked great!


Return to “XFileSharing Free”

Who is online

Users browsing this forum: No registered users and 0 guests