Maked jumpbox optional (#727)

This commit is contained in:
Roman Kelesidis 2023-05-28 22:50:56 +07:00 committed by GitHub
commit 3ed0bf3bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -68,7 +68,7 @@ var user = {
}
};
<!-- IF SHOW_JUMPBOX -->
<!-- IF $bb_cfg['show_jumpbox'] -->
$(document).ready(function(){
$("div.jumpbox").html('\
<span id="jumpbox-container"> \

View file

@ -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']),

View file

@ -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),