gl-website-deployer/admin/phpMyAdmin/templates/setup/config/index.twig
2024-11-19 08:02:04 +01:00

27 lines
910 B
Twig

{% extends 'setup/base.twig' %}
{% block content %}
<h2>{% trans 'Configuration file' %}</h2>
<div class="card">
<h5 class="card-header">config.inc.php</h5>
<div class="card-body">
<form id="configFileForm" method="post" action="config.php">
{% if has_check_page_refresh %}
<input type="hidden" name="check_page_refresh" id="check_page_refresh" value="">
{% endif %}
{{ get_hidden_inputs('', '', 0, 'server') }}
<input type="hidden" name="eol" value="{{ eol }}">
<textarea class="form-control font-monospace" rows="20" name="textconfig" spellcheck="false" aria-label="{% trans 'Generated configuration file' %}">
{{- config -}}
</textarea>
</form>
</div>
<div class="card-footer">
<input class="btn btn-primary" type="submit" form="configFileForm" name="submit_download" value="{% trans 'Download' %}">
</div>
</div>
{% endblock %}