batchclose.html.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * The batch close view 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 Congzhi Chen <congzhi@cnezsoft.com>
  8. * @package feedback
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php js::set('app', $app->tab);?>
  15. <div class='main-content' id='mainContent'>
  16. <div class='main-header'>
  17. <h2><?php echo $lang->feedback->common . $lang->hyphen . $lang->feedback->batchClose;?></h2>
  18. </div>
  19. <form method='post' target='hiddenwin' id='feedbackBatchClose' action="<?php echo inLink('batchClose', "from=feedbackBatchClose")?>">
  20. <table class='table table-fixed table-form with-border'>
  21. <thead>
  22. <tr class='text-center'>
  23. <th class='c-id'><?php echo $lang->idAB;?></th>
  24. <th class='text-left'><?php echo $lang->feedback->title;?></th>
  25. <th class='c-status'><?php echo $lang->feedback->status;?></th>
  26. <th class='c-reason'><?php echo $lang->feedback->closedReason;?></th>
  27. <th class='w-p30'><?php echo $lang->feedback->commentAB;?></th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <?php foreach($feedbacks as $feedbackID => $feedback):?>
  32. <tr class='text-center'>
  33. <td><?php echo $feedbackID . html::hidden("feedbackIdList[$feedbackID]", $feedbackID);?></td>
  34. <td title='<?php echo $feedback->title;?>' class='text-left'><?php echo $feedback->title;?></td>
  35. <td class='feedback-<?php echo $feedback->status;?>'><?php echo $this->processStatus('feedback', $feedback);?></td>
  36. <td class='reasons-td'>
  37. <table class='w-p100 table-form'>
  38. <tr>
  39. <td class='pd-0'>
  40. <?php echo html::select("closedReasons[$feedbackID]", $reasonList, 'commented', "class=form-control onchange=setDuplicate(this.value,$feedbackID) style='min-width: 80px'");?>
  41. </td>
  42. <td class='pd-0 w-p60 text-left' id='<?php echo 'duplicateFeedbackBox' . $feedbackID;?>' <?php if($feedback->closedReason != 'repeat') echo "style='display:none'";?>>
  43. <?php echo html::select("repeatFeedbackIDList[$feedbackID]", $feedbackList, $feedback->repeatFeedback ? $feedback->repeatFeedback : '', "class='form-control' placeholder='{$lang->bug->duplicateTip}'");?>
  44. </td>
  45. </tr>
  46. </table>
  47. </td>
  48. <td><?php echo html::input("comments[$feedbackID]", '', "class='form-control'");?></td>
  49. </tr>
  50. <?php endforeach;?>
  51. </tbody>
  52. <tfoot>
  53. <tr>
  54. <td colspan='5' class='text-center form-actions'>
  55. <?php echo html::submitButton();?>
  56. <?php echo html::backButton();?>
  57. </td>
  58. </tr>
  59. </tfoot>
  60. </table>
  61. </form>
  62. </div>
  63. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>