start.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 $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-90px'><?php echo $lang->ticket->assignedTo;?></th>
  32. <td class='w-p25-f'><?php echo html::select('assignedTo', $users, $assignedTo, "class='form-control chosen'");?></td><td></td>
  33. </tr>
  34. <?php $this->printExtendFields($ticket, 'table');?>
  35. <tr>
  36. <th><?php echo $lang->comment;?></th>
  37. <td colspan='2'><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
  38. </tr>
  39. <tr>
  40. <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>
  41. </tr>
  42. </table>
  43. </form>
  44. <hr class='small' />
  45. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  46. </div>
  47. </div>
  48. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>