friendica/view/templates/install_checks.tpl

26 lines
804 B
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<h1>{{$title}}</h1>
<h2>{{$pass}}</h2>
<form action="{{$baseurl}}/index.php?q=install" method="post">
<table>
{{foreach $checks as $check}}
<tr><td>{{$check.title}} </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{/if}}{{/if}}"></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|escape:'html'}}">
2013-04-23 13:47:57 +02:00
{{/if}}
{{if $passed}}
<input type="hidden" name="pass" value="2">
<input type="submit" value="{{$next|escape:'html'}}">
2013-04-23 13:47:57 +02:00
{{else}}
<input type="hidden" name="pass" value="1">
<input type="submit" value="{{$reload|escape:'html'}}">
2013-04-23 13:47:57 +02:00
{{/if}}
</form>