get("profiler", false)) { $profiler = new Profiler(); $profiler->render(); } if ($theme->item() && access::can("edit", $theme->item())) { return new View("in_place_edit.html"); } } public static function admin_dashboard_blocks($theme) { $block = new Block(); $block->id = "gWelcome"; $block->title = _("Welcome to Gallery3"); $block->content = new View("admin_dashboard_welcome.html"); return $block; } }