comment.html.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * The comment view file 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$
  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. <div id='mainContent' class='main-content'>
  16. <div class='main-header'>
  17. <h2><?php echo $title;?></h2>
  18. </div>
  19. <form method='post' target='hiddenwin' enctype='multipart/form-data'>
  20. <table class='table table-form'>
  21. <?php if($type == 'replied'):?>
  22. <tr>
  23. <th><?php echo $lang->feedback->faq;?></th>
  24. <td><?php echo html::select('faq', $faqs, '', "class='form-control chosen'");?></td>
  25. </tr>
  26. <?php endif;?>
  27. <tr class='hide'>
  28. <th><?php echo $lang->feedback->status;?></th>
  29. <td><?php echo html::hidden('status', $type);?></td>
  30. </tr>
  31. <?php $this->printExtendFields($feedback, 'table', '', '', $app->rawModule, $app->rawMethod);?>
  32. <tr>
  33. <th><?php echo $title;?></th>
  34. <td colspan='2'><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td>
  35. </tr>
  36. <?php if($type == 'asked'):?>
  37. <tr>
  38. <th><?php echo $lang->feedback->files;?></th>
  39. <td colspan='2'><?php echo $this->fetch('file', 'buildoldform');?></td>
  40. </tr>
  41. <?php endif;?>
  42. <tr>
  43. <td colspan='3' class='text-center form-actions'>
  44. <?php echo html::submitButton();?>
  45. </td>
  46. </tr>
  47. </table>
  48. </form>
  49. </div>
  50. <?php include $app->getModuleRoot() . 'common/view/footer.lite.html.php';?>