summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-04 07:44:28 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-04 07:44:28 +0000
commit9ba9f7bf2754988b7408c23c32b1f2a332528d29 (patch)
tree974139d7571dc34f7db390114c22fa501755ec87 /core/views
parentdeafa2f91220ad54cfaae1372ef98ab5f46e0f86 (diff)
Change the startup code to only put installed modules on the autoload
path. This breaks a bunch of places where we had hardcoded dependencies, so guard all of those cases. Restructure module::available() a bit and the way that we do install/uninstall in the scaffolding.
Diffstat (limited to 'core/views')
-rw-r--r--core/views/welcome.html.php2
-rw-r--r--core/views/welcome_syscheck.html.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index 68fa9c3d..748bc074 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -153,7 +153,9 @@
<?= html::script("lib/jquery.form.js") ?>
<?= html::script("lib/jquery.cookie.js") ?>
<?= html::script("lib/jquery.MultiFile.js") ?>
+ <? if (class_exists("rearrange_block")): ?>
<?= rearrange_block::head(null) ?>
+ <? endif ?>
</head>
<body>
<div class="outer">
diff --git a/core/views/welcome_syscheck.html.php b/core/views/welcome_syscheck.html.php
index e469a724..e46a179b 100644
--- a/core/views/welcome_syscheck.html.php
+++ b/core/views/welcome_syscheck.html.php
@@ -18,7 +18,7 @@
<? if (empty($errors)): ?>
<div class="block">
- <? if (empty($modules)): ?>
+ <? if (empty($modules['core'])): ?>
<p class="success">
Your system is ready, but Gallery is not yet installed.
</p>