blob: 39314784266d7c6ecd895f51f8906bca52fd0c6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{% extends '@Installation/layout.twig' %}
{% block content %}
<h2>{{ 'Installation_Welcome'|translate }}</h2>
{{ 'Installation_WelcomeHelp'|translate(totalNumberOfSteps)|raw }}
<script type="text/javascript">
<!--
$(function () {
// client-side test for broken tracker (e.g., mod_security rule)
$('.next-step').hide();
$.ajax({
url: 'piwik.php',
data: 'url=http://example.com',
complete: function () {
$('.next-step').show();
},
error: function (req) {
$('.next-step a').attr('href', $('.next-step a').attr('href') + '&trackerStatus=' + req.status);
}
});
});
//-->
</script>
{% if not showNextStep %}
<p class="next-step">
<a href="{{ url }}">{{ 'General_RefreshPage'|translate }} »</a>
</p>
{% endif %}
{% endblock %}
|