activate.html.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * The activate 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: start.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  15. <?php include $app->getModuleRoot() . 'common/view/sortable.html.php';?>
  16. <div id='mainContent' class='main-content'>
  17. <div class='center-block'>
  18. <div class='main-header'>
  19. <h2>
  20. <span class='label label-id'><?php echo $ticket->id;?></span>
  21. <?php echo isonlybody() ? ("<span title='$ticket->title'>" . $ticket->title . '</span>') : html::a($this->createLink('ticket', 'view', 'ticketID=' . $ticket->id), $ticket->title);?>
  22. <?php if(!isonlybody()):?>
  23. <small> <?php echo $lang->arrow . $lang->ticket->activate;?></small>
  24. <?php endif;?>
  25. </h2>
  26. </div>
  27. <form method='post' enctype='multipart/form-data' target='hiddenwin'>
  28. <table class='table table-form'>
  29. <tr>
  30. <th class='thWidth'><?php echo $lang->ticket->assignedTo;?></th>
  31. <td class='w-p35-f'>
  32. <div class="input-group">
  33. <?php echo html::select('assignedTo', $users, $assignedTo, "class='form-control chosen'");?>
  34. </div>
  35. </td>
  36. </tr>
  37. <?php $this->printExtendFields($ticket, 'table');?>
  38. <tr>
  39. <th><?php echo $lang->comment?></th>
  40. <td colspan='3'><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td>
  41. </tr>
  42. <tr>
  43. <td colspan='3' class='text-center form-actions'>
  44. <?php echo html::submitButton($lang->ticket->activate);?>
  45. </td>
  46. </tr>
  47. </table>
  48. </form>
  49. <hr class='small' />
  50. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  51. </div>
  52. </div>
  53. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>