| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- /**
- * The code 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;
- formPanel
- (
- setID('setCodeForm'),
- set::actions(array('submit')),
- formRow
- (
- setClass('set-code-box'),
- formGroup
- (
- set::label($lang->custom->setCode),
- radioList
- (
- set::name('code'),
- set::items($lang->custom->conceptOptions->URAndSR),
- set::value(isset($config->setCode) ? $config->setCode : 0),
- set::inline(true)
- )
- )
- ),
- formRow
- (
- setClass('set-code-tip'),
- formGroup
- (
- set::label(''),
- span
- (
- icon('info text-warning mr-2'),
- $lang->custom->notice->readOnlyOfCode
- )
- )
- )
- );
- /* ====== Render page ====== */
- render();
|