Skip to content

Commit

Permalink
Update forum_shortcodes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rica-carv authored Aug 11, 2024
1 parent 47455d6 commit b2cbe78
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) :
"
<table class='table table-bordered' style='width:100%'>\n<tr>
<td style='width:2%'>".defset('IMAGE_new_small')."</td>
<td style='width:10%'><span class='smallblacktext'>".LAN_FORUM_0039."</span></td>
Expand Down

0 comments on commit b2cbe78

Please sign in to comment.