diff --git a/module/file/control.php b/module/file/control.php index 95551dc7ea..48477542a3 100644 --- a/module/file/control.php +++ b/module/file/control.php @@ -21,7 +21,7 @@ class file extends control * @access public * @return void */ - public function buildForm() + public function buildForm($fileCount = 1, $percent = 0.9, $filesName = "files", $labelsName = "labels") { if(!file_exists($this->file->savePath)) { @@ -34,6 +34,8 @@ class file extends control return false; } + $this->view->filesName = $filesName; + $this->view->labelsName = $labelsName; $this->display(); } diff --git a/module/file/view/buildform.html.php b/module/file/view/buildform.html.php index 430f46b557..45e99f35a9 100644 --- a/module/file/view/buildform.html.php +++ b/module/file/view/buildform.html.php @@ -2,10 +2,12 @@
-
file->maxUploadSize, $maxUploadSize);?>
+
+ file->maxUploadSize, $maxUploadSize);?> +
- +
@@ -22,6 +24,6 @@
- +