finish.html.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * The finish file of execution 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 Chunsheng Wang<wwccss@gmail.com>
  8. * @package execution
  9. * @version $Id: finish.html.php 935 2013-01-16 07:49:24Z wwccss@gmail.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. <div id='mainContent' class='main-content'>
  16. <div class='main-header'>
  17. <h2>
  18. <span class='prefix label-id'><strong><?php echo $execution->id;?></strong></span>
  19. <?php echo isonlybody() ? ("<span title='$execution->name'>" . $execution->name . '</span>') : html::a($this->createLink('execution', 'view', 'executionID=' . $execution->id), $execution->name, '_blank');?>
  20. <?php if(!isonlybody()):?>
  21. <small><?php echo $lang->arrow . $lang->execution->finish;?></small>
  22. <?php endif;?>
  23. </h2>
  24. </div>
  25. <form class='load-indicator main-form' method='post' target='hiddenwin'>
  26. <table class='table table-form'>
  27. <tbody>
  28. <?php $this->printExtendFields($execution, 'table', 'columns=2');?>
  29. <tr>
  30. <th class='w-40px'><?php echo $lang->comment;?></th>
  31. <td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
  32. </tr>
  33. <tr>
  34. <td colspan='2' class='text-center form-actions'><?php echo html::submitButton($lang->execution->finish) . ' ' . html::linkButton($lang->goback, $this->session->taskList, 'self', '', 'btn btn-wide'); ?></td>
  35. </tr>
  36. </tbody>
  37. </table>
  38. </form>
  39. <hr class='small' />
  40. <div class='main'>
  41. <?php include $app->getModuleRoot() . 'common/view/action.html.php';?>
  42. </div>
  43. </div>
  44. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>