]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - lib/functions.js
Fix tmp link name
[jirafeau_mojo42.git] / lib / functions.js
index 816ea6db2cd79b8aec9af742bf1827258713d590..24c7df36f876e29deb920665655232ba1ded7aad 100755 (executable)
 
 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;

patrick-canterino.de