mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#766)
This commit is contained in:
parent
ce9c3d9b47
commit
75c0920dce
5 changed files with 20 additions and 41 deletions
|
@ -103,21 +103,6 @@ $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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue