From 63f929e32917fc991c22c62fdf0f0229327edef6 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 9 Aug 2018 11:25:03 +0800 Subject: [PATCH] * finish task #4661. --- module/file/control.php | 4 +++- module/file/view/buildform.html.php | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) 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 @@
- +