X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/ce572328d7458af0492c4004b44bd9cca80cb180..bbc830990c1a38deceae30553dd1f08def3a1c92:/lib/functions.js diff --git a/lib/functions.js b/lib/functions.js index 816ea6d..24c7df3 100755 --- a/lib/functions.js +++ b/lib/functions.js @@ -18,16 +18,16 @@ function show_link (url, reference, delete_code, crypt_key, date) { - var download_link = url + 'file.php?h=' + reference; - var download_link_href = url + 'file.php?h=' + reference; + var download_link = url + 'f.php?h=' + reference; + var download_link_href = url + 'f.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; + var delete_link = url + 'f.php?h=' + reference + '&d=' + delete_code; + var delete_link_href = url + 'f.php?h=' + reference + '&d=' + delete_code; document.getElementById('upload_link').innerHTML = download_link; document.getElementById('upload_link').href = download_link_href;