diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index 831bd4f49c..b21a26da05 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -84,7 +84,9 @@ function sc_iconkey() return null; } - return " + $FORUM_TEMPLATE = varset($GLOBALS['FORUM_TEMPLATE']); + return (defset('BOOTSTRAP') && !empty($FORUM_TEMPLATE['iconkey'])) ? e107::getParser()->parseTemplate($FORUM_TEMPLATE['iconkey'], true, $this) : + " \n diff --git a/e107_plugins/forum/templates/forum_template.php b/e107_plugins/forum/templates/forum_template.php index 3a7effdd74..b6dc50fa0d 100644 --- a/e107_plugins/forum/templates/forum_template.php +++ b/e107_plugins/forum/templates/forum_template.php @@ -173,7 +173,14 @@ $FORUM_TEMPLATE['track']['end'] = "
".defset('IMAGE_new_small')." ".LAN_FORUM_0039."
\n"; - +$FORUM_TEMPLATE['iconkey'] = "\n + + + + + + +\n
".defset('IMAGE_new_small')."".LAN_FORUM_0039."".defset('IMAGE_nonew_small')."".LAN_FORUM_0040."".defset('IMAGE_closed_small')."".LAN_FORUM_0041."
\n"; /*