From 4d2cc5dbe855d939be0a10921e1f8ca29f93d378 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 25 May 2010 03:14:47 +0000 Subject: [PATCH] ENHANCEMENT #5024 Installer now checks that the user has entered a username and password correctly for the default admin, an additional button for re-checking requirements is now found at the bottom of the admin configuration section ENHANCEMENT Error messages for database AND admin configuration are now in the same place at the top of the installer (from r99841) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105535 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- dev/install/config-form.html | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/dev/install/config-form.html b/dev/install/config-form.html index f23b13ce0..22bc25cc5 100644 --- a/dev/install/config-form.html +++ b/dev/install/config-form.html @@ -80,14 +80,26 @@ Please see below for details.
If you are having problems meeting the requirements, see the server requirements wiki page.

- -

- Please fill in a username and password for the admin account to install. -

- hasErrors()) { ?> + hasErrors() && !$adminReq->hasErrors()) { ?>

You're ready to install!

+ hasErrors()) { ?> +

+ The database details don't appear to be correct. Please enter the correct details before installing. +

+ +

+ These database details look all good! +

+ + + hasErrors()) { ?> +

+ Please enter a username and password for the default administrator account before installing. +

+ +

Template to install: