edit_server_bind9.html 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <div class="l-center edit">
  2. <div class="l-sort clearfix">
  3. <div class="l-sort-toolbar clearfix float-left subtitle">
  4. <table class="width-100p">
  5. <tbody><tr>
  6. <td>
  7. <span class="vst selected"><?=__('Configuring Server')?> / <?php print $v_service_name ?></span>
  8. </td>
  9. <?php
  10. if (!empty($_SESSION['error_msg'])) {
  11. echo "<td><span class=\"vst-error\"> → ".htmlentities($_SESSION['error_msg'])."</span></td>";
  12. } else {
  13. if (!empty($_SESSION['ok_msg'])) {
  14. echo "<td><span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span></td>";
  15. }
  16. }
  17. ?>
  18. </td>
  19. </tr>
  20. </tbody>
  21. </table>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="l-separator"></div>
  26. <!-- /.l-separator -->
  27. <div class="l-center">
  28. <?php
  29. $back = $_SESSION['back'];
  30. if (empty($back)) {
  31. $back = "location.href='/list/server/'";
  32. } else {
  33. $back = "location.href='".$back."'";
  34. }
  35. ?>
  36. <form id="vstobjects" name="v_configure_server" method="post">
  37. <input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
  38. <input type="hidden" name="save" value="save" />
  39. <table class="data mode-add">
  40. <tr class="data-add">
  41. <td class="data-dotted">
  42. <table class="data-col1">
  43. <tr><td></td></tr>
  44. </table>
  45. </td>
  46. <td>
  47. <table class="data-col2" width="600px">
  48. <tr>
  49. <td class="vst-text step-top">
  50. <?php print $v_options_path ?>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td>
  55. <textarea class="vst-textinput console" name="v_options"><?=$v_options?></textarea>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="vst-text step-top">
  60. <?=$v_config_path?>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td>
  65. <textarea class="vst-textinput console" name="v_config"><?=$v_config?></textarea>
  66. </td>
  67. </tr>
  68. <td class="vst-text input-label" style="text-transform: capitalize;">
  69. <label><input type="checkbox" size="20" class="vst-checkbox" name="v_restart" checked="yes"> <?php print __('restart');?></label>
  70. </td>
  71. </table>
  72. <table class="data-col2">
  73. <tr>
  74. <td class="step-top" width="116px">
  75. <input type="submit" class="button" name="save" value="<?=__('Save')?>">
  76. </td>
  77. <td class="step-top">
  78. <input type="button" class="button cancel" value="<?=__('Back')?>" onclick="<?=$back?>">
  79. </td>
  80. </tr>
  81. </table>
  82. </td>
  83. </tr>
  84. </table>
  85. </form>
  86. </div>