From 30fdedfb508392c9f76ff9ae5ccade90a80fc910 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 26 Feb 2009 02:38:32 +0000 Subject: Make theme details its own page so that we can wrap it in a div and give it a title. --- core/controllers/admin_theme_details.php | 3 ++- core/views/admin_theme_details.html.php | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 core/views/admin_theme_details.html.php (limited to 'core') diff --git a/core/controllers/admin_theme_details.php b/core/controllers/admin_theme_details.php index ecb359de..938af295 100644 --- a/core/controllers/admin_theme_details.php +++ b/core/controllers/admin_theme_details.php @@ -20,7 +20,8 @@ class Admin_Theme_Details_Controller extends Admin_Controller { public function index() { $view = new Admin_View("admin.html"); - $view->content = theme::get_edit_form_admin(); + $view->content = new View("admin_theme_details.html"); + $view->content->form = theme::get_edit_form_admin(); print $view; } diff --git a/core/views/admin_theme_details.html.php b/core/views/admin_theme_details.html.php new file mode 100644 index 00000000..eb450b16 --- /dev/null +++ b/core/views/admin_theme_details.html.php @@ -0,0 +1,6 @@ + +
+

+ + +
-- cgit v1.2.3