editissue.html.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * The edit view of assetlib module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(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 Congzhi Chen <congzhi@cnezsoft.com>
  8. * @package assetlib
  9. * @version $Id$
  10. * @link http://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><?php echo $lang->assetlib->editIssue;?></h2>
  19. </div>
  20. <form method="post" class="main-form form-ajax" enctype="multipart/form-data" id="issueForm">
  21. <table class="table table-form">
  22. <tbody>
  23. <tr>
  24. <th><?php echo $lang->issue->type;?></th>
  25. <td class="required"><?php echo html::select('type', $lang->issue->typeList, $issue->type, 'class="form-control chosen"');?></td>
  26. <td></td>
  27. <td></td>
  28. </tr>
  29. <tr>
  30. <th><?php echo $lang->issue->title;?></th>
  31. <td class="required"><?php echo html::input('title', $issue->title, 'class="form-control"');?></td>
  32. </tr>
  33. <tr>
  34. <th><?php echo $lang->issue->severity;?></th>
  35. <td class="required"><?php echo html::select('severity', $lang->issue->severityList, $issue->severity, 'class="form-control chosen"');?></td>
  36. </tr>
  37. <tr>
  38. <th><?php echo $lang->issue->pri;?></th>
  39. <td><?php echo html::select('pri', $lang->issue->priList, $issue->pri, 'class="form-control chosen"');?></td>
  40. </tr>
  41. <tr>
  42. <th><?php echo $lang->issue->desc;?></th>
  43. <td colspan="2"><?php echo html::textarea('desc', $issue->desc, 'row="6"');?></td>
  44. </tr>
  45. <tr>
  46. <td colspan='3' class='text-center form-actions'><?php echo html::submitButton() . html::backButton();?></td>
  47. </tr>
  48. </tbody>
  49. </table>
  50. </form>
  51. </div>
  52. </div>
  53. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>