Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/reader
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-28 19:52:36 +0400
committerLukas Reschke <lukas@statuscode.ch>2013-02-28 19:52:36 +0400
commita6643a99777cdfe9b6d65139877662147c0e9775 (patch)
tree6d0b202bc084ac73a214ab0c61f89064ec41ea72 /reader
parentce6f7fca1b3fedc471f1f0586682907e996d51c9 (diff)
Replace image path
Diffstat (limited to 'reader')
-rwxr-xr-xreader/templates/index.php2
-rwxr-xr-xreader/templates/results.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/reader/templates/index.php b/reader/templates/index.php
index fb0fb35b3..b3fb838a4 100755
--- a/reader/templates/index.php
+++ b/reader/templates/index.php
@@ -22,7 +22,7 @@
if( $path != '' ){
for($i=0; $i<count($path); $i++){
$curr_path .= '/'.str_replace('+','%20', urlencode($path[$i]));?>
- <div class="crumb <?php if($i == count($path)-1) echo 'last';?> svg" data-dir='<?php echo $curr_path;?>' style='background-image:url("<?php echo OCP\image_path('core','breadcrumb.png');?>")'>
+ <div class="crumb <?php if($i == count($path)-1) echo 'last';?> svg" data-dir='<?php echo $curr_path;?>' style='background-image:url("<?php print_unescaped(OCP\image_path('core','breadcrumb.png'));?>")'>
<a href="<?php echo $base_url.$curr_path.'/'; ?>"><?php echo htmlentities($path[$i],ENT_COMPAT,'utf-8'); ?></a>
</div>
<? }
diff --git a/reader/templates/results.php b/reader/templates/results.php
index 9b0df040e..829d98526 100755
--- a/reader/templates/results.php
+++ b/reader/templates/results.php
@@ -15,7 +15,7 @@
if( $path != '' ){
for($i=0; $i<count($path); $i++){
$curr_path .= '/'.str_replace('+','%20', urlencode($path[$i]));?>
- <div class="crumb <?php if($i == count($path)-1) echo 'last';?> svg" data-dir='<?php echo $curr_path;?>' style='background-image:url("<?php echo OCP\image_path('core','breadcrumb.png');?>")'>
+ <div class="crumb <?php if($i == count($path)-1) echo 'last';?> svg" data-dir='<?php echo $curr_path;?>' style='background-image:url("<?php print_unescaped(OCP\image_path('core','breadcrumb.png'));?>")'>
<a href="<?php echo $base_url.$curr_path.'/'; ?>"><?php echo htmlentities($path[$i],ENT_COMPAT,'utf-8'); ?></a>
</div>
<?php }