aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-18 12:36:14 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-18 12:36:14 +0200
commitfb183f81439639b6899200bf456060678fc26949 (patch)
treec9e01eda187556ca836c6daf31f57cb90c202a89 /core/templates/layout.user.php
parent3c7d2544b9c71891ed412b69e942f1cdfb9580e0 (diff)
downloadnextcloud-server-fb183f81439639b6899200bf456060678fc26949.tar.gz
nextcloud-server-fb183f81439639b6899200bf456060678fc26949.zip
Add cachebuster to right navigation
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index a5025d5beda..17f895bc17d 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -81,14 +81,14 @@
<li>
<a href="<?php print_unescaped($entry['href']); ?>"
<?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
- <img alt="" src="<?php print_unescaped($entry['icon']); ?>">
+ <img alt="" src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>">
<?php p($entry['name']) ?>
</a>
</li>
<?php endforeach; ?>
<li>
<a id="logout" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>>
- <img alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>">
+ <img alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg') . '?v=' . $_['versionHash']); ?>">
<?php p($l->t('Log out'));?>
</a>
</li>