diff options
Diffstat (limited to 'apps/files/templates/part.breadcrumb.php')
-rw-r--r-- | apps/files/templates/part.breadcrumb.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php new file mode 100644 index 00000000000..16da6bb97b4 --- /dev/null +++ b/apps/files/templates/part.breadcrumb.php @@ -0,0 +1,6 @@ + <?php for($i=0; $i<count($_["breadcrumb"]); $i++): + $crumb = $_["breadcrumb"][$i]; ?> + <div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg" data-dir='<?php echo $crumb["dir"];?>' style='background-image:url("<?php echo image_path('core','breadcrumb.png');?>")'> + <a href="<?php echo $_['baseURL'].$crumb["dir"]; ?>"><?php echo htmlentities($crumb["name"]); ?></a> + </div> + <?php endfor;?>
\ No newline at end of file |