$haveImages = true;
}
-$breadcrumbs = Ansel::getBreadCrumbs(' » ', $gallery);
+$breadcrumbs = Ansel::getBreadCrumbs($gallery);
$title = _("Add Photo");
require ANSEL_TEMPLATES . '/common-header.inc';
require ANSEL_TEMPLATES . '/menu.inc';
*
* @return string
*/
- static public function getBreadCrumbs($separator = ' » ', $gallery = null)
+ static public function getBreadCrumbs($gallery = null, $separator = ' » ')
{
global $prefs;
<?php echo $this->numTiles > $this->perpage ? sprintf(_("%d to %d of %d items"), $this->pagestart, $this->pageend, $this->numTiles) : sprintf(ngettext("%d item", "%d items", $this->numTiles), $this->numTiles) ?>
</span>
<?php endif; ?>
- <?php echo Ansel::getBreadCrumbs(); ?>
+ <?php echo Ansel::getBreadCrumbs($this->view->gallery) ?>
</div>
<?php if ($this->view->gallery->get('desc')): ?>
<div id="galleryDescription" class="gallery-desc">
<?php endif; ?>
</script>
<div class="header" id="galleryHeader">
- <?php echo ($this->numTiles ? '<span class="rightFloat">' . ($this->numTiles > $this->perpage ? sprintf(_("%d to %d of %d Items"), $this->pagestart, $this->pageend, $this->numTiles) : sprintf(ngettext("%d Item", "%d Items", $this->numTiles), $this->numTiles)) . '</span>' : '') . Ansel::getBreadCrumbs(); ?>
+ <?php echo ($this->numTiles ? '<span class="rightFloat">' . ($this->numTiles > $this->perpage ? sprintf(_("%d to %d of %d Items"), $this->pagestart, $this->pageend, $this->numTiles) : sprintf(ngettext("%d Item", "%d Items", $this->numTiles), $this->numTiles)) . '</span>' : '') . Ansel::getBreadCrumbs($this->view->gallery) ?>
</div>
<?php if ($this->view->gallery->get('desc')): ?>
<div class="gallery-desc" id="galleryDescription">
}
}
</script>
-<h1 class="header" id="PhotoName"><?php echo Ansel::getBreadCrumbs(); ?></h1>
+<h1 class="header" id="PhotoName"><?php echo Ansel::getBreadCrumbs($this->gallery) ?></h1>
<table style="width: 100%; border-collapse: collapse">
<tr>
<td valign="top" style="background-color:<?php echo $this->_style['background']; ?>;">