How do create a separate button for direct download and one for slow download?
<TMPL_IF direct_links>
<input type="hidden" name="down_direct" value="1">
<input type="submit" id="btn_download" value="<TMPL_VAR lang_create_link>" class="premium">
<TMPL_ELSE>
<input type="hidden" name="down_script" value="1">
<input type="submit" id="btn_download" value="<TMPL_VAR lang_download_file>" class="slow">
</TMPL_IF>
XFileSharing Pro - How do create a separate button for direct download and one
-
- Posts: 2
- Joined: Jul 16, 2012 2:36 am
do you understand the difference between direct links active and not active??
if direct links are active your server will generate the link without using index_dl.cgi
if you don't choose direct links your server will generate a link using index_dl.cgi causing high loads if a lot of users downloading files.
please be more specific what you want to do?
I don't think it's possible what you mean. you can activate direct links or non-direct links. slow and fast download will not be possible I think.
if direct links are active your server will generate the link without using index_dl.cgi
if you don't choose direct links your server will generate a link using index_dl.cgi causing high loads if a lot of users downloading files.
please be more specific what you want to do?
I don't think it's possible what you mean. you can activate direct links or non-direct links. slow and fast download will not be possible I think.