X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=716e1c370a30da229eb6afc31d909caabbc29edf;hb=24910f2363b128853a3f610a220dfc66222f6fdc;hp=352d5a143c80ed436a532d6553faec788887e589;hpb=9291225a69c586424fb5a40588c115bf1b78bce1;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 352d5a143c..716e1c370a 100644 --- a/install.php +++ b/install.php @@ -165,7 +165,9 @@ class WebInstaller extends Installer } else { $checked = ''; } - $dbRadios .= " $info[name]
\n"; + $dbRadios .= sprintf('%3$s
', + htmlspecialchars($type), $checked, + htmlspecialchars($info['name'])); } } @@ -212,7 +214,7 @@ class WebInstaller extends Installer
  • - $dbRadios + {$dbRadios}

    Database type

  • @@ -255,11 +257,6 @@ class WebInstaller extends Installer

    Optional email address for the initial user (administrator)

  • -
  • - - -

    Release and security feed from update@status.net (recommended)

    -
  • @@ -268,10 +265,10 @@ class WebInstaller extends Installer
  • Initial access settings for your site

  • @@ -331,7 +328,6 @@ STR; $this->adminPass = $post->string('admin_password'); $adminPass2 = $post->string('admin_password2'); $this->adminEmail = $post->string('admin_email'); - $this->adminUpdates = $post->string('admin_updates'); $this->siteProfile = $post->string('site_profile'); @@ -354,7 +350,7 @@ STR; $fail = true; } - if (!in_array($this->ssl, array('never', 'sometimes', 'always'))) { + if (!in_array($this->ssl, array('never', 'always'))) { $this->updateStatus("Bad value for server SSL enabling."); $fail = true; } @@ -380,19 +376,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - - -