Revert "Minor improvements (#766)"

This reverts commit 75c0920dce.
This commit is contained in:
Roman Kelesidis 2023-06-08 00:03:01 +07:00
commit 4c725f6246
5 changed files with 41 additions and 20 deletions

View file

@ -103,6 +103,21 @@ $data['tracker_forums'] = implode(',', $data['tracker_forums']);
$this->store('cat_forums', $data);
//
// jumpbox
//
if ($bb_cfg['show_jumpbox']) {
$data = array(
'guest' => get_forum_select('guest', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'viewforum.php?f=\'+this.value;"'),
'user' => get_forum_select('user', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'viewforum.php?f=\'+this.value;"'),
);
$this->store('jumpbox', $data);
file_write($data['guest'], AJAX_HTML_DIR . '/jumpbox_guest.html', false, true, true);
file_write($data['user'], AJAX_HTML_DIR . '/jumpbox_user.html', false, true, true);
}
//
// viewtopic_forum_select
//