diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-12-09 15:47:51 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-12-09 15:53:31 +0100 |
commit | 009e25788f3ad3118e2c72935ffee6591c0bc17b (patch) | |
tree | d8450ec962ae31e035b4333b7d1bb2d46d88ff4e /lib | |
parent | cec17fd3e2f53b987d9c51497a5aa9f959710f3c (diff) | |
download | nextcloud-server-009e25788f3ad3118e2c72935ffee6591c0bc17b.tar.gz nextcloud-server-009e25788f3ad3118e2c72935ffee6591c0bc17b.zip |
correctly mark app management active
Diffstat (limited to 'lib')
-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'); |