| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- /**
- * The browseStoryConcept view file of custom 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 Shujie Tian<tianshujie@easycorp.ltd>
- * @package custom
- * @link https://www.zentao.net
- */
- namespace zin;
- jsVar('defaultKey', $config->custom->URSR);
- $canCreate = hasPriv('custom', 'setstoryconcept');
- if($canCreate) $createItem = array('icon' => 'plus', 'class' => 'primary', 'text' => $lang->custom->setStoryConcept, 'url' => $this->createLink('custom', 'setstoryconcept'), 'data-toggle' => 'modal');
- $tableData = initTableData($URSRList, $config->custom->browseStoryConcept->dtable->fieldList);
- include 'sidebar.html.php';
- div
- (
- setClass('flex'),
- $sidebarMenu,
- div
- (
- setClass('story-concept-panel flex-auto col ml-4'),
- div
- (
- setClass('panel-header flex-auto'),
- div
- (
- setClass('flex-auto text-md font-bold'),
- $lang->custom->product->fields['browsestoryconcept']
- ),
- toolbar
- (
- !empty($createItem) ? item(set($createItem)) : null
- )
- ),
- dtable
- (
- set::cols($config->custom->browseStoryConcept->dtable->fieldList),
- set::data($tableData),
- set::onRenderCell(jsRaw('window.renderCell'))
- )
- )
- );
- /* ====== Render page ====== */
- render();
|