aboutsummaryrefslogtreecommitdiffstats
path: root/view/install_db.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_db.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_db.tpl')
-rw-r--r--view/install_db.tpl44
1 files changed, 15 insertions, 29 deletions
diff --git a/view/install_db.tpl b/view/install_db.tpl
index ff4e11ab1..7e2acdca5 100644
--- a/view/install_db.tpl
+++ b/view/install_db.tpl
@@ -1,44 +1,30 @@
-<h3>$lbl_01</h3>
-<h3>$lbl_02</h3>
+<h1>$title</h1>
+<h2>$pass</h2>
+
<p>
-$lbl_03 $lbl_04 $lbl_05
+$info_01<br>
+$info_02<br>
+$info_03
</p>
+{{ if $status }}
+<h3 class="error-message">$status</h3>
+{{ endif }}
+
<form id="install-form" action="$baseurl/install" method="post">
<input type="hidden" name="phpath" value="$phpath" />
+<input type="hidden" name="pass" value="3" />
-<label for="install-dbhost" id="install-dbhost-label">$lbl_06</label>
-<input type="text" name="dbhost" id="install-dbhost" value="$dbhost" />
-<div id="install-dbhost-end"></div>
-
-<label for="install-dbuser" id="install-dbuser-label">$lbl_07</label>
-<input type="text" name="dbuser" id="install-dbuser" value="$dbuser" />
-<div id="install-dbuser-end"></div>
-
-<label for="install-dbpass" id="install-dbpass-label">$lbl_08</label>
-<input type="password" name="dbpass" id="install-dbpass" value="$dbpass" />
-<div id="install-dbpass-end"></div>
-
-<label for="install-dbdata" id="install-dbdata-label">$lbl_09</label>
-<input type="text" name="dbdata" id="install-dbdata" value="$dbdata" />
-<div id="install-dbdata-end"></div>
-
-<label for="install-admin" id="install-admin-label">$lbl_11</label>
-<input type="text" name="adminmail" id="install-admin" value="$adminmail" />
-<div id="install-admin-end"></div>
-
-<div id="install-tz-desc">
-$lbl_10
-</div>
+{{ inc field_input.tpl with $field=$dbhost }}{{endinc}}
+{{ inc field_input.tpl with $field=$dbuser }}{{endinc}}
+{{ inc field_input.tpl with $field=$dbpass }}{{endinc}}
+{{ inc field_input.tpl with $field=$dbdata }}{{endinc}}
-$tzselect
-<div id="install-tz-end" ></div>
<input id="install-submit" type="submit" name="submit" value="$submit" />
</form>
-<div id="install-end" ></div>