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

Magic Shortcode added for current breadcrumb. {---BREADCRUMB---} e107::breadcrumb() method added for plugins to set/get values.

This commit is contained in:
Cameron
2019-06-14 14:32:58 -07:00
parent 5d2076a344
commit 1d311ff543
4 changed files with 71 additions and 16 deletions

View File

@@ -137,7 +137,7 @@ if (varset($e107_popup) != 1)
}
if (isset($pref['displaycacheinfo']) && $pref['displaycacheinfo'])
{
$rinfo .= $cachestring.".";
// $rinfo .= $cachestring.".";
}
if ($pref['log_page_accesses'])
@@ -409,6 +409,9 @@ if (!empty($pref['e_output_list']) && is_array($pref['e_output_list']))
$search = array_keys($magicSC);
$replace = array_values($magicSC);
$bread = e107::breadcrumb();
$search[] = '{---BREADCRUMB---}';
$replace[] = e107::getForm()->breadcrumb($bread);
// New - see class2.php
$ehd = new e_http_header;