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