|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
var root = "<?php echo OCP\Util::sanitizeHTML($_['root']); ?>";
|
|
|
|
|
var root = "<?php echo $_['root']; ?>";
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
$("a[rel=images]").fancybox({
|
|
|
|
|
@ -18,7 +18,7 @@ $(document).ready(function() {
|
|
|
|
|
for ($i = 0; $i < count($paths); $i++) {
|
|
|
|
|
$path .= urlencode($paths[$i]).'/';
|
|
|
|
|
$classess = 'crumb'.($i == count($paths)-1?' last':'');
|
|
|
|
|
echo '<div class="'.$classess.'" style="background-image:url(\''.\OCP\image_path('core','breadcrumb.png').'\')"><a href="'.\OCP\Util::linkTo('gallery', 'index.php').'&root='.$path.'">'.$paths[$i].'</a></div>';
|
|
|
|
|
echo '<div class="'.$classess.'" style="background-image:url(\''.\OCP\image_path('core','breadcrumb.png').'\')"><a href="'.\OCP\Util::linkTo('gallery', 'index.php').'&root='.$path.'">'.OCP\Util::sanitizeHTML($paths[$i]).'</a></div>';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|