summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-05 20:43:05 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-05 20:43:05 +0000
commitc936eebcf7c57cfca8c3ff2e7b97441351118640 (patch)
treed93f61cbcf2c4da4981dd0bc139c0bb18c762ffa /core/views
parenta2dd24d7cadfd8bcc1a89ea23d64bbe7713d038c (diff)
Don't do graphics detection in core_installer::install() because that
gets run at scaffolding::package() time, not on the target machine. Instead, create a core module variable to trigger running graphics::choose_default_toolkit() on the first admin login after install. Fixes ticket #206.
Diffstat (limited to 'core/views')
-rw-r--r--core/views/admin_graphics_none.html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/views/admin_graphics_none.html.php b/core/views/admin_graphics_none.html.php
new file mode 100644
index 00000000..5306a70d
--- /dev/null
+++ b/core/views/admin_graphics_none.html.php
@@ -0,0 +1,7 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="none" class="gBlock">
+ <h3 class="gWarning"> <?= t("No Active Toolkit") ?> </h3>
+ <p>
+ <?= t("We were unable to detect a graphics program. You must install one of the toolkits below in order to many Gallery features.") ?>
+ </p>
+</div>