From 3483cd35f8b6cb62f3571a3024929a4acd5dac37 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 16 Jan 2015 19:32:31 +0100 Subject: [PATCH] use HTML5 attributes in the installer wizard --- mod/install.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/install.php b/mod/install.php index 484846ccd6..c6fe708362 100755 --- a/mod/install.php +++ b/mod/install.php @@ -231,11 +231,11 @@ function install_content(&$a) { '$status' => $wizard_status, - '$dbhost' => array('dbhost', t('Database Server Name'), $dbhost, ''), - '$dbuser' => array('dbuser', t('Database Login Name'), $dbuser, ''), - '$dbpass' => array('dbpass', t('Database Login Password'), $dbpass, ''), - '$dbdata' => array('dbdata', t('Database Name'), $dbdata, ''), - '$adminmail' => array('adminmail', t('Site administrator email address'), $adminmail, t('Your account email address must match this in order to use the web admin panel.')), + '$dbhost' => array('dbhost', t('Database Server Name'), $dbhost, '', 'required'), + '$dbuser' => array('dbuser', t('Database Login Name'), $dbuser, '', 'required', 'autofocus'), + '$dbpass' => array('dbpass', t('Database Login Password'), $dbpass, '', 'required'), + '$dbdata' => array('dbdata', t('Database Name'), $dbdata, '', 'required'), + '$adminmail' => array('adminmail', t('Site administrator email address'), $adminmail, t('Your account email address must match this in order to use the web admin panel.'), 'required', 'autofocus', 'email'), @@ -274,7 +274,7 @@ function install_content(&$a) { '$dbdata' => $dbdata, '$phpath' => $phpath, - '$adminmail' => array('adminmail', t('Site administrator email address'), $adminmail, t('Your account email address must match this in order to use the web admin panel.')), + '$adminmail' => array('adminmail', t('Site administrator email address'), $adminmail, t('Your account email address must match this in order to use the web admin panel.'), 'required', 'autofocus', 'email'), '$timezone' => field_timezone('timezone', t('Please select a default timezone for your website'), $timezone, ''), -- 2.39.5