aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-12-20 02:27:52 -0800
committerFrank Karlitschek <frank@owncloud.org>2013-12-20 02:27:52 -0800
commitdc45141f4abfedb10d6f908143b7a75e1ada6406 (patch)
treeb26241a5e639e25324e80d61325d650c666abddb /lib
parent371a476eb5c9192349cdcfbcf81e002ce47a837e (diff)
parent009e25788f3ad3118e2c72935ffee6591c0bc17b (diff)
downloadnextcloud-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.php1
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');