X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/ce572328d7458af0492c4004b44bd9cca80cb180..3e79bc188ef0d5b603b26163c0d0048c9310ec4c:/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;