diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 19:52:36 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 19:52:36 +0400 |
commit | a6643a99777cdfe9b6d65139877662147c0e9775 (patch) | |
tree | 6d0b202bc084ac73a214ab0c61f89064ec41ea72 /reader | |
parent | ce6f7fca1b3fedc471f1f0586682907e996d51c9 (diff) |
Replace image path
Diffstat (limited to 'reader')
-rwxr-xr-x | reader/templates/index.php | 2 | ||||
-rwxr-xr-x | reader/templates/results.php | 2 |
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 } |