XFileSharing Free - Advanced Options to Show by default on index

Message
Author
Seahunter
Posts: 1
Joined: Jun 17, 2011 8:17 pm

Advanced Options to Show by default on index

#1 Postby Seahunter » Jun 17, 2011 8:19 pm

Is there any way to make the advanced options (email recipient and password protect) show by default on the home page load rather than having to click "Show Advanced Options" to unhide them?

adelphi
Posts: 4
Joined: Nov 22, 2011 9:59 am

#2 Postby adelphi » Jun 20, 2012 12:43 pm

Change the code in upload_form.html

Before:
<a href="#" style="line-height:20px;" onClick="$('optidiv').style.position='static';this.style.display='none';">Show Advanced Options</a>
<div id="optidiv">
Recipient's Email: <input type="text" name="link_rcpt" class="myForm">  
Link Password: <input type="password" name="link_pass" class="myForm">
</div>


After:
<!--<a href="#" style="line-height:20px;" onClick="$('optidiv').style.position='static';this.style.display='none';">Show Advanced Options</a>
<div id="optidiv">-->
Recipient's Email: <input type="text" name="link_rcpt" class="myForm">  
Link Password: <input type="password" name="link_pass" class="myForm">
<!--</div>-->