]> git.mxchange.org Git - friendica.git/blob - view/templates/install_checks.tpl
Separate default config values between file-only and admin settings
[friendica.git] / view / templates / install_checks.tpl
1
2 <h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
3 <h2>{{$pass}}</h2>
4 <form  action="{{$baseurl}}/index.php?q=install" method="post">
5 <table>
6 {{foreach $checks as $check}}
7         <tr><td>{{$check.title}} </td><td>
8         {{if $check.status}}
9                 <img src="{{$baseurl}}/view/install/green.png" alt="Ok">
10         {{else}}
11                 {{if $check.required}}
12                         <img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
13                 {{else}}
14                         <img src="{{$baseurl}}/view/install/yellow.png" alt="Optional requirement not satisfied">
15                 {{/if}}
16         {{/if}}
17         </td><td>{{if $check.required}}(required){{/if}}</td></tr>
18         {{if $check.help}}
19         <tr><td class="help" colspan="3">
20                 <blockquote>{{$check.help}}</blockquote>
21                 {{if $check.error_msg}}
22                 <div class="error_header"><b>{{$check.error_msg.head}}</br><a href="{{$check.error_msg.url}}">{{$check.error_msg.url}}</a></b></div>
23                 <blockquote>{{$check.error_msg.msg}}</blockquote>
24                 {{/if}}
25         </td></tr>
26         {{/if}}
27 {{/foreach}}
28 </table>
29
30 {{if $phpath}}
31         <input type="hidden" name="phpath" value="{{$phpath|escape:'html'}}">
32 {{/if}}
33
34 {{if $passed}}
35         <input type="hidden" name="pass" value="2">
36         <input type="submit" value="{{$next|escape:'html'}}">
37 {{else}}
38         <input type="hidden" name="pass" value="1">
39         <input type="submit" value="{{$reload|escape:'html'}}">
40 {{/if}}
41 </form>