diff --git a/e107_plugins/forum/forum_viewtopic.php b/e107_plugins/forum/forum_viewtopic.php index de6f32e7e..ea07468c5 100644 --- a/e107_plugins/forum/forum_viewtopic.php +++ b/e107_plugins/forum/forum_viewtopic.php @@ -378,7 +378,7 @@ function forumjump() { $text .= "\n"; } - $text .= " "; + $text .= "
"; return $text; } diff --git a/e107_plugins/forum/newforumposts_menu.php b/e107_plugins/forum/newforumposts_menu.php index 6423b094e..5191062ad 100755 --- a/e107_plugins/forum/newforumposts_menu.php +++ b/e107_plugins/forum/newforumposts_menu.php @@ -24,7 +24,7 @@ $max_age = varset($menu_pref['newforumposts_maxage'], 0); $max_age = $max_age == 0 ? '' : '(t.post_datestamp > '.(time()-(int)$max_age*86400).') AND '; $forum = new e107forum; -$forumList = implode(',', $forum->permList['view']); +$forumList = implode(',', $forum->getForumPermList('view')); //TODO: Use query from forum class to get thread list $qry = " SELECT @@ -74,14 +74,12 @@ if($results = $e107->sql->db_Select_gen($qry)) } else { - $text .= "".NFP_11." {$poster}