Skip to content

Commit 68083b4

Browse files
authored
Merge pull request #55 from ggoffy/master
- fixed problems with breadcrumb template
2 parents f97a264 + 31ef0ff commit 68083b4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

class/Files/Templates/User/Defstyle/Breadcrumbs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ public function render()
100100
$link = $this->sc->getSmartyDoubleVar('itm', 'link');
101101
$glyph = $this->hc->getHtmlTag('i', ['class' => 'glyphicon glyphicon-home'], '', false, '', '');
102102
$anchor = $this->hc->getHtmlAnchor('<{xoAppUrl index.php}>', $glyph, 'home');
103-
$into = $this->hc->getHtmlLi($anchor, 'bc-item', "\t");
103+
$into = $this->hc->getHtmlLi($anchor, 'breadcrumb-item', "\t");
104104
$anchorIf = $this->hc->getHtmlAnchor($link, $title, $title, '', '', '', "\t\t\t", "\n");
105105
$breadcrumb = $this->sc->getSmartyConditions('itm.link', '', '', $anchorIf, $titleElse, false, false, "\t\t", "\n");
106-
$foreach = $this->hc->getHtmlLi($breadcrumb, 'bc-item', "\t", "\n", true);
106+
$foreach = $this->hc->getHtmlLi($breadcrumb, 'breadcrumb-item', "\t", "\n", true);
107107
$into .= $this->sc->getSmartyForeach('itm', 'xoBreadcrumbs', $foreach, 'bcloop', '', "\t");
108108

109109
$content = $this->hc->getHtmlOl($into, 'breadcrumb');

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- fixed problems with missing tables and fields (cesagonchu/goffy)
1010
- added developer tool function qualifier (goffy)
1111
- added developer tool check language files (goffy)
12+
- fixed problems with breadcrumb template (cesagonchu/goffy)
1213

1314
<h5>3.04 Alpha 1 [2020-06-12]</h5> Dev: XOOPS 2.5.11, PHP 7.4.5
1415
<hr>

0 commit comments

Comments
 (0)