aboutsummaryrefslogtreecommitdiffstats
path: root/view/install_checks.tpl
blob: 8a76c454c27b25c194f6107779866cb113245da3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1>$title</h1>
<h2>$pass</h2>
<form  action="$baseurl/install" method="post">
<table>
{{ for $checks as $check }}
	<tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if$check.required}}off{{else}}yellow{{endif}}{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr>
	{{if $check.help }}
	<tr><td colspan="3"><blockquote>$check.help</blockquote></td></tr>
	{{endif}}
{{ endfor }}
</table>

{{ if $phpath }}
	<input type="hidden" name="phpath" value="$phpath">
{{ endif }}

{{ if $passed }}
	<input type="hidden" name="pass" value="2">
	<input type="submit" value="$next">
{{ else }}
	<input type="hidden" name="pass" value="1">
	<input type="button" value="$reload" onclick="document.location.reload()">
{{ endif }}
</form>