friendica-github/view/templates/install_db.tpl

36 lines
1.1 KiB
Smarty
Raw Normal View History

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>
<p>
2018-12-21 05:05:31 +00:00
{{$info_01}}<br>
{{$info_02}}<br>
{{$info_03}}
2013-04-23 11:47:57 +00:00
</p>
<table>
{{foreach $checks as $check}}
<tr><td>{{$check.title}} </td><td>
{{if ! $check.status}}
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
{{/if}}
{{/foreach}}
</table>
2013-04-23 11:47:57 +00:00
<form id="install-form" action="{{$baseurl}}/install" method="post">
2019-03-14 09:00:05 +00:00
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
<input type="hidden" name="config-hostname" value="{{$hostname}}" />
<input type="hidden" name="system-ssl_policy" value="{{$ssl_policy}}" />
<input type="hidden" name="system-basepath" value="{{$basepath}}" />
<input type="hidden" name="system-urlpath" value="{{$urlpath}}" />
<input type="hidden" name="pass" value="4" />
2013-04-23 11:47:57 +00:00
2018-12-21 05:05:31 +00:00
{{include file="field_input.tpl" field=$dbhost}}
{{include file="field_input.tpl" field=$dbuser}}
{{include file="field_password.tpl" field=$dbpass}}
{{include file="field_input.tpl" field=$dbdata}}
2013-04-23 11:47:57 +00:00
2018-12-21 05:05:31 +00:00
<input id="install-submit" type="submit" name="submit" value="{{$submit}}" />
2013-04-23 11:47:57 +00:00
</form>