diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index 0830e4f0f9..646e716242 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -84,10 +84,9 @@ function sc_iconkey() return null; } - global $FORUM_TEMPLATE; - if($FORUM_TEMPLATE['iconkey']){return $FORUM_TEMPLATE['iconkey'];} - - return " + $FORUM_TEMPLATE = varset($GLOBALS['FORUM_TEMPLATE']); + return (defset('BOOTSTRAP') && !empty($FORUM_TEMPLATE['iconkey'])) ? e107::getParser()->parseTemplate($FORUM_TEMPLATE['iconkey'], true, $this) : + "
".defset('IMAGE_new_small')." | ".LAN_FORUM_0039." |