diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-27 16:15:00 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-27 16:17:29 -0700 | 
| commit | 88a3d43ba9b9377ba6bbe21a4547220ae3a37276 (patch) | |
| tree | bcdfaa4188a7e9a8e698c895f84f0ca899005391 /modules/gallery/controllers/admin_themes.php | |
| parent | 12fe58d997d2066dc362fd393a18b4e5da190513 (diff) | |
Update all references to the core application to now point to the
gallery module.  This type of mass update is prone to some small bugs.
Diffstat (limited to 'modules/gallery/controllers/admin_themes.php')
| -rw-r--r-- | modules/gallery/controllers/admin_themes.php | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/modules/gallery/controllers/admin_themes.php b/modules/gallery/controllers/admin_themes.php index 05c134d1..aef6c2d1 100644 --- a/modules/gallery/controllers/admin_themes.php +++ b/modules/gallery/controllers/admin_themes.php @@ -21,8 +21,8 @@ class Admin_Themes_Controller extends Admin_Controller {    public function index() {      $view = new Admin_View("admin.html");      $view->content = new View("admin_themes.html"); -    $view->content->admin = module::get_var("core", "active_admin_theme"); -    $view->content->site = module::get_var("core", "active_site_theme"); +    $view->content->admin = module::get_var("gallery", "active_admin_theme"); +    $view->content->site = module::get_var("gallery", "active_site_theme");      $view->content->themes = $this->_get_themes();      print $view;    } @@ -64,11 +64,11 @@ class Admin_Themes_Controller extends Admin_Controller {        parse_ini_file(THEMEPATH . "$theme_name/theme.info"), ArrayObject::ARRAY_AS_PROPS);      if ($type == "admin" && $info->admin) { -      module::set_var("core", "active_admin_theme", $theme_name); +      module::set_var("gallery", "active_admin_theme", $theme_name);        message::success(t("Successfully changed your admin theme to <b>%theme_name</b>",                           array("theme_name" => $info->name)));      } else if ($type == "site" && $info->site) { -      module::set_var("core", "active_site_theme", $theme_name); +      module::set_var("gallery", "active_site_theme", $theme_name);        message::success(t("Successfully changed your Gallery theme to <b>%theme_name</b>",                           array("theme_name" => $info->name)));      } | 
