1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

{---BREADCRUMB---} processing is now supported. (see bootstrap5/theme_shortcodes.php for an example)

This commit is contained in:
Cameron
2021-06-04 12:27:25 -07:00
parent 1ae7e3a2ed
commit a6e287d680
3 changed files with 30 additions and 2 deletions

View File

@@ -167,7 +167,15 @@
}
$bread = e107::breadcrumb();
$ret['{---BREADCRUMB---}'] = e107::getForm()->breadcrumb($bread, true);
if($tmp = e107::callMethod('theme_shortcodes', 'sc_breadcrumb', $bread))
{
$ret['{---BREADCRUMB---}'] = $tmp;
}
else
{
$ret['{---BREADCRUMB---}'] = e107::getForm()->breadcrumb($bread, true);
}
return $ret;