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.php35
1 files changed, 32 insertions, 3 deletions
diff --git a/core/views/welcome_syscheck.html.php b/core/views/welcome_syscheck.html.php
index 3a6b352c..7355e431 100644
--- a/core/views/welcome_syscheck.html.php
+++ b/core/views/welcome_syscheck.html.php
@@ -15,8 +15,37 @@
<? endif ?>
</div>
<? endforeach ?>
+
<? if (empty($errors)): ?>
-<p class="success">
- Your system is ready to go.
-</p>
+<div class="block">
+ <? if (empty($modules)): ?>
+ <p class="success">
+ Your system is ready, but Gallery is not yet installed.
+ </p>
+ <p>
+ <?= html::anchor("welcome/install/core", "install gallery") ?>
+ </p>
+ <? else: ?>
+ <p class="success">
+ Your Gallery is ready with the following modules installed:
+ </p>
+ <table style="width: 400px">
+ <tr>
+ <th align="left">Name</th>
+ <th align="left">Version</th>
+ <th align="left">Action</th>
+ </tr>
+ <? foreach ($modules as $module): ?>
+ <tr>
+ <td><?= $module->name ?></td>
+ <td><?= $module->version ?></td>
+ <td>
+ <?= html::anchor("welcome/install/{$module->name}", "install") ?>,
+ <?= html::anchor("welcome/uninstall/{$module->name}", "uninstall") ?>
+ </td>
+ </tr>
+ <? endforeach; ?>
+ </table>
+ <? endif; ?>
+</div>
<? endif ?>