Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix categories name float left

  • Loading branch information...
commit cb608b9abcb1f79ede9db3a0f349937c8458add7 1 parent 3801848
unknown authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 catalog/includes/classes/breadcrumb.php
View
16 catalog/includes/classes/breadcrumb.php
@@ -26,20 +26,20 @@ function add($title, $link = '') {
}
function trail($separator = ' - ') {
- $trail_string = '';
-
- $n=sizeof($this->_trail);
- for ($i=0; $i<$n; $i++) {
+ $trail_string = ' ';
+$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>';
} else {
$trail_string .= $this->_trail[$i]['title'];
}
if (($i+1) < $n) $trail_string .= $separator;
+ $trail_string .= '</div>';
}
-
+
return $trail_string;
}
- }
-?>
+ }
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.