friendica/view/templates/install_checks.tpl

42 wiersze
1.3 KiB
Smarty
Czysty Zwykły widok Historia

2015-11-13 09:56:06 +00:00
<h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
2013-04-23 11:47:57 +00:00
<h2>{{$pass}}</h2>
<form action="{{$baseurl}}/index.php?q=install" method="post">
<table>
{{foreach $checks as $check}}
2018-12-21 05:05:31 +00:00
<tr><td>{{$check.title nofilter}} </td><td>
2015-11-13 09:56:06 +00:00
{{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>
2013-04-23 11:47:57 +00:00
{{if $check.help}}
<tr><td class="help" colspan="3">
2018-12-21 05:05:31 +00: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 11:47:57 +00:00
{{/if}}
{{/foreach}}
</table>
{{if $phpath}}
2019-03-14 09:00:05 +00:00
<input type="hidden" name="config-php_path" value="{{$php_path}}">
2013-04-23 11:47:57 +00:00
{{/if}}
{{if $passed}}
<input type="hidden" name="pass" value="2">
<input type="submit" value="{{$next}}">
2013-04-23 11:47:57 +00:00
{{else}}
<input type="hidden" name="pass" value="1">
<input type="submit" value="{{$reload}}">
2013-04-23 11:47:57 +00:00
{{/if}}
</form>