| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- /**
- * The assignTo view file of bug 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 Mengyi Liu <liumengyi@easycorp.ltd>
- * @package bug
- * @link https://www.zentao.net
- */
- namespace zin;
- jsVar('page', 'assignedto');
- modalHeader
- (
- set::title($lang->bug->assignTo)
- );
- /* zin: Define the form in main content. */
- formPanel
- (
- set::submitBtnText($lang->bug->assignTo),
- formGroup
- (
- set::width('1/3'),
- set::name('assignedTo'),
- set::label($lang->bug->assignedTo),
- set::value($bug->assignedTo),
- set::items($users)
- ),
- formGroup
- (
- set::label($lang->bug->mailto),
- mailto(set::items($users), set::value($bug->mailto))
- ),
- formGroup
- (
- set::label($lang->comment),
- set::name('comment'),
- set::control('editor'),
- set::rows(6)
- )
- );
- hr();
- history(set::objectID($bug->id));
- render();
|