approve.html.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * The view file of approve method 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 Shujie Tian <tianshujie@easycorp.ltd>
  8. * @package assetlib
  9. * @version $Id: approve.html.php 4129 2021-06-28 08:18:14Z tsj $
  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 class='main-content' id='mainContent'>
  16. <div class='center-block'>
  17. <div class='main-header'>
  18. <h2>
  19. <span class='label label-id'><?php echo $object->id;?></span>
  20. <?php echo $object->{$config->action->objectNameFields[$objectType]};?>
  21. <small><?php echo $lang->arrow . $lang->assetlib->approve;?></small>
  22. </h2>
  23. </div>
  24. <form method='post' target='hiddenwin'>
  25. <table class='table table-form'>
  26. <tr>
  27. <th class='thWidth'><?php echo $lang->assetlib->approvedDate;?></th>
  28. <td class='w-p25-f'><?php echo html::input('approvedDate', helper::today(), "class='form-control form-date'");?></td><td></td>
  29. </tr>
  30. <tr>
  31. <th><?php echo $lang->assetlib->approveResult;?></th>
  32. <td class='required'><?php echo html::select('result', $lang->assetlib->resultList, '', 'class=form-control');?></td>
  33. </tr>
  34. <tr>
  35. <th><?php echo $lang->comment;?></th>
  36. <td colspan='2'><?php echo html::textarea('comment', '', "rows='8' class='form-control'");?></td>
  37. </tr>
  38. <tr>
  39. <td colspan='3' class='text-center form-actions'><?php echo html::submitButton();?></td>
  40. </tr>
  41. </table>
  42. </form>
  43. </div>
  44. </div>
  45. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>