editstory.html.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * The edit view file of story module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2021 禅道软件(青岛)有限公司(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 Qiyu Xie <xieqiyu@cnezsoft.com>
  8. * @package assetlib
  9. * @version $Id: editstory.html.php 4645 2013-04-11 08:32:09Z
  10. * @link https://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 class='main-content' id='mainContent'>
  16. <div class="center-block">
  17. <div class='main-header'>
  18. <h2><?php echo $lang->assetlib->editStory;?></h2>
  19. </div>
  20. <form method='post' class="main-form form-ajax" enctype='multipart/form-data' id='storyform'>
  21. <table class='table table-form'>
  22. <tbody>
  23. <tr>
  24. <th><?php echo $lang->story->name;?></th>
  25. <td><?php echo html::input('title', $story->title, "class='form-control' required");?></td>
  26. <td></td>
  27. <td></td>
  28. </tr>
  29. <tr>
  30. <th><?php echo $lang->story->pri;?></th>
  31. <td><?php echo html::select('pri', $lang->story->priList, $story->pri, "class='form-control chosen'");?></td>
  32. </tr>
  33. <tr>
  34. <th><?php echo $lang->story->estimate;?></th>
  35. <td><?php echo html::input('estimate', $story->estimate, "class='form-control'");?></td>
  36. </tr>
  37. <tr>
  38. <th><?php echo $lang->story->keywords;?></th>
  39. <td><?php echo html::input('keywords', $story->keywords, "class='form-control'");?></td>
  40. </tr>
  41. <tr>
  42. <th><?php echo $lang->story->spec;?></th>
  43. <td colspan="2"><?php echo html::textarea('spec', $story->spec, 'row="6"');?></td>
  44. </tr>
  45. <tr>
  46. <th><?php echo $lang->story->verify;?></th>
  47. <td colspan="2"><?php echo html::textarea('verify', $story->verify, 'row="6"');?></td>
  48. </tr>
  49. <tr>
  50. <td colspan='3' class='text-center form-actions'><?php echo html::submitButton() . html::backButton();?></td>
  51. </tr>
  52. </tbody>
  53. </table>
  54. </form>
  55. </div>
  56. </div>
  57. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>