* [refac bug #54638] Adjust code.

This commit is contained in:
wangyidong
2024-08-29 16:29:24 +08:00
committed by 孙广明
parent 1cfc4d695b
commit 4f131b3d33
5 changed files with 6 additions and 31 deletions
+1 -5
View File
@@ -11,11 +11,7 @@ declare(strict_types=1);
namespace zin;
$space = common::checkNotCN() ? ' ' : '';
modalHeader
(
set::title($lang->execution->activate . $space . $lang->executionCommon)
);
modalHeader(set::title($lang->execution->activate . $space . $lang->executionCommon));
formPanel
(
set::submitBtnText($lang->execution->activate . $space . $lang->executionCommon),
+2 -10
View File
@@ -11,11 +11,7 @@ declare(strict_types=1);
namespace zin;
$space = common::checkNotCN() ? ' ' : '';
modalHeader
(
set::title($lang->execution->close . $space . $lang->executionCommon),
);
modalHeader(set::title($lang->execution->close . $space . $lang->executionCommon));
formPanel
(
set::submitBtnText($lang->execution->close . $space . $lang->executionCommon),
@@ -30,11 +26,7 @@ formPanel
formGroup
(
set::label($lang->comment),
editor
(
set::name('comment'),
set::rows('6')
)
editor(set::name('comment'), set::rows('6'))
)
);
hr();
+1 -5
View File
@@ -12,12 +12,8 @@ namespace zin;
jsVar('weekend', $config->execution->weekend);
modalHeader
(
set::title($lang->execution->putoff . $space . $lang->executionCommon),
);
$space = common::checkNotCN() ? ' ' : '';
modalHeader(set::title($lang->execution->putoff . $space . $lang->executionCommon));
formPanel
(
set::submitBtnText($lang->execution->putoff . $space . $lang->executionCommon),
+1 -6
View File
@@ -11,12 +11,7 @@ declare(strict_types=1);
namespace zin;
$space = common::checkNotCN() ? ' ' : '';
modalHeader
(
set::title($lang->execution->start . $space . $lang->executionCommon),
);
modalHeader(set::title($lang->execution->start . $space . $lang->executionCommon));
formPanel
(
set::submitBtnText($lang->execution->start . $space . $lang->executionCommon),
+1 -5
View File
@@ -10,12 +10,8 @@ declare(strict_types=1);
*/
namespace zin;
modalHeader
(
set::title($lang->execution->suspend . $space . $lang->executionCommon)
);
$space = common::checkNotCN() ? ' ' : '';
modalHeader(set::title($lang->execution->suspend . $space . $lang->executionCommon));
formPanel
(
set::submitBtnText($lang->execution->suspend . $space . $lang->executionCommon),