Skip to content

Commit

Permalink
Fix layout break out
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Sep 3, 2011
1 parent 068127f commit 8c5673e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/includes/classes/breadcrumb.php
Expand Up @@ -30,13 +30,13 @@ function trail($separator = ' - ') {
$n=sizeof($this->_trail);
for ($i=0; $i<$n; $i++) {
if (isset($this->_trail[$i]['link']) && tep_not_null($this->_trail[$i]['link'])) {
$trail_string .= '<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb" style="float:left;"><a href="' . $this->_trail[$i]['link'] . '" itemprop="url" class="headerNavigation"><span itemprop="title" style="float:left;" >' . $this->_trail[$i]['title'] . '</span></a>';
$trail_string .= '<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb" style="float:left;"><a href="' . $this->_trail[$i]['link'] . '" itemprop="url" class="headerNavigation"><span itemprop="title" style="float:left;" >' . $this->_trail[$i]['title'] . '</span></a></div>';
} else {
$trail_string .= $this->_trail[$i]['title'];
}

if (($i+1) < $n) $trail_string .= $separator;
$trail_string .= '</div>';

}

return $trail_string;
Expand Down

0 comments on commit 8c5673e

Please sign in to comment.