edit_server_dovecot.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!-- Begin toolbar -->
  2. <div class="toolbar">
  3. <div class="toolbar-inner">
  4. <div class="toolbar-buttons">
  5. <a class="button button-secondary button-back js-button-back" href="/list/server/">
  6. <i class="fas fa-arrow-left icon-blue"></i><?= tohtml( _("Back")) ?>
  7. </a>
  8. </div>
  9. <div class="toolbar-buttons">
  10. <button type="submit" class="button" form="main-form">
  11. <i class="fas fa-floppy-disk icon-purple"></i><?= tohtml( _("Save")) ?>
  12. </button>
  13. </div>
  14. </div>
  15. </div>
  16. <!-- End toolbar -->
  17. <div class="container">
  18. <form id="main-form" name="v_configure_server" method="post">
  19. <input type="hidden" name="token" value="<?= tohtml($_SESSION["token"]) ?>">
  20. <input type="hidden" name="save" value="save">
  21. <div class="form-container">
  22. <h1 class="u-mb20"><?= tohtml( _("Configure Server")) ?>: <?= tohtml($v_service_name) ?></h1>
  23. <?php show_alert_message($_SESSION); ?>
  24. <div class="u-mb20">
  25. <label for="v_config" class="form-label"><?= tohtml($v_config_path) ?></label>
  26. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config" id="v_config"><?= tohtml($v_config) ?></textarea>
  27. </div>
  28. <?php if (!empty($v_config_path1)) { ?>
  29. <div class="u-mb20">
  30. <label for="v_config1" class="form-label"><?= tohtml($v_config_path1) ?></label>
  31. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config1" id="v_config1"><?= tohtml($v_config1) ?></textarea>
  32. </div>
  33. <div class="u-mb20">
  34. <label for="v_config2" class="form-label"><?= tohtml($v_config_path2) ?></label>
  35. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config2" id="v_config2"><?= tohtml($v_config2) ?></textarea>
  36. </div>
  37. <div class="u-mb20">
  38. <label for="v_config3" class="form-label"><?= tohtml($v_config_path3) ?></label>
  39. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config3" id="v_config3"><?= tohtml($v_config3) ?></textarea>
  40. </div>
  41. <div class="u-mb20">
  42. <label for="v_config4" class="form-label"><?= tohtml($v_config_path4) ?></label>
  43. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config4" id="v_config4"><?= tohtml($v_config4) ?></textarea>
  44. </div>
  45. <div class="u-mb20">
  46. <label for="v_config5" class="form-label"><?= tohtml($v_config_path5) ?></label>
  47. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config5" id="v_config5"><?= tohtml($v_config5) ?></textarea>
  48. </div>
  49. <div class="u-mb20">
  50. <label for="v_config6" class="form-label"><?= tohtml($v_config_path6) ?></label>
  51. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config6" id="v_config6"><?= tohtml($v_config6) ?></textarea>
  52. </div>
  53. <div class="u-mb20">
  54. <label for="v_config7" class="form-label"><?= tohtml($v_config_path7) ?></label>
  55. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config7" id="v_config7"><?= tohtml($v_config7) ?></textarea>
  56. </div>
  57. <div class="u-mb20">
  58. <label for="v_config8" class="form-label"><?= tohtml($v_config_path8) ?></label>
  59. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config8" id="v_config8"><?= tohtml($v_config8) ?></textarea>
  60. </div>
  61. <?php } ?>
  62. <div class="form-check">
  63. <input class="form-check-input" type="checkbox" name="v_restart" id="v_restart" checked>
  64. <label for="v_restart">
  65. <?= tohtml( _("Restart")) ?>
  66. </label>
  67. </div>
  68. </div>
  69. </form>
  70. </div>