diff --git a/install.php b/install.php index 10f29e23..bec10396 100644 --- a/install.php +++ b/install.php @@ -11,7 +11,7 @@ * If that file exists, the installer will not run. So if you need to re-run this installer for any * reason, then you'll want to delete that file. This was implemented just in case someone doesn't delete the installer. * - * ProcessWire 3.x, Copyright 2016 by Ryan Cramer + * ProcessWire 3.x, Copyright 2017 by Ryan Cramer * https://processwire.com * * @todo have installer set session name @@ -57,7 +57,7 @@ class Installer { /** * File permissions, determined in the dbConfig function * - * Below are last resort defaults + * Below are worst case scenario, last resort defaults * */ protected $chmodDir = "0777"; @@ -67,7 +67,15 @@ class Installer { * Number of errors that occurred during the request * */ - protected $numErrors = 0; + protected $numErrors = 0; + + /** + * True when we are in a section + * + * @var bool + * + */ + protected $inSection = false; /** * Available color themes @@ -91,11 +99,11 @@ class Installer { } // these two vars used by install-head.inc - $title = "ProcessWire " . PROCESSWIRE_INSTALL . " Installation"; + $title = "ProcessWire " . PROCESSWIRE_INSTALL . " Installer"; $formAction = "./install.php"; if($title && $formAction) {} // ignore - require("./wire/modules/AdminTheme/AdminThemeDefault/install-head.inc"); + require("./wire/modules/AdminTheme/AdminThemeUikit/install-head.inc"); if(isset($_POST['step'])) switch($_POST['step']) { @@ -118,7 +126,7 @@ class Installer { } else $this->welcome(); - require("./wire/modules/AdminTheme/AdminThemeDefault/install-foot.inc"); + require("./wire/modules/AdminTheme/AdminThemeUikit/install-foot.inc"); } @@ -200,6 +208,7 @@ class Installer { $out = ''; $profiles = $this->findProfiles(); if(!count($profiles)) $this->err("No profiles found!"); + foreach($profiles as $name => $profile) { $title = empty($profile['title']) ? ucfirst($profile['name']) : $profile['title']; //$selected = $name == 'site-default' ? " selected='selected'" : ""; @@ -222,12 +231,15 @@ class Installer { If you are just getting started with ProcessWire, we recommend choosing the Default site profile. If you already know what you are doing, you might prefer the Blank site profile. -
- - Select each installation profile to see more information and a preview. +
+ +
++ + Select each installation profile to see more information and a preview.
$out @@ -43,7 +48,7 @@ $formAction = htmlentities($formAction, ENT_QUOTES, "UTF-8");