mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Refactoring Installation
- centralized installation - renamed Core\Install to Core\Installer - avoid using $a->data[] for states - removed unnecessary code
This commit is contained in:
parent
64149c41b4
commit
f0382ab919
8 changed files with 185 additions and 205 deletions
|
@ -1,11 +0,0 @@
|
|||
|
||||
|
||||
<h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
|
||||
<h2>{{$pass}}</h2>
|
||||
|
||||
|
||||
{{if $status}}
|
||||
<h3 class="error-message">{{$status}}</h3>
|
||||
{{/if}}
|
||||
|
||||
{{$text}}
|
|
@ -10,9 +10,14 @@
|
|||
{{$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}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
|
||||
<form id="install-form" action="{{$baseurl}}/install" method="post">
|
||||
|
||||
|
|
13
view/templates/install_finished.tpl
Normal file
13
view/templates/install_finished.tpl
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
|
||||
<h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
|
||||
<h2>{{$pass}}</h2>
|
||||
|
||||
|
||||
{{foreach $checks as $check}}
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
|
||||
{{$check.title}}
|
||||
<textarea rows="24" cols="80">{{$check.help}}</textarea>
|
||||
{{/foreach}}
|
||||
|
||||
{{$text}}
|
|
@ -4,10 +4,6 @@
|
|||
<h2>{{$pass}}</h2>
|
||||
|
||||
|
||||
{{if $status}}
|
||||
<h3 class="error-message">{{$status}}</h3>
|
||||
{{/if}}
|
||||
|
||||
<form id="install-form" action="{{$baseurl}}/install" method="post">
|
||||
|
||||
<input type="hidden" name="phpath" value="{{$phpath|escape:'html'}}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue