diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-12-20 02:27:52 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-12-20 02:27:52 -0800 |
commit | dc45141f4abfedb10d6f908143b7a75e1ada6406 (patch) | |
tree | b26241a5e639e25324e80d61325d650c666abddb /lib | |
parent | 371a476eb5c9192349cdcfbcf81e002ce47a837e (diff) | |
parent | 009e25788f3ad3118e2c72935ffee6591c0bc17b (diff) | |
download | nextcloud-server-dc45141f4abfedb10d6f908143b7a75e1ada6406.tar.gz nextcloud-server-dc45141f4abfedb10d6f908143b7a75e1ada6406.zip |
Merge pull request #6262 from nickvergessen/issue/4375
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'); |