]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/install_checks.tpl
Merge pull request #3179 from tobiasd/20170222-docquickstarten
[friendica.git] / view / templates / install_checks.tpl
index 44852b4101346d1ea52e31ea35c4a750505f9bb6..10a197482b9b2689bdaa047f93f8f894649025c4 100644 (file)
@@ -1,29 +1,35 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
-<h1>{{$title}}</h1>
+
+<h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$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>
+       <tr><td>{{$check.title}} </td><td>
+       {{if $check.status}}
+               <img src="{{$baseurl}}/view/install/green.png" alt="Ok">
+       {{else}}
+               {{if $check.required}}
+                       <img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
+               {{else}}
+                       <img src="{{$baseurl}}/view/install/yellow.png" alt="Optional requirement not satisfied">
+               {{/if}}
+       {{/if}}
+       </td><td>{{if $check.required}}(required){{/if}}</td></tr>
        {{if $check.help}}
-       <tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr>
+       <tr><td class="help" colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr>
        {{/if}}
 {{/foreach}}
 </table>
 
 {{if $phpath}}
-       <input type="hidden" name="phpath" value="{{$phpath}}">
+       <input type="hidden" name="phpath" value="{{$phpath|escape:'html'}}">
 {{/if}}
 
 {{if $passed}}
        <input type="hidden" name="pass" value="2">
-       <input type="submit" value="{{$next}}">
+       <input type="submit" value="{{$next|escape:'html'}}">
 {{else}}
        <input type="hidden" name="pass" value="1">
-       <input type="submit" value="{{$reload}}">
+       <input type="submit" value="{{$reload|escape:'html'}}">
 {{/if}}
 </form>