diff --git a/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php index 1aae23cef..74b60dd9f 100644 --- a/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php @@ -225,7 +225,11 @@ if(!empty($viewable)) //else //{ //-- Possible candidate for wrapper???? - return empty($viewable)?'':"
".LAN_FORUM_8012."
".$viewable."
"; +/* WORKING WRAPPER + $SC_WRAPPER['VIEWABLE_BY'] = "
".LAN_FORUM_8012."
{---}
"; + +*/ + return empty($viewable)?'':$viewable; } function sc_search() diff --git a/e107_plugins/forum/templates/forum_viewforum_template.php b/e107_plugins/forum/templates/forum_viewforum_template.php index ea7f1c5a9..42ba5ced9 100644 --- a/e107_plugins/forum/templates/forum_viewforum_template.php +++ b/e107_plugins/forum/templates/forum_viewforum_template.php @@ -343,6 +343,8 @@ $FORUM_VIEWFORUM_TEMPLATE['sub-footer'] = ""; $FORUM_VIEWFORUM_TEMPLATE['divider-important'] = "".LAN_FORUM_1006."".LAN_FORUM_0003."".LAN_FORUM_1005."".LAN_FORUM_0004.""; $FORUM_VIEWFORUM_TEMPLATE['divider-normal'] = "".LAN_FORUM_1007."".LAN_FORUM_0003."".LAN_FORUM_1005."".LAN_FORUM_0004.""; +$SC_WRAPPER['VIEWABLE_BY'] = "
".LAN_FORUM_8012."
{---}
"; + $FORUM_VIEWFORUM_TEMPLATE['footer'] = "