create.html.php 691 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * The create 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 Sun Guangming<sunguangming@easycorp.ltd>
  7. * @package doc
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. include($this->app->getModuleRoot() . 'ai/ui/inputinject.html.php');
  12. $isOfficeDoc = $docType != '' && strpos($config->doc->officeTypes, $docType) !== false;
  13. if($isOfficeDoc) include 'create.office.html.php';
  14. else include 'create.text.html.php';