X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/c447f2d7c18e5e89d83b420a8c706fbfa07c9b85..543ffeeaee9f237a7d5cb5b69b4bcc469ea9ecf8:/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');