start.html.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * The start view file of marketresearch 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@easycorp.ltd>
  8. * @package marketresearch
  9. * @version $Id: start.html.php 4769 2023-09-06 07:24:21Z
  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 $research->id;?></strong></span>
  19. <?php echo isonlybody() ? ("<span title='$research->name'>" . $research->name . '</span>') : html::a($this->createLink('research', 'view', 'researchID=' . $research->id), $research->name, '_blank');?>
  20. <?php if(!isonlybody()):?>
  21. <small><?php echo $lang->arrow . $lang->marketresearch->start;?></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. <tr>
  29. <th class='w-100px'><?php echo $lang->project->realBegan;?></th>
  30. <td><?php echo html::input('realBegan', helper::today(), "class='form-control form-date' required");?></td>
  31. <td></td>
  32. </tr>
  33. <?php $this->printExtendFields($research, 'table', 'columns=3');?>
  34. <tr>
  35. <th class='w-40px'><?php echo $lang->comment;?></th>
  36. <td colspan='2'><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
  37. </tr>
  38. <tr>
  39. <td colspan='3' class='text-center form-actions'>
  40. <?php echo html::submitButton($lang->marketresearch->start);?>
  41. </td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </form>
  46. <hr class='small' />
  47. <div class='main'>
  48. <?php include $app->getModuleRoot() . 'common/view/action.html.php';?>
  49. </div>
  50. </div>
  51. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>