From ea8471781ee26f79c3835e68b31353601e78d0a8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 23 Feb 2015 11:26:14 +0100 Subject: upload_form: Support multiple textareas/files at the same time Signed-off-by: Florian Pritz --- application/views/file/upload_form.php | 105 ++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 47 deletions(-) (limited to 'application/views/file') diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index 4434a53cf..9330a1659 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -1,61 +1,72 @@ -
-
- + +
+
+
+
+

Text paste

+
+
+ +
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+
-

Text paste

+

File upload

-
- +
+
+
- -
-
-
-
-
- -
-
-

File upload

-
-
-
-
-
-
-
- -
-
-
-
-

Notice!

-
-
-

- Uploads/pastes are 0) { - echo "deleted after ".$upload_max_age." days"; - if ($small_upload_size > 0) { - echo " unless they are smaller than ".format_bytes($small_upload_size); - } - } else { - echo "stored forever"; - } ?>. Maximum upload size is . - You can upload a maximum of files at once. -

+
+
+
+

Notice!

+
+
+

+ You can upload files and paste text at the same time. Empty text or file inputs will be ignored. +

+

+ Uploads/pastes are 0) { + echo "deleted after ".$upload_max_age." days"; + if ($small_upload_size > 0) { + echo " unless they are smaller than ".format_bytes($small_upload_size); + } + } else { + echo "stored forever"; + } ?>. Maximum upload size is . + You can upload a maximum of files at once. +

+ +
-
+