';
?>
\ No newline at end of file
diff --git a/install/steps/5-database.php b/install/steps/5-database.php
index 1b5a6be7..ca06cc7f 100644
--- a/install/steps/5-database.php
+++ b/install/steps/5-database.php
@@ -95,8 +95,10 @@ if(!$error) {
}
?>
-
\ No newline at end of file
+
';
- return true;
-}
-function success1($message, $return = false) {
- return message('Info', $message, 'success','success', $return);
-}
-function warning1($message, $return = false) {
- return message('Warning',$message, 'warning','ban', $return);
-}
-function note1($message, $return = false) {
- return message('Info',$message, 'info','info', $return);
-}
-function error1($message, $return = false) {
- return message("Alert", $message, 'danger','check', $return);
-}
function longToIp($ip)
{
$exp = explode(".", long2ip($ip));
diff --git a/system/locale/en/install.php b/system/locale/en/install.php
index 3c45f288..36500d1c 100644
--- a/system/locale/en/install.php
+++ b/system/locale/en/install.php
@@ -20,7 +20,7 @@ $locale['not_loaded'] = 'Not loaded';
$locale['loading_spinner'] = 'Please wait, installing...';
$locale['importing_spinner'] = 'Please wait, importing data...';
$locale['please_fill_all'] = 'Please fill all inputs!';
-$locale['already_installed'] = 'MyAAC has been already installed. Please delete install/ directory. If you want to reinstall MyAAC - please delete config.local.php file from the main directory and refresh the page.';
+$locale['already_installed'] = 'MyAAC has been already installed. Please delete install/ directory. If you want to reinstall MyAAC - please delete config.local.php file from the main directory and refresh the page.';
// welcome
$locale['step_welcome'] = 'Welcome';
diff --git a/system/templates/install.admin.html.twig b/system/templates/install.admin.html.twig
index 42b49c41..26786d4d 100644
--- a/system/templates/install.admin.html.twig
+++ b/system/templates/install.admin.html.twig
@@ -1,32 +1,26 @@
-
+{% if errors is not empty %}
+
+ {% for error in errors %}
+ {{ error }}
+ {% endfor %}
+
+{% endif %}
+
diff --git a/system/templates/install.config.html.twig b/system/templates/install.config.html.twig
index 64765910..a6ba24f7 100644
--- a/system/templates/install.config.html.twig
+++ b/system/templates/install.config.html.twig
@@ -1,71 +1,51 @@
+{% if errors is not empty %}
+
+ {% for error in errors %}
+ {{ error }}
+ {% endfor %}
+
+{% endif %}
+
\ No newline at end of file
diff --git a/system/templates/install.license.html.twig b/system/templates/install.license.html.twig
index e9998fbe..022650b6 100644
--- a/system/templates/install.license.html.twig
+++ b/system/templates/install.license.html.twig
@@ -1,6 +1,8 @@
\ No newline at end of file
diff --git a/system/templates/install.welcome.html.twig b/system/templates/install.welcome.html.twig
index b422ddb6..5d8270d7 100644
--- a/system/templates/install.welcome.html.twig
+++ b/system/templates/install.welcome.html.twig
@@ -1,12 +1,17 @@
+