]> source.dussan.org Git - nextcloud-server.git/commitdiff
files: fix wrong image paths if called from files_shareing/get.php
authorFlorian Pritz <bluewind@xinu.at>
Thu, 22 Sep 2011 17:41:31 +0000 (19:41 +0200)
committerFlorian Pritz <bluewind@xinu.at>
Sat, 24 Sep 2011 16:41:48 +0000 (18:41 +0200)
Signed-off-by: Florian Pritz <bluewind@xinu.at>
files/templates/index.php

index 4e105811f051a7d41c9a2fd9e5102847f2f5378f..fc01c751a6a1f0505c723e78d3a6362f17aa3f0b 100644 (file)
                                <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">