retract.html.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /**
  3. * The retract view file of demand 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 Deqing Chai <chaideqing@cnezsoft.com>
  8. * @package story
  9. * @version $Id: close.html.php 4129 2013-01-18 01:58:14Z wwccss $
  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='center-block'>
  17. <div class='main-header'>
  18. <h2>
  19. <span class='label label-id'><?php echo $story->id;?></span>
  20. <?php echo isonlybody() ? ("<span title='$story->title'>" . $story->title . '</span>') : html::a($this->createLink('story', 'view', "storyID=$story->id"), $story->title);?>
  21. <?php if(!isonlybody()):?>
  22. <small><?php echo $lang->arrow . $lang->demand->retract;?></small>
  23. <?php endif;?>
  24. </h2>
  25. </div>
  26. <form class="load-indicator main-form" method='post' target='hiddenwin' enctype='multipart/form-data' id='dataform'>
  27. <table class='table table-form'>
  28. <tr>
  29. <th class='thWidth'><?php echo $lang->demand->retractedReason;?></th>
  30. <td class='w-p25-f required'><?php echo html::select('retractedReason', $lang->demand->retractedReasonList, '', 'class="form-control"');?></td>
  31. <td>&nbsp;&nbsp;
  32. <i class="icon icon-exclamation text-warning"></i>
  33. &nbsp;<?php echo $lang->demand->retractedReasonTips;?>
  34. </td>
  35. </tr>
  36. <tr class='hide'>
  37. <th><?php echo $lang->story->status;?></th>
  38. <td><?php echo html::hidden('status', 'closed');?></td>
  39. </tr>
  40. <?php $this->printExtendFields($story, 'table');?>
  41. <tr>
  42. <th><?php echo $lang->story->comment;?></th>
  43. <td colspan='2'><?php echo html::textarea('comment', '', "rows='8' class='form-control'");?></td>
  44. </tr>
  45. <tr>
  46. <th><?php echo $lang->story->checkAffection;?></th>
  47. <td colspan='2'><?php include './affected.html.php';?></td>
  48. </tr>
  49. <tr>
  50. <td colspan='3' class='text-center form-actions'>
  51. <?php echo html::submitButton();?>
  52. </td>
  53. </tr>
  54. </table>
  55. </form>
  56. <hr class='small' />
  57. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  58. </div>
  59. </div>
  60. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>