import.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /**
  3. * The import file of kanban module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2022 禅道软件(青岛)有限公司(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 Fangzhou Hu <hufangzhou@easycorp.ltd>
  8. * @package kanban
  9. * @version $Id: import.html.php 935 2022-01-19 14:15:24Z hufangzhou@easycorp.ltd $
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.lite.html.php';?>
  14. <?php js::set('enableImport', $enableImport);?>
  15. <?php js::set('vision', $this->config->vision);?>
  16. <div id='mainContent' class='main-content'>
  17. <div class='center-block'>
  18. <div class='main-header'>
  19. <h2>
  20. <?php echo "<span>" . $lang->kanban->import . '</span>';?>
  21. </h2>
  22. </div>
  23. <form method='post' class="load-indicator main-form form-ajax" target='hiddenwin' id='importForm'>
  24. <table align='center' class='table table-form'>
  25. <tr>
  26. <td colspan='2'>
  27. <label class="radio-inline">
  28. <input type='radio' name='import' value='off' <?php echo $enableImport == 'off' ? "checked='checked'" : ''; ?> id='importoff'/>
  29. <?php echo $lang->kanban->importList['off'];?>
  30. </label>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td colspan='2'>
  35. <label class="radio-inline">
  36. <input type='radio' name='import' value='on' <?php echo $enableImport == 'on' ? "checked='checked'" : ''; ?> id='importon'/>
  37. <?php echo $lang->kanban->importCards;?>
  38. <input type='hidden' name='importObjectList[]' value='cards'/>
  39. </label>
  40. </td>
  41. </tr>
  42. <tr id='emptyTip' class='hidden'><td colspan='3' style='color: red;'><?php echo $lang->kanban->error->importObjNotEmpty;?></td></tr>
  43. <tr>
  44. <td class='form-actions'><?php echo html::submitButton();?></td>
  45. </tr>
  46. </table>
  47. </form>
  48. </div>
  49. </div>
  50. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>