- var delete_link = download_link + '&d=' + delete_code;
- var delete_link_href = download_link + '&d=' + delete_code;
+ var download_link_href = url + 'file.php?h=' + reference;
+ if (crypt_key.length > 0)
+ {
+ download_link += '&k=' + crypt_key;
+ download_link_href += '&k=' + crypt_key;
+ }
+
+ var delete_link = url + 'file.php?h=' + reference + '&d=' + delete_code;
+ var delete_link_href = url + 'file.php?h=' + reference + '&d=' + delete_code;
+