edit_server_php.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!-- Begin toolbar -->
  2. <div class="l-center edit">
  3. <div class="l-sort clearfix">
  4. <div class="l-unit-toolbar__buttonstrip">
  5. <a class="ui-button cancel" dir="ltr" id="btn-back" href="/list/server/"><i class="fas fa-arrow-left status-icon blue"></i><?=_('Back');?></a>
  6. </div>
  7. <div class="l-unit-toolbar__buttonstrip float-right">
  8. <a href="#" class="ui-button" data-action="submit" data-id="vstobjects"><i class="fas fa-save status-icon purple"></i><?=_('Save');?></a>
  9. </div>
  10. </div>
  11. </div>
  12. <!-- End toolbar -->
  13. <div class="l-separator"></div>
  14. <div class="l-center animated fadeIn">
  15. <form id="vstobjects" name="v_configure_server" method="post">
  16. <input type="hidden" name="token" value="<?=$_SESSION['token']?>">
  17. <input type="hidden" name="save" value="save">
  18. <table class="data">
  19. <tr class="data-add">
  20. <td class="data-dotted">
  21. <table class="data-col1">
  22. <tr>
  23. <td></td>
  24. </tr>
  25. </table>
  26. </td>
  27. <td class="data-dotted">
  28. <table class="data-col2" width="600px" id="basic-options">
  29. <tr>
  30. <td class="u-pt18">
  31. <span class="page-title"><?=_('Configuring Server');?>: PHP</span>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td>
  36. <?php show_error_panel($_SESSION);?>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td class="u-pt18">
  41. <label for="v_max_execution_time" class="form-label">max_execution_time</label>
  42. <input type="text" class="form-control u-input-width" regexp="max_execution_time" prev_value="<?=htmlentities($v_max_execution_time)?>" name="v_max_execution_time" id="v_max_execution_time" value="<?=htmlentities($v_max_execution_time)?>">
  43. </td>
  44. </tr>
  45. <tr>
  46. <td class="u-pt18">
  47. <label for="v_worker_connections" class="form-label">max_input_time</label>
  48. <input type="text" class="form-control u-input-width" regexp="max_input_time" prev_value="<?=htmlentities($v_max_input_time)?>" name="v_worker_connections" id="v_worker_connections" value="<?=htmlentities($v_max_input_time)?>">
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class="u-pt18">
  53. <label for="v_memory_limit" class="form-label">memory_limit</label>
  54. <input type="text" class="form-control u-input-width" regexp="memory_limit" prev_value="<?=htmlentities($v_memory_limit)?>" name="v_memory_limit" id="v_memory_limit" value="<?=htmlentities($v_memory_limit)?>">
  55. </td>
  56. </tr>
  57. <tr>
  58. <td class="u-pt18">
  59. <label for="v_error_reporting" class="form-label">error_reporting</label>
  60. <input type="text" class="form-control u-input-width" regexp="error_reporting" prev_value="<?=htmlentities($v_error_reporting)?>" name="v_error_reporting" id="v_error_reporting" value="<?=htmlentities($v_error_reporting)?>">
  61. </td>
  62. </tr>
  63. <tr>
  64. <td class="u-pt18">
  65. <label for="v_display_errors" class="form-label">display_errors</label>
  66. <input type="text" class="form-control u-input-width" regexp="display_errors" prev_value="<?=htmlentities($v_display_errors)?>" name="v_display_errors" id="v_display_errors" value="<?=htmlentities($v_display_errors)?>">
  67. </td>
  68. </tr>
  69. <tr>
  70. <td class="u-pt18">
  71. <label for="v_post_max_size" class="form-label">post_max_size</label>
  72. <input type="text" class="form-control u-input-width" regexp="post_max_size" prev_value="<?=htmlentities($v_post_max_size)?>" name="v_post_max_size" id="v_post_max_size" value="<?=htmlentities($v_post_max_size)?>">
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="u-pt18">
  77. <label for="v_upload_max_filesize" class="form-label">upload_max_filesize</label>
  78. <input type="text" class="form-control u-input-width u-mb20" regexp="upload_max_filesize" prev_value="<?=htmlentities($v_upload_max_filesize)?>" name="v_upload_max_filesize" id="v_upload_max_filesize" value="<?=htmlentities($v_upload_max_filesize)?>">
  79. </td>
  80. </tr>
  81. <tr>
  82. <td class="u-pt6">
  83. <a href="javascript:toggleOptions();" class="vst-advanced"><?=_('Advanced options');?></a>
  84. </td>
  85. </tr>
  86. </table>
  87. <table class="data-col2" width="600px" style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advanced-options">
  88. <tr>
  89. <td class="u-pt6">
  90. <a href="javascript:toggleOptions();" class="vst-advanced"><?=_('Basic options');?></a>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td class="u-pt18">
  95. <label for="v_config" class="form-label"><?=$v_config_path;?></label>
  96. <textarea class="form-control u-min-height300 u-console" name="v_config" id="v_config"><?=$v_config;?></textarea>
  97. </td>
  98. </tr>
  99. <td class="u-pt6" style="text-transform: capitalize;">
  100. <div class="form-check">
  101. <input class="form-check-input" type="checkbox" name="v_restart" id="v_restart" checked>
  102. <label for="v_restart">
  103. <?=_('restart');?>
  104. </label>
  105. </div>
  106. </td>
  107. </table>
  108. <table class="data-col2"></table>
  109. </td>
  110. </tr>
  111. </table>
  112. </form>
  113. </div>