diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-22 11:18:42 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-01-24 18:04:20 +0100 |
commit | 75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d (patch) | |
tree | 87a0dc613cdc081a9f3e8dd90d3fd7e613d1c000 /apps | |
parent | 82d38528159cdf725b209f1ba7f37498e6ab7820 (diff) | |
download | nextcloud-server-75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d.tar.gz nextcloud-server-75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d.zip |
Remove OC_Helper::imagePath and use the proper public interface
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/list.php | 4 | ||||
-rw-r--r-- | apps/files_sharing/templates/public.php | 4 | ||||
-rw-r--r-- | apps/files_trashbin/templates/index.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 7906dfc64eb..ea3e6c61d4a 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -53,7 +53,7 @@ <span id="selectedActionsList" class="selectedActions"> <a href="" class="download"> <img class="svg" alt="" - src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>" /> + src="<?php print_unescaped(image_path("core", "actions/download.svg")); ?>" /> <?php p($l->t('Download'))?> </a> </span> @@ -67,7 +67,7 @@ <span class="selectedActions"><a href="" class="delete-selected"> <?php p($l->t('Delete'))?> <img class="svg" alt="" - src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" /> + src="<?php print_unescaped(image_path("core", "actions/delete.svg")); ?>" /> </a></span> </th> </tr> 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> diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index b5c1c622156..a7c1df93af2 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -31,7 +31,7 @@ <span id="selectedActionsList" class='selectedActions'> <a href="" class="undelete"> <img class="svg" alt="" - src="<?php print_unescaped(OCP\image_path("core", "actions/history.svg")); ?>" /> + src="<?php print_unescaped(image_path("core", "actions/history.svg")); ?>" /> <?php p($l->t('Restore'))?> </a> </span> @@ -43,7 +43,7 @@ <a href="" class="delete-selected"> <?php p($l->t('Delete'))?> <img class="svg" alt="" - src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" /> + src="<?php print_unescaped(image_path("core", "actions/delete.svg")); ?>" /> </a> </span> </th> |