templatepriv.html.php 939 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * The template priv view file of project module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Yuting Wang<wangyuting@easycorp.ltd>
  7. * @package project
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader(set::title($title));
  12. formPanel
  13. (
  14. formGroup
  15. (
  16. set::labelWidth('120px'),
  17. set::width('full'),
  18. set::label($lang->project->tplAcl),
  19. set::name('acl'),
  20. set::control(array('control' => 'aclBox', 'aclItems' => $lang->project->templateAclList, 'aclValue' => !empty($project->tplAcl) ? $project->tplAcl : 'open', 'whitelistLabel' => $lang->project->whitelist, 'userValue' => !empty($project->tplWhiteList) ? $project->tplWhiteList : ''))
  21. )
  22. );