From 93aa32f2c1bc5e007f435bda1d68f6c691b743ce Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 14 Nov 2023 15:50:30 +0800 Subject: [PATCH] * Remove `,` at the end of row in the lastest children in transfer. --- module/transfer/ui/exporttemplate.html.php | 6 +++--- module/transfer/ui/import.html.php | 4 ++-- module/transfer/ui/showimport.html.php | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/module/transfer/ui/exporttemplate.html.php b/module/transfer/ui/exporttemplate.html.php index 95d0bfcab6..221b1f1441 100644 --- a/module/transfer/ui/exporttemplate.html.php +++ b/module/transfer/ui/exporttemplate.html.php @@ -22,7 +22,7 @@ form set::label($lang->transfer->num), set::name('num'), set::type('number'), - set::value(10), + set::value(10) ), formGroup ( @@ -30,9 +30,9 @@ form set::name('fileType'), set::value('xlsx'), set::control('picker'), - set::items(array('xlsx' => 'xlsx', 'xls' => 'xls')), + set::items(array('xlsx' => 'xlsx', 'xls' => 'xls')) ), - set::actions(array('submit')), + set::actions(array('submit')) ); js diff --git a/module/transfer/ui/import.html.php b/module/transfer/ui/import.html.php index c3dace8b2f..01352d3841 100644 --- a/module/transfer/ui/import.html.php +++ b/module/transfer/ui/import.html.php @@ -20,7 +20,7 @@ panel set::enctype('multipart/form-data'), set::target('_self'), input(set::type('file'), set::name('file')), - span(setClass('label secondary'), $lang->transfer->importNotice), - ), + span(setClass('label secondary'), $lang->transfer->importNotice) + ) ); h::js('$.cookie.set("maxImport", 0);'); diff --git a/module/transfer/ui/showimport.html.php b/module/transfer/ui/showimport.html.php index 255c18b905..04ba6e20cf 100644 --- a/module/transfer/ui/showimport.html.php +++ b/module/transfer/ui/showimport.html.php @@ -37,7 +37,7 @@ elseif(empty($maxImport) and $allCount > $this->config->file->maxImport) ( set::title($lang->transfer->import), html(sprintf($lang->file->importSummary, $allCount, html::input('maxImport', $config->file->maxImport, "style='width:50px' onkeyup='recomputeTimes'"), ceil($allCount / $config->file->maxImport))), - btn(setID('import'), setClass('primary'), on::click('setMaxImport'), $lang->import), + btn(setID('import'), setClass('primary'), on::click('setMaxImport'), $lang->import) ); } else @@ -85,10 +85,10 @@ else $this->session->insert && $dataInsert != '' ? formHidden('insert', $dataInsert) : null, formHidden('isEndPage', $isEndPage ? 1 : 0), formHidden('pagerID', $pagerID), - html(sprintf($lang->file->importPager, $allCount, $pagerID, $allPager)), + html(sprintf($lang->file->importPager, $allCount, $pagerID, $allPager)) ) - ), - ), + ) + ) ), $this->session->insert ? null : modal ( @@ -100,14 +100,14 @@ else ( setClass('alert flex items-center'), icon(setClass('icon-2x alert-icon'), 'exclamation-sign'), - div($lang->noticeImport), + div($lang->noticeImport) ), to::footer ( btn(setClass('danger btn-wide'), set('onclick', 'submitForm("cover")'), $lang->importAndCover), - btn(setClass('primary btn-wide'), set('onclick', 'submitForm("insert")'), $lang->importAndInsert), - ), - ), + btn(setClass('primary btn-wide'), set('onclick', 'submitForm("insert")'), $lang->importAndInsert) + ) + ) ) ); }