| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <!-- Begin toolbar -->
- <div class="toolbar">
- <div class="toolbar-inner">
- <div class="toolbar-buttons">
- <a class="button button-secondary" id="btn-back" href="/list/server/">
- <i class="fas fa-arrow-left status-icon blue"></i><?=_('Back');?>
- </a>
- </div>
- <div class="toolbar-buttons">
- <button class="button" type="submit" form="vstobjects">
- <i class="fas fa-floppy-disk status-icon purple"></i><?=_('Save');?>
- </button>
- </div>
- </div>
- </div>
- <!-- End toolbar -->
- <div class="container animate__animated animate__fadeIn">
- <form id="vstobjects" name="v_configure_server" method="post">
- <input type="hidden" name="token" value="<?=$_SESSION['token']?>">
- <input type="hidden" name="save" value="save">
- <div class="form-container">
- <h1 class="form-title"><?=_('Configuring Server');?>: PHP</h1>
- <?php show_alert_message($_SESSION);?>
- <div id="basic-options">
- <div class="u-mb10">
- <label for="v_max_execution_time" class="form-label">max_execution_time</label>
- <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)?>">
- </div>
- <div class="u-mb10">
- <label for="v_worker_connections" class="form-label">max_input_time</label>
- <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)?>">
- </div>
- <div class="u-mb10">
- <label for="v_memory_limit" class="form-label">memory_limit</label>
- <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)?>">
- </div>
- <div class="u-mb10">
- <label for="v_error_reporting" class="form-label">error_reporting</label>
- <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)?>">
- </div>
- <div class="u-mb10">
- <label for="v_display_errors" class="form-label">display_errors</label>
- <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)?>">
- </div>
- <div class="u-mb10">
- <label for="v_post_max_size" class="form-label">post_max_size</label>
- <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)?>">
- </div>
- <div class="u-mb20">
- <label for="v_upload_max_filesize" class="form-label">upload_max_filesize</label>
- <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)?>">
- </div>
- <div class="u-mb20">
- <a href="javascript:toggleOptions();" class="button button-secondary"><?=_('Advanced options');?></a>
- </div>
- </div>
- <div id="advanced-options" style="display:<?php if (empty($v_adv)) echo 'none';?> ;">
- <div class="u-mb20">
- <a href="javascript:toggleOptions();" class="button button-secondary"><?=_('Basic options');?></a>
- </div>
- <div class="u-mb20">
- <label for="v_config" class="form-label"><?=$v_config_path;?></label>
- <textarea class="form-control u-min-height600 u-allow-resize u-console" name="v_config" id="v_config"><?=$v_config;?></textarea>
- </div>
- <div class="form-check">
- <input class="form-check-input" type="checkbox" name="v_restart" id="v_restart" checked>
- <label for="v_restart">
- <?=_('restart');?>
- </label>
- </div>
- </div>
- </div>
- </form>
- </div>
|