create.html.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * The create lib view of assetlib module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2021 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Qiyu Xie <xieqiyu@easycorp.ltd>
  8. * @package assetlib
  9. * @version $Id: create.html.php 40
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  15. <div id="mainContent" class="main-content">
  16. <div class="center-block">
  17. <div class="main-header">
  18. <h2><?php echo $title;?></h2>
  19. </div>
  20. <form class="load-indicator main-form form-ajax" id="createForm" method="post" target='hiddenwin'>
  21. <table class="table table-form">
  22. <tr>
  23. <th><?php echo $lang->assetlib->name;?></th>
  24. <td><?php echo html::input('name', '', "class='form-control' required");?></td>
  25. </tr>
  26. <tr>
  27. <th><?php echo $lang->assetlib->desc;?></th>
  28. <td><?php echo html::textarea('desc', '', "rows=10 class='form-control'");?></td>
  29. </tr>
  30. <tr>
  31. <td class='text-center form-actions' colspan='2'>
  32. <?php echo html::submitButton();?>
  33. <?php echo html::backButton();?>
  34. </td>
  35. </tr>
  36. </table>
  37. </form>
  38. </div>
  39. </div>
  40. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>