assignto.html.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * The complete file of task 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 Jia Fu <fujia@cnezsoft.com>
  8. * @package task
  9. * @version $Id: complete.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php
  14. include $app->getModuleRoot() . 'common/view/header.html.php';
  15. include $app->getModuleRoot() . 'common/view/kindeditor.html.php';
  16. ?>
  17. <div id='mainContent' class='main-content'>
  18. <div class='center-block'>
  19. <div class='main-header'>
  20. <h2>
  21. <span class='label label-id'><?php echo $feedback->id;?></span>
  22. <?php echo isonlybody() ? ('<span title="' . $feedback->title . '">' . $feedback->title . '</span>') : html::a($this->createLink('feedback', 'view', 'feedback=' . $feedback->id), $feedback->title);?>
  23. <?php if(!isonlybody()):?>
  24. <small><?php echo $lang->arrow . $lang->feedback->assign;?></small>
  25. <?php endif;?>
  26. </h2>
  27. </div>
  28. <form method='post' target='hiddenwin'>
  29. <table class='table table-form'>
  30. <tr>
  31. <th class='w-80px'><?php echo $lang->feedback->assignedTo;?></th>
  32. <td class='w-p25-f'><?php echo html::select('assignedTo', $users, $feedback->assignedTo, "class='form-control chosen'");?></td><td></td>
  33. </tr>
  34. <tr class='hide'>
  35. <th><?php echo $lang->feedback->status;?></th>
  36. <td><?php echo html::hidden('status', $feedback->status);?></td>
  37. </tr>
  38. <?php $this->printExtendFields($feedback, 'table');?>
  39. <tr>
  40. <th><?php echo $lang->feedback->mailto;?></th>
  41. <td colspan='2'>
  42. <div class="input-group">
  43. <?php echo html::select('mailto[]', $users, str_replace(' ', '', $feedback->mailto), 'class="form-control chosen" multiple');?>
  44. <?php echo $this->fetch('my', 'buildContactLists');?>
  45. </div>
  46. </td>
  47. </tr>
  48. <tr>
  49. <th><?php echo $lang->comment;?></th>
  50. <td colspan='2'><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
  51. </tr>
  52. <tr>
  53. <td colspan='3' class='text-center form-actions'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->server->http_referer, 'self', '', 'btn btn-wide');?></td>
  54. </tr>
  55. </table>
  56. </form>
  57. <hr class='small' />
  58. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  59. </div>
  60. </div>
  61. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>