X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/b402561271f0de4f4c12fc8f8c7d51d12e0a3e5c..d9facf79b38425c483eda7f4a6fa6c6ccd0a9655:/index.php diff --git a/index.php b/index.php index 09b37e4..11205a4 100644 --- a/index.php +++ b/index.php @@ -60,7 +60,7 @@ if (true === jirafeau_challenge_upload_ip($cfg['upload_ip'], get_ip_address($cfg // Show login form if user session is not authorized yet if (true === empty($_SESSION['upload_auth'])) { ?> -
+
@@ -98,32 +98,38 @@ else {

- - + + +

-

-

:

-

+

+ + +

-

:

-

+

+ + +

-
-

:

-

+
+

+ + +

-
+

:

@@ -236,7 +242,7 @@ else { onclick=" document.getElementById('upload').style.display = 'none'; document.getElementById('uploading').style.display = ''; - upload ('', ); + upload (); "/>

@@ -245,7 +251,7 @@ else { - + @@ -266,5 +272,10 @@ else { document.getElementById('max_file_size').innerHTML = ''; + + addCopyListener('upload_link_button', 'upload_link'); + addCopyListener('preview_link_button', 'preview_link'); + addCopyListener('direct_link_button', 'direct_link'); + addCopyListener('delete_link_button', 'delete_link');