assignto.html.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * The complete file of ticket 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 ticket
  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 $ticket->id;?></span>
  22. <?php echo isonlybody() ? ('<span title="' . $ticket->title . '">' . $ticket->title . '</span>') : html::a($this->createLink('ticket', 'view', 'ticket=' . $ticket->id), $ticket->title);?>
  23. <?php if(!isonlybody()):?>
  24. <small><?php echo $lang->arrow . $lang->ticket->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->ticket->assignedTo;?></th>
  32. <td class='w-p25-f'><?php echo html::select('assignedTo', $users, $ticket->assignedTo, "class='form-control chosen'");?></td><td></td>
  33. </tr>
  34. <tr>
  35. <th><?php echo $lang->ticket->left;?></th>
  36. <td><div class='input-group'><?php echo html::input('left', $ticket->left, "class='form-control'");?> <span class='input-group-addon'><?php echo $lang->ticket->hour;?></span></div></td><td></td>
  37. </tr>
  38. <?php $this->printExtendFields($ticket, 'table');?>
  39. <tr>
  40. <th><?php echo $lang->comment;?></th>
  41. <td colspan='2'><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
  42. </tr>
  43. <tr>
  44. <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>
  45. </tr>
  46. </table>
  47. </form>
  48. <hr class='small' />
  49. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  50. </div>
  51. </div>
  52. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>