diff options
Diffstat (limited to 'view/tpl/install_checks.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/install_checks.tpl | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/view/tpl/install_checks.tpl b/view/tpl/install_checks.tpl index 1d8a4b263..2f773f746 100644..100755 --- a/view/tpl/install_checks.tpl +++ b/view/tpl/install_checks.tpl @@ -1,24 +1,24 @@ -<h1>$title</h1> -<h2>$pass</h2> -<form action="$baseurl/index.php?q=setup" method="post"> +<h1>{{$title}}</h1> +<h2>{{$pass}}</h2> +<form action="{{$baseurl}}/index.php?q=setup" 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 }} +{{foreach $checks as $check}} + <tr><td>{{$check.title}} </td><td><i class="{{if $check.status}}icon-check{{else}}{{if $check.required}}icon-check-empty{{else}}icon-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"> -{{ endif }} +{{if $phpath}} + <input type="hidden" name="phpath" value="{{$phpath}}"> +{{/if}} -{{ if $passed }} +{{if $passed}} <input type="hidden" name="pass" value="2"> - <input type="submit" value="$next"> -{{ else }} + <input type="submit" value="{{$next}}"> +{{else}} <input type="hidden" name="pass" value="1"> - <input type="submit" value="$reload"> -{{ endif }} + <input type="submit" value="{{$reload}}"> +{{/if}} </form> |