diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-02-26 02:38:32 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-02-26 02:38:32 +0000 |
commit | 30fdedfb508392c9f76ff9ae5ccade90a80fc910 (patch) | |
tree | a94461839dc862f83e2f5822647b2b17a8d59431 /core | |
parent | 11a7b6b751e375b0fd9efa32aa45c54f71c4dfe8 (diff) |
Make theme details its own page so that we can wrap it in a div and
give it a title.
Diffstat (limited to 'core')
-rw-r--r-- | core/controllers/admin_theme_details.php | 3 | ||||
-rw-r--r-- | core/views/admin_theme_details.html.php | 6 |
2 files changed, 8 insertions, 1 deletions
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 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<div id="gAdminThemeDetails"> + <h1> <?= t("Theme Details") ?> </h1> + + <?= $form ?> +</div> |