diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/settings/frame.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/templates/settings/frame.php b/settings/templates/settings/frame.php index 1734a92b064..e32c4ed2fc9 100644 --- a/settings/templates/settings/frame.php +++ b/settings/templates/settings/frame.php @@ -30,8 +30,10 @@ script('files', 'jquery.fileupload'); <div id="app-navigation"> <ul> - <li class="app-navigation-caption"><?php p($l->t('Personal')); ?></li> + <?php if(!empty($_['forms']['admin'])) { ?> + <li class="app-navigation-caption"><?php p($l->t('Personal')); ?></li> <?php + } foreach($_['forms']['personal'] as $form) { if (isset($form['anchor'])) { $anchor = \OC::$server->getURLGenerator()->linkToRoute('settings.PersonalSettings.index', ['section' => $form['anchor']]); |