mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Maked jumpbox optional (#727)
This commit is contained in:
parent
fa0bafebd3
commit
3ed0bf3bb5
4 changed files with 2 additions and 3 deletions
|
@ -519,6 +519,7 @@ $bb_cfg['allow_change'] = [
|
|||
];
|
||||
|
||||
$bb_cfg['show_board_start_date'] = true;
|
||||
$bb_cfg['show_jumpbox'] = true;
|
||||
|
||||
$bb_cfg['trash_forum_id'] = 0; // (int) 7
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ var user = {
|
|||
}
|
||||
};
|
||||
|
||||
<!-- IF SHOW_JUMPBOX -->
|
||||
<!-- IF $bb_cfg['show_jumpbox'] -->
|
||||
$(document).ready(function(){
|
||||
$("div.jumpbox").html('\
|
||||
<span id="jumpbox-container"> \
|
||||
|
|
|
@ -387,7 +387,6 @@ $u_auth[] = ($is_auth['auth_mod']) ? $lang['RULES_MODERATE'] : '';
|
|||
$u_auth = implode("<br />\n", $u_auth);
|
||||
|
||||
$template->assign_vars(array(
|
||||
'SHOW_JUMPBOX' => true,
|
||||
'PAGE_TITLE' => htmlCHR($forum_data['forum_name']),
|
||||
'FORUM_ID' => $forum_id,
|
||||
'FORUM_NAME' => htmlCHR($forum_data['forum_name']),
|
||||
|
|
|
@ -473,7 +473,6 @@ $template->assign_vars(array(
|
|||
'PAGE_URL' => $pg_url,
|
||||
'PAGE_URL_PPP' => url_arg($pg_url, 'ppp', null),
|
||||
'PAGE_START' => $start,
|
||||
'SHOW_JUMPBOX' => true,
|
||||
|
||||
'FORUM_ID' => $forum_id,
|
||||
'FORUM_NAME' => htmlCHR($forum_name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue