Skip to content

Commit

Permalink
Merge pull request #181 from David-Guillot/patch-1
Browse files Browse the repository at this point in the history
[html5_uploader] Fixed input used for upload
  • Loading branch information
Bharat Mediratta committed May 27, 2018
2 parents d7b685c + 8f369db commit 9c64c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3.0/modules/html5_uploader/controllers/uploader.php
Expand Up @@ -112,7 +112,7 @@ private function _get_add_form($album) {
$form = new Forge("uploader/add/{$album->id}", "", "post", array("id" => "g-add-photos-form")); $form = new Forge("uploader/add/{$album->id}", "", "post", array("id" => "g-add-photos-form"));
$group = $form->group("add_photos") $group = $form->group("add_photos")
->label(t("Add photos to %album_title", array("album_title" => html::purify($album->title)))); ->label(t("Add photos to %album_title", array("album_title" => html::purify($album->title))));
$group->input("files[]")->type("file")->multiple(); $group->upload("files[]")->multiple();


$form->input("FOO")->type("hidden")->label(sprintf("You may upload several files at once. Uploading pictures may take some time - please be patient. Max. upload size of all pictures: %.0f MB.", ini_get("upload_max_filesize"))); $form->input("FOO")->type("hidden")->label(sprintf("You may upload several files at once. Uploading pictures may take some time - please be patient. Max. upload size of all pictures: %.0f MB.", ini_get("upload_max_filesize")));


Expand Down

0 comments on commit 9c64c8e

Please sign in to comment.