summaryrefslogtreecommitdiff
path: root/core/controllers/admin_graphics.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-16 08:53:20 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-16 08:53:20 +0000
commitc0d8216037612617d2dee45bfd0ff1bea89050fd (patch)
tree3266adaf33108399bf168f394610325d313f2043 /core/controllers/admin_graphics.php
parent1055fe6be3c3161f79767214cf662ae8cdea7cc8 (diff)
Initialize some variables
Diffstat (limited to 'core/controllers/admin_graphics.php')
-rw-r--r--core/controllers/admin_graphics.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/controllers/admin_graphics.php b/core/controllers/admin_graphics.php
index f0855660..1624c896 100644
--- a/core/controllers/admin_graphics.php
+++ b/core/controllers/admin_graphics.php
@@ -21,6 +21,7 @@ class Admin_Graphics_Controller extends Admin_Controller {
public function index() {
$view = new Admin_View("admin.html");
$view->content = new View("admin_graphics.html");
+ $view->content->available = "";
$tk = new ArrayObject(graphics::detect_toolkits(), ArrayObject::ARRAY_AS_PROPS);
$active = module::get_var("core", "graphics_toolkit");
@@ -32,6 +33,7 @@ class Admin_Graphics_Controller extends Admin_Controller {
} else {
$v = new View("admin_graphics_$id.html");
$v->tk = $tk;
+ $v->is_active = false;
$view->content->available .= $v;
}
}