Revert "Minor improvements (#759)"

This reverts commit 0728fad7d7.
This commit is contained in:
Roman Kelesidis 2023-06-02 23:05:01 +07:00
commit dd638fda7e
3 changed files with 12 additions and 6 deletions

View file

@ -17,6 +17,7 @@ $page_cfg['load_tpl_vars'] = array(
$show_last_topic = true;
$last_topic_max_len = 28;
$show_online_users = true;
$show_subforums = true;
$datastore->enqueue(array(
@ -402,6 +403,9 @@ if (IS_AM) {
}
}
// Display page
define('SHOW_ONLINE', $show_online_users);
if (isset($_GET['map'])) {
$template->assign_vars(array('PAGE_TITLE' => $lang['FORUM_MAP']));
}