mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +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?
|
$opt[] = "<a href='".e_HTTP."'>".$homeIcon."</a>"; // Add Site-Pref to disable?
|
||||||
|
|
||||||
$text = '<ul class="breadcrumb">
|
$text = '<ul class="breadcrumb">
|
||||||
<li>';
|
<li class="breadcrumb-item">';
|
||||||
|
|
||||||
foreach($array as $val)
|
foreach($array as $val)
|
||||||
{
|
{
|
||||||
@@ -3111,7 +3111,7 @@ class e_form
|
|||||||
|
|
||||||
$sep = (deftrue('BOOTSTRAP') === 3) ? "" : "<span class='divider'>/</span>";
|
$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>";
|
$text .= "</li></ul>";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user