summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-22 19:41:31 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-24 18:41:48 +0200
commit2ff5df192b80da9e4bd773dcf48564dcd2fa51ed (patch)
treef2b1455752e1b71619f5611c4d424ec4345c4be8 /files
parent8648e3c43c26da898c17798f89d60c9505d149b3 (diff)
downloadnextcloud-server-2ff5df192b80da9e4bd773dcf48564dcd2fa51ed.tar.gz
nextcloud-server-2ff5df192b80da9e4bd773dcf48564dcd2fa51ed.zip
files: fix wrong image paths if called from files_shareing/get.php
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'files')
-rw-r--r--files/templates/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index 4e105811f05..fc01c751a6a 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -30,12 +30,12 @@
<input type="checkbox" id="select_all" />
<span class='name'><?php echo $l->t( 'Name' ); ?></span>
<span class='selectedActions'>
- <a href="" title="<?php echo $l->t('Download')?>" class="download"><img class='svg' alt="Download" src="../core/img/actions/download.svg" /></a>
- <a href="" title="Share" class="share"><img class='svg' alt="Share" src="../core/img/actions/share.svg" /></a>
+ <a href="" title="<?php echo $l->t('Download')?>" class="download"><img class='svg' alt="Download" src="<?php echo image_path("core", "actions/download.svg"); ?>" /></a>
+ <a href="" title="Share" class="share"><img class='svg' alt="Share" src="<?php echo image_path("core", "actions/share.svg"); ?>" /></a>
</span>
</th>
<th id="headerSize"><?php echo $l->t( 'Size' ); ?></th>
- <th id="headerDate"><span id="modified"><?php echo $l->t( 'Modified' ); ?></span><span class="selectedActions"><a href="" title="Delete" class="delete"><img class="svg" alt="<?php echo $l->t('Delete')?>" src="../core/img/actions/delete.svg" /></a></span></th>
+ <th id="headerDate"><span id="modified"><?php echo $l->t( 'Modified' ); ?></span><span class="selectedActions"><a href="" title="Delete" class="delete"><img class="svg" alt="<?php echo $l->t('Delete')?>" src="<?php echo image_path("core", "actions/delete.svg"); ?>" /></a></span></th>
</tr>
</thead>
<tbody id="fileList">