summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-22 11:18:42 +0100
committerLukas Reschke <lukas@owncloud.com>2016-01-24 18:04:20 +0100
commit75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d (patch)
tree87a0dc613cdc081a9f3e8dd90d3fd7e613d1c000 /apps/files_sharing/templates
parent82d38528159cdf725b209f1ba7f37498e6ab7820 (diff)
downloadnextcloud-server-75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d.tar.gz
nextcloud-server-75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d.zip
Remove OC_Helper::imagePath and use the proper public interface
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index e6c4f57009f..ae00b01dca2 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -81,7 +81,7 @@ $thumbSize = 1024;
</span>
<?php } ?>
<a href="<?php p($_['downloadURL']); ?>" id="download" class="button">
- <img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
+ <img class="svg" alt="" src="<?php print_unescaped(image_path("core", "actions/download.svg")); ?>"/>
<span id="download-text"><?php p($l->t('Download'))?></span>
</a>
</span>
@@ -105,7 +105,7 @@ $thumbSize = 1024;
<?php endif; ?>
<div class="directDownload">
<a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
- <img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
+ <img class="svg" alt="" src="<?php print_unescaped(image_path("core", "actions/download.svg")); ?>"/>
<?php p($l->t('Download %s', array($_['filename'])))?> (<?php p($_['fileSize']) ?>)
</a>
</div>