diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-26 18:58:07 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-26 18:58:07 +0400 |
commit | 5c81297e7a4c4bf848d61fabd50ffb6af1103e05 (patch) | |
tree | b7c9fa00b055b796e4e71f14d0dde4b57db8268c /plugins/SitesManager/Controller.php | |
parent | 96c02ccf5b5e6feea034f28e6295661dd8946896 (diff) |
refs #877 - apply changes across all admin plugins
Diffstat (limited to 'plugins/SitesManager/Controller.php')
-rw-r--r-- | plugins/SitesManager/Controller.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php index 86dc474ce3..e8114ac4ac 100644 --- a/plugins/SitesManager/Controller.php +++ b/plugins/SitesManager/Controller.php @@ -15,6 +15,12 @@ */ class Piwik_SitesManager_Controller extends Piwik_Controller { + protected function setGeneralVariablesView($view) + { + parent::setGeneralVariablesView($view); + $view->menu = Piwik_GetAdminMenu(); + } + function index() { $view = new Piwik_View('SitesManager/templates/SitesManager.tpl'); @@ -24,7 +30,7 @@ class Piwik_SitesManager_Controller extends Piwik_Controller $site['alias_urls'] = Piwik_SitesManager_API::getSiteUrlsFromId($site['idsite']); } $view->adminSites = $sites; - $view->menu = Piwik_GetAdminMenu(); + $this->setGeneralVariablesView($view); echo $view->render(); } |