| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
- /**
- * The ajaxcustom view file of datatable module of ZenTaoPMS.
- *
- * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
- * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
- * @author zhujinyong<zhujinyong@easycorp.ltd>
- * @package zin
- * @link https://www.zentao.net
- */
- namespace zin;
- global $lang, $app;
- $app->loadLang('datatable');
- $showModule = isset($config->$currentModule->$currentMethod->showModule) ? $config->$currentModule->$currentMethod->showModule : '0';
- $showAllModule = isset($config->execution->task->allModule) ? $config->execution->task->allModule : 0;
- set::title($lang->datatable->displaySetting);
- form
- (
- set::url(helper::createLink('datatable', 'ajaxSave')),
- set::labelWidth('12em'),
- input
- (
- set('class', 'hidden'),
- set::name('target'),
- set::value($datatableID)
- ),
- input
- (
- set('class', 'hidden'),
- set::name('name'),
- set::value('showModule')
- ),
- formGroup
- (
- set::label($lang->datatable->showModule),
- radiolist
- (
- set::name('value'),
- set::inline(true),
- set::items($lang->datatable->showModuleList),
- set::value($showModule)
- )
- ),
- !empty($execution->multiple) || !empty($execution->hasProduct) ? formGroup
- (
- set::label($lang->datatable->showAllModule),
- radiolist
- (
- set::name('allModule'),
- set::inline(true),
- set::items($lang->datatable->showAllModuleList),
- set::value($showAllModule)
- )
- ) : null,
- input
- (
- set('class', 'hidden'),
- set::name('currentModule'),
- set::value($currentModule)
- ),
- input
- (
- set('class', 'hidden'),
- set::name('currentMethod'),
- set::value($currentMethod)
- ),
- set::actions(array('submit'))
- );
- render();
|