selectlibtype.html.php 871 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * The selectcustomandmine view file of doc 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 Chenxuan Song<songchenxuan@easycorp.ltd>
  7. * @package doc
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. jsVar('pageFrom', $from);
  12. to::header(entityLabel(set::level(1), set::text($lang->doc->create)));
  13. if(in_array($objectType, array('mine', 'custom'))) include './selectmineandcustom.html.php';
  14. if($objectType == 'product') include './selectproduct.html.php';
  15. if($objectType == 'project') include './selectproject.html.php';
  16. if($objectType == 'api') include './selectapi.html.php';
  17. /* ====== Render page ====== */
  18. render();