]> git.mxchange.org Git - friendica.git/blobdiff - view/install_db.tpl
mod/dfrn_request.php and templates - Friendika -> Friendica
[friendica.git] / view / install_db.tpl
old mode 100644 (file)
new mode 100755 (executable)
index d5f2882..7e2acdc
@@ -1,40 +1,30 @@
 
-<h3>Friendika Social Network</h3>
-<h3>Installation</h3>
+<h1>$title</h1>
+<h2>$pass</h2>
+
 
 <p>
-In order to install Friendika 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>