aboutsummaryrefslogtreecommitdiffstats
path: root/view/install_checks.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabio@krik.localdomain>2012-01-02 20:16:28 +0100
committerFabio Comuni <fabio@krik.localdomain>2012-01-02 20:16:28 +0100
commitc7bfd1e1bae28f2305e2d1d3425052a864a6e251 (patch)
treecb213f0657d8e949d2a43156b8080085567fa7d0 /view/install_checks.tpl
parent1fbffc76b18e94ecda86452fe16609295976c619 (diff)
downloadvolse-hubzilla-c7bfd1e1bae28f2305e2d1d3425052a864a6e251.tar.gz
volse-hubzilla-c7bfd1e1bae28f2305e2d1d3425052a864a6e251.tar.bz2
volse-hubzilla-c7bfd1e1bae28f2305e2d1d3425052a864a6e251.zip
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
Diffstat (limited to 'view/install_checks.tpl')
-rw-r--r--view/install_checks.tpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/view/install_checks.tpl b/view/install_checks.tpl
new file mode 100644
index 000000000..538bdf0ba
--- /dev/null
+++ b/view/install_checks.tpl
@@ -0,0 +1,24 @@
+<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>