friendica/view/templates/install/01_checks.tpl

42 lines
1.3 KiB
Smarty
Raw Normal View History

2022-04-28 06:41:26 -04:00
<h1><img width="32" height="32" src="{{$baseurl}}/images/friendica.svg"> {{$title}}</h1>
2013-04-23 07:47:57 -04:00
<h2>{{$pass}}</h2>
2023-02-19 05:29:29 -05:00
<form action="{{$baseurl}}/index.php?pagename=install" method="post">
2013-04-23 07:47:57 -04:00
<table>
{{foreach $checks as $check}}
2018-12-21 00:05:31 -05:00
<tr><td>{{$check.title nofilter}} </td><td>
2015-11-13 04:56:06 -05:00
{{if $check.status}}
<img src="{{$baseurl}}/view/install/green.png" alt="{{$ok}}">
2015-11-13 04:56:06 -05:00
{{else}}
{{if $check.required}}
<img src="{{$baseurl}}/view/install/red.png" alt="{{$requirement_not_satisfied}}">
2015-11-13 04:56:06 -05:00
{{else}}
<img src="{{$baseurl}}/view/install/yellow.png" alt="{{$optional_requirement_not_satisfied}}">
2015-11-13 04:56:06 -05:00
{{/if}}
{{/if}}
</td><td>{{if $check.required}}{{$required}}{{/if}}</td></tr>
2013-04-23 07:47:57 -04:00
{{if $check.help}}
<tr><td class="help" colspan="3">
2018-12-21 00:05:31 -05:00
<blockquote>{{$check.help nofilter}}</blockquote>
{{if $check.error_msg}}
<div class="error_header"><b>{{$check.error_msg.head}}<br><a href="{{$check.error_msg.url}}">{{$check.error_msg.url}}</a></b></div>
<blockquote>{{$check.error_msg.msg}}</blockquote>
{{/if}}
</td></tr>
2013-04-23 07:47:57 -04:00
{{/if}}
{{/foreach}}
</table>
{{if $phppath}}
2019-03-14 05:00:05 -04:00
<input type="hidden" name="config-php_path" value="{{$php_path}}">
2013-04-23 07:47:57 -04:00
{{/if}}
{{if $passed}}
<input type="hidden" name="pass" value="2">
<input type="submit" value="{{$next}}">
2013-04-23 07:47:57 -04:00
{{else}}
<input type="hidden" name="pass" value="1">
<input type="submit" value="{{$reload}}">
2013-04-23 07:47:57 -04:00
{{/if}}
</form>