friendica/view/install_checks.tpl
Fabio Comuni c7bfd1e1ba install: fix install procedure
install procedure as a wizard
graphical rappresentation of passed/unpassed system checks
db connection test don't try anymore to create the db
admin email and timezone are asked in a separate pass
fix loading of database.sql, removing comments from phpmyadmin export
fix check for .htconfig.php writability
ask for php-cli path if not found in PATH
install_db.tpl use field_* templates to render the form
2012-01-02 20:16:28 +01:00

25 lines
668 B
Smarty

<h1>$title</h1>
<h2>$pass</h2>
<form action="$baseurl/install" method="POST">
<table>
{{ for $checks as $check }}
<tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}off{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr>
{{if $check.help }}
<tr><td colspan="3">$check.help</td></tr>
{{endif}}
{{ endfor }}
</table>
{{ if $phpath }}
<input type="hidden" name="phpath" value="$phpath">
{{ endif }}
{{ if $passed }}
<input type="hidden" name="pass" value="2">
<input type="submit" value="$next">
{{ else }}
<input type="hidden" name="pass" value="1">
<input type="submit" value="$reload">
{{ endif }}
</form>