summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-05 01:40:19 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-05 01:42:17 +0200
commitcc445e4e477944a680bb19919cbfd0330d0f7851 (patch)
tree88d45e0fe503063b13b8b872acbd3707739bb77e /core
parent538e72fe61fe4a9e5b5cc9f3927b749c69f715a1 (diff)
downloadnextcloud-server-cc445e4e477944a680bb19919cbfd0330d0f7851.tar.gz
nextcloud-server-cc445e4e477944a680bb19919cbfd0330d0f7851.zip
Small changes to allow updating main menu dynamically.
Diffstat (limited to 'core')
-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 dc303ffc1a7..2abe4da8538 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -55,7 +55,7 @@
<nav><div id="navigation">
<ul id="apps" class="svg">
<?php foreach($_['navigation'] as $entry): ?>
- <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>><?php echo $entry['name']; ?></a>
+ <li data-id="<?php echo $entry['id']; ?>"><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>><?php echo $entry['name']; ?></a>
</li>
<?php endforeach; ?>
</ul>