| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- /**
- * The percent 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;
- $isEn = $app->getClientLang() == 'en';
- formPanel
- (
- setID('percentForm'),
- set::actions(array('submit')),
- formRow
- (
- setClass('percent-box'),
- formGroup
- (
- set::label($lang->custom->setPercent),
- $isEn ? null : set::labelWidth('128px'),
- radioList(set::name('percent'), set::items($lang->custom->conceptOptions->URAndSR), set::value(isset($config->setPercent) ? $config->setPercent : 0), set::inline(true))
- )
- ),
- formRow
- (
- setClass('percent-tip'),
- formGroup
- (
- set::label(''),
- $isEn ? null : set::labelWidth('128px'),
- span
- (
- icon('info text-warning mr-2'),
- $lang->custom->notice->readOnlyOfPercent
- )
- )
- )
- );
- /* ====== Render page ====== */
- render();
|