function mapforum() { $tmp = ''; $tmp .= RecentForumPosts_fab('', 10, 0, false, 50, false, '<li>', false); if ($tmp != '') { echo ' <h3> <a class="" data-toggle="collapse" href="#collapseForums" aria-expanded="false" aria-controls="collapseForums"><i class="fa fa-caret-down"></i></a> ' . translate("Forums!") . ' </h3> <div class="collapse" id="collapseForums"> <div class="card"> ' . $tmp . ' </div> </div>'; } }
function RecentForumPosts($title, $maxforums, $maxtopics, $displayposter = false, $topicmaxchars = 15, $hr = false, $decoration = "") { $boxstuff = RecentForumPosts_fab($title, $maxforums, $maxtopics, $displayposter, $topicmaxchars, $hr); global $block_title; if ($title == '') { if ($block_title == '') { $title = translate("Forums infos"); } else { $title = $block_title; } } themesidebox($title, $boxstuff); }