m.confirmbug.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * The confirmBug mobile view file of bug 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 Yidong Wang <yidong@cnezsoft.com>
  8. * @package bug
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <div class='heading divider'>
  14. <span class='title'><strong><?php echo $lang->bug->confirmBug ?></strong> #<?php echo $bug->id ?></span>
  15. <nav class='nav'>
  16. <a data-dismiss='display'><i class='icon-remove muted'></i></a>
  17. </nav>
  18. </div>
  19. <form class='has-padding content' method='post' target='hiddenwin' action='<?php echo $this->createLink('bug', 'confirmBug', "id=$bug->id")?>' id='confirmBugForm' data-form-refresh='#page'>
  20. <div class='control'>
  21. <label for='assignedTo'><?php echo $lang->bug->assignedTo;?></label>
  22. <div class='select'><?php echo html::select('assignedTo', $users, $bug->assignedTo);?></div>
  23. </div>
  24. <div class="control">
  25. <label for='type'><?php echo $lang->bug->type;?></label>
  26. <div class='select'><?php echo html::select('type', $lang->bug->typeList, $bug->type);?></div>
  27. </div>
  28. <div class="control">
  29. <label for='pri'><?php echo $lang->bug->pri;?></label>
  30. <div class='select'><?php echo html::select('pri', $lang->bug->priList, $bug->pri);?></div>
  31. </div>
  32. <div class="control">
  33. <label for='mailto'><?php echo $lang->bug->mailto;?></label>
  34. <div class='select'><?php echo html::select('mailto[]', $users, str_replace(' ' , '', $bug->mailto), "multiple");?></div>
  35. </div>
  36. <div class='control'>
  37. <label for='comment'><?php echo $lang->story->comment;?></label>
  38. <?php echo html::textarea('comment', '', 'rows=2 class="textarea"');?></td>
  39. </div>
  40. </form>
  41. <div class='footer has-padding'>
  42. <button type='button' id='submitButton' class='btn primary'><?php echo $lang->save ?></button>
  43. </div>
  44. <script>
  45. $(function()
  46. {
  47. $('#submitButton').click(function(){$('#confirmBugForm').submit()});
  48. })
  49. </script>