]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
multi-user, do not cache open mbox
[friendica.git] / mod / install.php
index 173df6d4b9e834a8841ef7de66ef9a4e601e16dc..740df6ca98b5c5b6645c49573e73c94c5b87385a 100644 (file)
@@ -14,7 +14,7 @@ function install_post(&$a) {
        $phpath = notags(trim($_POST['phpath']));
 
        require_once("dba.php");
-       unset ($db);
+       unset($db);
        $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true);
 
        if(mysqli_connect_errno()) {
@@ -118,6 +118,16 @@ function install_content(&$a) {
 
        $tpl = load_view_file('view/install_db.tpl');
        $o .= replace_macros($tpl, array(
+               '$lbl_01' => t('Friendika Social Network'),
+               '$lbl_02' => t('Installation'),
+               '$lbl_03' => t('In order to install Friendika we need to know how to contact your database.'),
+               '$lbl_04' => t('Please contact your hosting provider or site administrator if you have questions about these settings.'),
+               '$lbl_05' => t('The database you specify below must already exist. If it does not, please create it before continuing.'),
+               '$lbl_06' => t('Database Server Name'),
+               '$lbl_07' => t('Database Login Name'),
+               '$lbl_08' => t('Database Login Password'),
+               '$lbl_09' => t('Database Name'),
+               '$lbl_10' => t('Please select a default timezone for your website'),
                '$baseurl' => $a->get_baseurl(),
                '$tzselect' => ((x($_POST,'timezone')) ? select_timezone($_POST['timezone']) : select_timezone()),
                '$submit' => t('Submit'),