mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Merge pull request #2941 from Jimmi08/patch-1
correct markup for breadcrumbs #2898
This commit is contained in:
@@ -3089,7 +3089,7 @@ class e_form
|
||||
$opt[] = "<a href='".e_HTTP."'>".$homeIcon."</a>"; // Add Site-Pref to disable?
|
||||
|
||||
$text = '<ul class="breadcrumb">
|
||||
<li>';
|
||||
<li class="breadcrumb-item">';
|
||||
|
||||
foreach($array as $val)
|
||||
{
|
||||
@@ -3111,7 +3111,7 @@ class e_form
|
||||
|
||||
$sep = (deftrue('BOOTSTRAP') === 3) ? "" : "<span class='divider'>/</span>";
|
||||
|
||||
$text .= implode($sep."</li><li>",$opt);
|
||||
$text .= implode($sep."</li><li class='breadcrumb-item'>",$opt);
|
||||
|
||||
$text .= "</li></ul>";
|
||||
|
||||
|
Reference in New Issue
Block a user