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

Issue #4368 Fixed hardcoded string for 'related' content. Now uses tablerender(). Shortcode processing of {---CAPTION---} added.

This commit is contained in:
Cameron
2021-03-22 11:26:51 -07:00
parent 21f8fdcbf6
commit c33b91ee5c
4 changed files with 14 additions and 7 deletions

View File

@@ -161,6 +161,11 @@
$ret[$sc] = isset($val[$var]) ? (string) $val[$var] : null;
}
if($tmp = e107::callMethod('theme_shortcodes', 'sc_caption', varset($val['caption'])))
{
$ret['{---CAPTION---}'] = $tmp;
}
$bread = e107::breadcrumb();
$ret['{---BREADCRUMB---}'] = e107::getForm()->breadcrumb($bread, true);