edit_server_php.html 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!-- Begin toolbar -->
  2. <div class="l-center">
  3. <div class="l-sort">
  4. <div class="l-unit-toolbar__buttonstrip">
  5. <a class="button button-secondary" 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">
  8. <a href="#" class="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. <div class="form-container">
  19. <h1 class="form-title"><?=_('Configuring Server');?>: PHP</h1>
  20. <?php show_alert_message($_SESSION);?>
  21. <div id="basic-options" class="u-input-width">
  22. <div class="u-mb10">
  23. <label for="v_max_execution_time" class="form-label">max_execution_time</label>
  24. <input type="text" class="form-control" 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)?>">
  25. </div>
  26. <div class="u-mb10">
  27. <label for="v_worker_connections" class="form-label">max_input_time</label>
  28. <input type="text" class="form-control" 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)?>">
  29. </div>
  30. <div class="u-mb10">
  31. <label for="v_memory_limit" class="form-label">memory_limit</label>
  32. <input type="text" class="form-control" regexp="memory_limit" prev_value="<?=htmlentities($v_memory_limit)?>" name="v_memory_limit" id="v_memory_limit" value="<?=htmlentities($v_memory_limit)?>">
  33. </div>
  34. <div class="u-mb10">
  35. <label for="v_error_reporting" class="form-label">error_reporting</label>
  36. <input type="text" class="form-control" regexp="error_reporting" prev_value="<?=htmlentities($v_error_reporting)?>" name="v_error_reporting" id="v_error_reporting" value="<?=htmlentities($v_error_reporting)?>">
  37. </div>
  38. <div class="u-mb10">
  39. <label for="v_display_errors" class="form-label">display_errors</label>
  40. <input type="text" class="form-control" regexp="display_errors" prev_value="<?=htmlentities($v_display_errors)?>" name="v_display_errors" id="v_display_errors" value="<?=htmlentities($v_display_errors)?>">
  41. </div>
  42. <div class="u-mb10">
  43. <label for="v_post_max_size" class="form-label">post_max_size</label>
  44. <input type="text" class="form-control" 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)?>">
  45. </div>
  46. <div class="u-mb20">
  47. <label for="v_upload_max_filesize" class="form-label">upload_max_filesize</label>
  48. <input type="text" class="form-control" 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)?>">
  49. </div>
  50. <div class="u-mb20">
  51. <a href="javascript:toggleOptions();" class="button button-secondary"><?=_('Advanced options');?></a>
  52. </div>
  53. </div>
  54. <div id="advanced-options" class="u-wide-input-width" style="display:<?php if (empty($v_adv)) echo 'none';?> ;">
  55. <div class="u-mb20">
  56. <a href="javascript:toggleOptions();" class="button button-secondary"><?=_('Basic options');?></a>
  57. </div>
  58. <div class="u-mb20">
  59. <label for="v_config" class="form-label"><?=$v_config_path;?></label>
  60. <textarea class="form-control u-min-height300 u-console" name="v_config" id="v_config"><?=$v_config;?></textarea>
  61. </div>
  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. <?=_('restart');?>
  66. </label>
  67. </div>
  68. </div>
  69. </div>
  70. </form>
  71. </div>