diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-12-09 18:47:51 +0400 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-12-09 18:53:31 +0400 |
commit | 009e25788f3ad3118e2c72935ffee6591c0bc17b (patch) | |
tree | d8450ec962ae31e035b4333b7d1bb2d46d88ff4e /lib/private/templatelayout.php | |
parent | cec17fd3e2f53b987d9c51497a5aa9f959710f3c (diff) |
correctly mark app management active
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r-- | lib/private/templatelayout.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index 625f3424a04..d5cd5039753 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -46,6 +46,7 @@ class OC_TemplateLayout extends OC_Template { $user_displayname = OC_User::getDisplayName(); $this->assign( 'user_displayname', $user_displayname ); $this->assign( 'user_uid', OC_User::getUser() ); + $this->assign( 'appsmanagement_active', strpos(OC_Request::requestUri(), OC_Helper::linkToRoute('settings_apps')) === 0 ); $this->assign('enableAvatars', \OC_Config::getValue('enable_avatars', true)); } else if ($renderas == 'guest' || $renderas == 'error') { parent::__construct('core', 'layout.guest'); |