]> git.mxchange.org Git - friendica.git/blobdiff - view/install_db.tpl
better title handling (duepuntozero only at this time)
[friendica.git] / view / install_db.tpl
index 00c3b82658a3e6bf968882c66f8a94ae33b11a9a..7e2acdca574fa36fa4b835531766ff38a99d3e1c 100644 (file)
@@ -1,40 +1,30 @@
 
-<h3>Mistpark Personal Edition</h3>
-<h3>Installation</h3>
+<h1>$title</h1>
+<h2>$pass</h2>
+
 
 <p>
-In order to install Mistpark we need to know how to contact your database. Please contact your hosting provider or site administrator if you have questions about these settings. The database you specify below must already exist. If it does not, please create it before continuing. 
+$info_01<br>
+$info_02<br>
+$info_03
 </p>
 
-<form id="install-form" action="install" method="post">
-
-<input type="hidden" name="phpath" value="$phpath" />
-
-<label for="install-dbhost" id="install-dbhost-label">Database Server Name</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">Database Login Name</label>
-<input type="text" name="dbuser" id="install-dbuser" value="$dbuser" />
-<div id="install-dbuser-end"></div>
+{{ if $status }}
+<h3 class="error-message">$status</h3>
+{{ endif }}
 
-<label for="install-dbpass" id="install-dbpass-label">Database Login Password</label>
-<input type="password" name="dbpass" id="install-dbpass" value="$dbpass" />
-<div id="install-dbpass-end"></div>
+<form id="install-form" action="$baseurl/install" method="post">
 
-<label for="install-dbdata" id="install-dbdata-label">Database Name</label>
-<input type="text" name="dbdata" id="install-dbdata"  value="$dbdata" />
-<div id="install-dbdata-end"></div>
+<input type="hidden" name="phpath" value="$phpath" />
+<input type="hidden" name="pass" value="3" />
 
-<div id="install-tz-desc">
-Please select a default timezone for your website
-</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>