summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-16 00:13:10 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-16 00:13:10 +0200
commit7279a07ca20949cf3cee82faf064d6aae8cf0a99 (patch)
tree01d912d1743db2e34225383d3f8b9783c9b6e295 /core/templates
parentd91104e120d570eaf3d80c23c5caf6b597b24db7 (diff)
parentbd1895bdf8dff07bf9dc9803ce991e39daa52acc (diff)
downloadnextcloud-server-7279a07ca20949cf3cee82faf064d6aae8cf0a99.tar.gz
nextcloud-server-7279a07ca20949cf3cee82faf064d6aae8cf0a99.zip
Merge branch 'master' into mimetype-defaults
Conflicts: apps/files/ajax/newfile.php
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index b7405ea273b..3c1114492cb 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -89,6 +89,19 @@
</a>
</li>
<?php endforeach; ?>
+
+ <!-- show "More apps" link to app administration directly in app navigation -->
+ <?php if(OC_User::isAdminUser(OC_User::getUser())): ?>
+ <li id="apps-management">
+ <a href="<?php print_unescaped(OC_Helper::linkToRoute('settings_apps').'?installed'); ?>" title=""
+ <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
+ <img class="icon svg" src="<?php print_unescaped(OC_Helper::imagePath('settings', 'apps.svg')); ?>"/>
+ <span>
+ <?php p($l->t('More apps')); ?>
+ </span>
+ </a>
+ </li>
+ <?php endif; ?>
</ul>
</div></nav>