summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-26 02:38:32 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-26 02:38:32 +0000
commit30fdedfb508392c9f76ff9ae5ccade90a80fc910 (patch)
treea94461839dc862f83e2f5822647b2b17a8d59431 /core
parent11a7b6b751e375b0fd9efa32aa45c54f71c4dfe8 (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.php3
-rw-r--r--core/views/admin_theme_details.html.php6
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>