mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
81 lines
2.6 KiB
Twig
81 lines
2.6 KiB
Twig
|
|
|
|
{# This file MUST NOT CONTAINS trans tag #}
|
|
|
|
{% extends '/setup/wrapper.html.twig' %}
|
|
|
|
{% macro constraint_format(constraint) %}
|
|
{% if not constraint.is_ok() %}
|
|
<li class="{% if not constraint.is_ok() %}{% if not constraint.is_blocker %}non-{% endif %}blocker{% else %}good-enough{% endif %}">
|
|
{{ constraint.get_message() }}
|
|
</li>
|
|
{% endif %}
|
|
{% endmacro %}
|
|
|
|
{% block content %}
|
|
<div class="steps" style="min-height:450px;">
|
|
<h2>
|
|
INSTALL
|
|
</h2>
|
|
<p>
|
|
You MUST resolve these problems to continue
|
|
</p>
|
|
<table style="width:100%;">
|
|
<tr>
|
|
<td>
|
|
{% if php_constraints is defined %}
|
|
<h2>PHP Version</h2>
|
|
<ul class="setup">
|
|
{%for constraint in php_constraints %}
|
|
{{ _self.constraint_format(constraint) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% if writability_constraints is defined %}
|
|
<h2>Filesystem configuration</h2>
|
|
<ul class="setup">
|
|
{%for constraint in writability_constraints %}
|
|
{{ _self.constraint_format(constraint) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% if extension_constraints is defined %}
|
|
<h3>PHP extensions</h3>
|
|
<ul class="setup">
|
|
{%for constraint in extension_constraints %}
|
|
{{ _self.constraint_format(constraint) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if opcode_constraints is defined %}
|
|
<h2>PHP Cache System</h2>
|
|
<ul class="setup">
|
|
{%for constraint in opcode_constraints %}
|
|
{{ _self.constraint_format(constraint) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% if php_conf_constraints is defined %}
|
|
<h2>PHP configuration</h2>
|
|
<ul class="setup">
|
|
{%for constraint in php_conf_constraints %}
|
|
{{ _self.constraint_format(constraint) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% if locales_constraints is defined %}
|
|
<h2>Locales Support</h2>
|
|
<ul class="setup">
|
|
{%for constraint in locales_constraints %}
|
|
{{ _self.constraint_format(constraint) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{% endblock %}
|