blob: 526f04452f79dfb8eb86f087552b56bc91ff58f7 (
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
35
36
37
38
39
40
41
42
43
|
<h2>{'Installation_Welcome'|translate}</h2>
{if $newInstall}
{'Installation_WelcomeHelp'|translate:$totalNumberOfSteps}
{else}
<p>{'Installation_ConfigurationHelp'|translate}</p>
<br />
<div class="error">
{$errorMessage}
</div>
{/if}
{literal}
<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.nextStep a').attr('href', $('p.nextStep a').attr('href') + '&clientProtocol=https');
}
// client-side test for broken tracker (e.g., mod_security rule)
$('p.nextStep').hide();
$.ajax({
url: 'piwik.php',
data: 'url=http://example.com',
complete: function() {
$('p.nextStep').show();
},
error: function(req) {
$('p.nextStep a').attr('href', $('p.nextStep a').attr('href') + '&trackerStatus=' + req.status);
}
});
});
//-->
</script>
{/literal}
{if !$showNextStep}
<p class="nextStep">
<a href="{url}">{'General_Refresh'|translate} »</a>
</p>
{/if}
|