aboutsummaryrefslogtreecommitdiffstats
path: root/view/install_checks.tpl
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2012-01-02 13:35:23 -0800
committerfabrixxm <fabrix.xm@gmail.com>2012-01-02 13:35:23 -0800
commitbbf491d52b73ff8152ecdf6700842eaa7a8d3bb8 (patch)
treecb213f0657d8e949d2a43156b8080085567fa7d0 /view/install_checks.tpl
parent4b095665791424bd2f5c4c494a2d14ec6c07aeba (diff)
parentc7bfd1e1bae28f2305e2d1d3425052a864a6e251 (diff)
downloadvolse-hubzilla-bbf491d52b73ff8152ecdf6700842eaa7a8d3bb8.tar.gz
volse-hubzilla-bbf491d52b73ff8152ecdf6700842eaa7a8d3bb8.tar.bz2
volse-hubzilla-bbf491d52b73ff8152ecdf6700842eaa7a8d3bb8.zip
Merge pull request #21 from fabrixxm/fixinstall
Fix install procedure
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>