summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-27 07:30:28 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-27 07:30:28 +0000
commit47067c72ea1d282acf17b8731f826490fb1b6f53 (patch)
treed7f2948985d5c1e2a98a8923bca172877a5a1feb /core/helpers
parentaf56018f7c7335a3a98c1871a56991c08745dacb (diff)
Remove unused theme code left over from before virshu moved theme
settings into Admin_Themedetails.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/theme.php17
1 files changed, 4 insertions, 13 deletions
diff --git a/core/helpers/theme.php b/core/helpers/theme.php
index a2766028..174c5fbc 100644
--- a/core/helpers/theme.php
+++ b/core/helpers/theme.php
@@ -29,13 +29,13 @@ class theme_Core {
* active for any given request.
*/
static function load_themes() {
- $modules = Kohana::config('core.modules');
+ $modules = Kohana::config("core.modules");
if (Router::$controller == "admin") {
- array_unshift($modules, THEMEPATH . 'admin_default');
+ array_unshift($modules, THEMEPATH . "admin_default");
} else {
- array_unshift($modules, THEMEPATH . 'default');
+ array_unshift($modules, THEMEPATH . "default");
}
- Kohana::config_set('core.modules', $modules);
+ Kohana::config_set("core.modules", $modules);
}
static function get_edit_form_admin() {
@@ -53,14 +53,5 @@ class theme_Core {
$group->submit("")->value(t("Save"));
return $form;
}
-
- static function get_edit_form_content($theme_name) {
- $file = THEMEPATH . $theme_name . "/theme.info";
- $theme_info = new ArrayObject(parse_ini_file($file), ArrayObject::ARRAY_AS_PROPS);
- }
-
- static function get_var($theme_id, $name, $default_value = null) {
- return module::get_var($theme_id, $name, module::get_var("core", $name, $default_value));
- }
}