summaryrefslogtreecommitdiff
path: root/core/views/welcome_syscheck.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/welcome_syscheck.html.php')
-rw-r--r--core/views/welcome_syscheck.html.php67
1 files changed, 20 insertions, 47 deletions
diff --git a/core/views/welcome_syscheck.html.php b/core/views/welcome_syscheck.html.php
index c87c4763..3a6b352c 100644
--- a/core/views/welcome_syscheck.html.php
+++ b/core/views/welcome_syscheck.html.php
@@ -1,49 +1,22 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
-<html>
- <head>
- <title>Gallery3 Scaffold</title>
- <style>
- body {
- font-family: Trebuchet MS;
- }
+<? foreach ($errors as $error): ?>
+<div class="block">
+ <p class="error">
+ <?= $error->message ?>
+ </p>
+ <? foreach ($error->instructions as $line): ?>
+ <pre><?= $line ?></pre>
+ <? endforeach ?>
- p {
- margin: 0 0 0 0;
- padding: 5px;
- }
-
- pre {
- margin: 0;
- padding-left: 1em;
- }
-
- .error {
- color: red;
- }
-
- div.block {
- border: 1px solid black;
- margin-bottom: 5px;
- paddding: 1em;
- }
- </style>
- </head>
- <body>
- <? foreach ($errors as $error): ?>
- <div class="block">
- <p class="error">
- <?= $error->message ?>
- </p>
- <? foreach ($error->instructions as $line): ?>
- <pre><?= $line ?></pre>
- <? endforeach ?>
-
- <? if (!empty($error->message2)): ?>
- <p class="error">
- <?= $error->message2 ?>
- </p>
- <? endif ?>
- </div>
- <? endforeach ?>
- </body>
-</html>
+ <? if (!empty($error->message2)): ?>
+ <p class="error">
+ <?= $error->message2 ?>
+ </p>
+ <? endif ?>
+</div>
+<? endforeach ?>
+<? if (empty($errors)): ?>
+<p class="success">
+ Your system is ready to go.
+</p>
+<? endif ?>