review.html.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /**
  3. * The view file of review method of feedback 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 Yidong Wang <yidong@cnezsoft.com>
  8. * @package feedback
  9. * @version $Id: review.html.php 4129 2013-01-18 01:58:14Z wwccss $
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.lite.html.php';?>
  14. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  15. <?php include $app->getModuleRoot() . 'common/view/datepicker.html.php';?>
  16. <div id='mainContent' class='main-content'>
  17. <div class='main-header'>
  18. <h2>
  19. <span class='label label-id'><?php echo $feedback->id;?></span>
  20. <?php echo html::a($this->createLink('feedback', 'view', "feedbackID=$feedback->id"), $feedback->title);?>
  21. </h2>
  22. </div>
  23. <form method='post' target='hiddenwin'>
  24. <table class='table table-form'>
  25. <tr>
  26. <th class='w-80px'><?php echo $lang->feedback->reviewedDateAB;?></th>
  27. <td class='w-p25-f'><?php echo html::input('reviewedDate', helper::today(), "class='form-control form-date'");?></td><td></td>
  28. </tr>
  29. <tr>
  30. <th><?php echo $lang->feedback->reviewResultAB;?></th>
  31. <td class='required'><?php echo html::select('result', $lang->feedback->reviewResultList, '', "class='form-control'");?></td><td></td>
  32. </tr>
  33. <tr id='assignedToBox' class='hide'>
  34. <th><?php echo $lang->feedback->assignedTo;?></th>
  35. <td><?php echo html::select('assignedTo', $users, '', "class='form-control chosen'");?></td>
  36. </tr>
  37. <tr class='hide'>
  38. <th><?php echo $lang->feedback->status;?></th>
  39. <td><?php echo html::hidden('status', $feedback->status);?></td>
  40. </tr>
  41. <?php $this->printExtendFields($feedback, 'table');?>
  42. <tr>
  43. <th><?php echo $lang->feedback->reviewedByAB;?></th>
  44. <td colspan='2'><?php echo html::select('reviewedBy[]', $users, $app->user->account, "class='form-control chosen' multiple");?></td>
  45. </tr>
  46. <tr>
  47. <th><?php echo $lang->feedback->reviewOpinion;?></th>
  48. <td colspan='2'><?php echo html::textarea('comment', '', "rows='8' class='form-control'");?></td>
  49. </tr>
  50. <tr>
  51. <td colspan='3' class='text-center'><?php echo html::submitButton();?></td>
  52. </tr>
  53. </table>
  54. </form>
  55. <hr class='small' />
  56. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  57. </div>
  58. <?php js::set('openedBy', $feedback->openedBy);?>
  59. <?php js::set('assignedTo', $assignedTo ? $assignedTo : $feedback->assignedTo);?>
  60. <?php include $app->getModuleRoot() . 'common/view/footer.lite.html.php';?>