From ee3735bfaad2b30dd50c16f2b74a731087bc080b Mon Sep 17 00:00:00 2001 From: rica-carv Date: Thu, 10 Nov 2016 20:51:24 +0000 Subject: [PATCH] Viewable_by shortcode wrapper enabled Viewable_by shortcode wrapper enabled --- .../forum/shortcodes/batch/viewforum_shortcodes.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()