mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Simplified jumpbox 📜 (#815)
* Simplified jumpbox 📜
* Updated
* Update README.md
* Updated
* Update page_header.tpl
* Update functions.php
This commit is contained in:
parent
867c0ec1a2
commit
f098041713
8 changed files with 27 additions and 25 deletions
|
@ -106,15 +106,14 @@ $this->store('cat_forums', $data);
|
|||
//
|
||||
// jumpbox
|
||||
//
|
||||
$data = [
|
||||
'guest' => get_forum_select('guest', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'' . FORUM_URL . '\'+this.value;"'),
|
||||
'user' => get_forum_select('user', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'' . FORUM_URL . '\'+this.value;"'),
|
||||
];
|
||||
if ($bb_cfg['show_jumpbox']) {
|
||||
$data = [
|
||||
'guest' => get_forum_select('guest', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'' . FORUM_URL . '\'+this.value;"'),
|
||||
'user' => get_forum_select('user', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'' . FORUM_URL . '\'+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);
|
||||
$this->store('jumpbox', $data);
|
||||
}
|
||||
|
||||
//
|
||||
// viewtopic_forum_select
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue