batchedit.html.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * The batchedit of meetingroom 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 Yuchun Li <liyuchun@cnezsoft.com>
  8. * @package meetingroom
  9. * @version $Id: batchedit.html.php 4903 2021-06-10 13:53:59Z lyc $
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <div id="mainContent" class="main-content fade">
  15. <div class="main-header">
  16. <h2><?php echo $lang->meetingroom->batchEdit;?></h2>
  17. </div>
  18. <form class="load-indicator main-form" target='hiddenwin' method='post' enctype='multipart/form-data' id='dataform'>
  19. <table class="table table-form">
  20. <thead>
  21. <tr>
  22. <th class='w-50px'><?php echo $lang->meetingroom->id;?></th>
  23. <th class='required'><?php echo $lang->meetingroom->name;?></th>
  24. <th class='w-160px required'><?php echo $lang->meetingroom->position;?></th>
  25. <th class='w-80px required'><?php echo $lang->meetingroom->seats;?></th>
  26. <th class='w-280px required'><?php echo $lang->meetingroom->equipment;?></th>
  27. <th class='w-280px required'><?php echo $lang->meetingroom->openTime;?></th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <?php foreach($rooms as $room):?>
  32. <tr>
  33. <?php echo html::hidden("roomIDList[$room->id]", $room->id);?>
  34. <td><?php echo $room->id;?></td>
  35. <td><?php echo html::input("name[$room->id]", $room->name, "class='form-control'");?></td>
  36. <td><?php echo html::input("position[$room->id]", $room->position, "class='form-control'");?></td>
  37. <td><?php echo html::input("seats[$room->id]", $room->seats, "class='form-control'");?></td>
  38. <td><?php echo html::select("equipment[$room->id][]", $lang->meetingroom->equipmentList, $room->equipment, "class='form-control chosen' multiple");?></td>
  39. <td><?php echo html::select("openTime[$room->id][]", $lang->meetingroom->openTimeList, $room->openTime, "class='form-control chosen' multiple");?></td>
  40. </tr>
  41. <?php endforeach;?>
  42. <tr>
  43. <td colspan='6' class='form-actions text-center'>
  44. <?php echo html::submitButton() . html::linkButton($lang->goback, $this->createLink('meetingroom', 'browse'), 'self', '', 'btn btn-wide');?>
  45. </td>
  46. </tr>
  47. </tbody>
  48. </table>
  49. </form>
  50. </div>
  51. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>