From ab6e41dc5cc2684af23347ac128d42ddb911698d Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Fri, 6 Dec 2024 05:21:53 +0000 Subject: [PATCH] * [story#69800,0.5h] refactor. --- module/doc/ui/zentaolist.html.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/module/doc/ui/zentaolist.html.php b/module/doc/ui/zentaolist.html.php index 0fd83a0a7b..2cadd23c5b 100644 --- a/module/doc/ui/zentaolist.html.php +++ b/module/doc/ui/zentaolist.html.php @@ -13,6 +13,7 @@ set::zui(); $lowerType = strtolower($type); include "zentaolist.{$lowerType}.html.php"; +/* include "zentaolist.customsearch.html.php"; */ $isSetting = $view == 'setting'; @@ -21,7 +22,7 @@ formPanel setID('zentaolist'), setClass('mb-0 pb-0', array('hidden' => !$isSetting)), set('data-type', $type), - set('data-params', $params), + set('data-settings', $settings), set::title($title), set::actions(array()), to::titleSuffix @@ -37,7 +38,8 @@ formPanel $lang->doc->insertTip ) ), - $fnGenerateFormRows($parsedParams), + $fnGenerateFormRows(), + /* $fnGenerateCustomSearch(), */ to::footer ( setClass('form-actions'), @@ -80,7 +82,7 @@ formPanel set::cols($cols), set::data($data), set::emptyTip($lang->doc->previewTip), - set::checkable(), + set::checkable($view === 'setting'), set::plugins(array('checkable')), ), !$isSetting ? div