summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-06 07:33:59 -0800
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-06 07:33:59 -0800
commit09a4424b1f9458bc0ee57c3b5f5c8a2d6a6c3c77 (patch)
tree76111b32e42b75d160b55788ca0c63da8c81968b /core/templates
parent5f84f4b4fd31fe904d23b2ba3cf103fb365913c6 (diff)
parent8ea6398e48dc875a5a95c900cc210a36e4da1d89 (diff)
downloadnextcloud-server-09a4424b1f9458bc0ee57c3b5f5c8a2d6a6c3c77.tar.gz
nextcloud-server-09a4424b1f9458bc0ee57c3b5f5c8a2d6a6c3c77.zip
Merge pull request #1497 from owncloud/collapse-usermenu
collapse user menu when inside one of the settings sections
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index de505486f75..2547278547f 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -35,7 +35,7 @@
<?php echo OCP\User::getDisplayName($user=null)?OCP\User::getDisplayName($user=null):(OC_User::getUser()?OC_User::getUser():'') ?>
<img class="svg" src="<?php echo image_path('', 'actions/caret.svg'); ?>" />
</span>
- <div id="expanddiv" <?php if($_['bodyid'] == 'body-user') echo 'style="display:none;"'; ?>>
+ <div id="expanddiv">
<?php foreach($_['settingsnavigation'] as $entry):?>
<li>
<a href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>