{% extends "@ContaoInstallation/layout.html.twig" %} {% trans_default_domain 'ContaoInstallationBundle' %} {% block main %} {% if optionKey is defined %}

{{ 'strict_sql_mode'|trans }}

{{ 'strict_sql_mode_explain'|trans|raw }}

doctrine:
    dbal:
        connections:
            default:
                options:
                    {{ optionKey }}: "SET SESSION sql_mode=(SELECT CONCAT(@@sql_mode, ',TRADITIONAL'))"
{% endif %}
{{ 'update_tables'|trans }}

{{ 'update_tables'|trans }}

{% if sql_form is empty %}

{{ 'update_tables_confirm'|trans }}

{% endif %}

{{ 'update_tables_explain'|trans|raw }}

{% if sql_message is not empty %}
{{ sql_message|raw }}
{% endif %} {% if sql_form is not empty %}
{% for category, commands in sql_form %} {% if commands is not empty %} {% for md5, command in commands %} {% endfor %} {% endif %} {% endfor %}
{{ category|trans }}
{% endif %}
{{ 'template_import'|trans }}

{{ 'template_import'|trans }}

{% if import_error is defined %}

{{ import_error|nl2br }}

{% elseif import_date is defined %}

{{ 'imported_on'|trans([import_date]) }}

{% else %}

{{ 'import_data_will_be_deleted'|trans }}

{% endif %}

{{ 'template_import_explain'|trans|raw }}

{% if not hide_admin %}
{{ 'admin_create'|trans }}

{{ 'admin_create'|trans }}

{% if admin_error is defined %}

{{ admin_error }}

{% elseif has_admin %}

{{ 'admin_confirm'|trans }}

{% endif %}

{{ 'admin_create_explain'|trans }}

{% if not has_admin %}

{% if admin_username_error is defined %}

{{ admin_username_error }}

{% endif %}

{% if admin_email_error is defined %}

{{ admin_email_error }}

{% endif %}

{% if admin_password_error is defined %}

{{ admin_password_error }}

{% endif %}
{% endif %}
{% if has_admin %}
{{ 'installation_complete'|trans }}

{{ 'congratulations'|trans }}

{{ 'congratulations_explain'|trans }}

{{ 'installation_complete_explain'|trans }}

{{ 'back_end'|trans }} ›

{% endif %} {% endif %} {% endblock %}