]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/install_db.tpl
Merge branch '2021.03-rc' into copyright-2021
[friendica.git] / view / templates / install_db.tpl
index 6b6c1c1e64e1d01c6eff9a212a15a264b8c0e28d..f589223c7f124ab3ae9759891f06f92ca1786f33 100644 (file)
@@ -1,31 +1,38 @@
-
-
 <h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
 <h2>{{$pass}}</h2>
 
-
 <p>
-{{$info_01}}<br>
-{{$info_02}}<br>
-{{$info_03}}
+       {{$info_01}}<br>
+       {{$info_02}}<br>
+       {{$info_03}}
 </p>
 
-{{if $status}}
-<h3 class="error-message">{{$status}}</h3>
-{{/if}}
+<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}}
+               </td>
+       {{/foreach}}
+</table>
 
 <form id="install-form" action="{{$baseurl}}/install" method="post">
 
-<input type="hidden" name="phpath" value="{{$phpath|escape:'html'}}" />
-<input type="hidden" name="pass" value="3" />
+       <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" />
 
-{{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}}
+       {{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}}
 
-
-<input id="install-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" /> 
+       <input id="install-submit" type="submit" name="submit" value="{{$submit}}" />
 
 </form>
-