streams/view/tpl/install_checks.tpl
2016-05-01 05:59:02 +10:00

24 lines
785 B
Smarty
Executable file

<h1>{{$title}}</h1>
<h2>{{$pass}}</h2>
<form action="{{$baseurl}}/index.php?q=setup" method="post">
<table>
{{foreach $checks as $check}}
<tr><td>{{$check.title}} </td><td><i class="fa {{if $check.status}}fa-check-square-o{{else}}{{if $check.required}}fa-square-o{{else}}fa-exclamation{{/if}}{{/if}}"></i></td><td>{{if $check.required}}(required){{/if}}</td></tr>
{{if $check.help}}
<tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr>
{{/if}}
{{/foreach}}
</table>
{{if $phpath}}
<input type="hidden" name="phpath" value="{{$phpath}}">
{{/if}}
{{if $passed}}
<input type="hidden" name="pass" value="2">
<input type="submit" value="{{$next}}">
{{else}}
<input type="hidden" name="pass" value="1">
<input type="submit" value="{{$reload}}">
{{/if}}
</form>