questlab/www/analytics/plugins/Installation/templates/systemCheck.twig
2016-04-10 18:55:57 +02:00

31 lines
1 KiB
Twig

{% extends '@Installation/layout.twig' %}
{% block content %}
<script type="text/javascript">
$(function () {
// client-side test for https to handle the case where the server is behind a reverse proxy
if (document.location.protocol === 'https:') {
$('p.next-step a').attr('href', $('p.next-step a').attr('href') + '&clientProtocol=https');
}
});
</script>
{% if not showNextStep %}
{% include "@Installation/_systemCheckLegend.twig" %}
<br style="clear:both;">
{% endif %}
<h2>{{ 'Installation_SystemCheck'|translate }}</h2>
{% include "@Installation/_systemCheckSection.twig" %}
{% if not showNextStep %}
<p>
<span class="icon-export"></span>
<a href="?module=Proxy&action=redirect&url=http://piwik.org/docs/requirements/" target="_blank">{{ 'Installation_Requirements'|translate }}</a>
</p>
{% include "@Installation/_systemCheckLegend.twig" %}
{% endif %}
{% endblock %}