XFileSharing Free - Advanced Options to Show by default on index
Advanced Options to Show by default on index
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?
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>-->
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>-->