This commit is contained in:
Roman Kelesidis 2024-02-01 18:13:29 +07:00
parent b4b2b2c1f9
commit 710c758d43
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
- Release v2.1.5-2024.0X 🎉
- Fixed broken user dl status
- Fixed download counter for torrent files
- Fixed admin_terms.php textarea reset in preview mode
- Hide feed button if feed file doesn't exist
- Some enhancements for topic_tpl
- Don't update download counter if attachment not exists

View File

@ -18,7 +18,7 @@ if (isset($_POST['post']) && $bb_cfg['terms'] != $_POST['message'])
$template->assign_vars(array(
'S_ACTION' => 'admin_terms.php',
'EXT_LINK_NW' => $bb_cfg['ext_link_new_win'],
'MESSAGE' => ($bb_cfg['terms']) ? $bb_cfg['terms'] : '',
'MESSAGE' => (isset($_REQUEST['preview'])) ? $_POST['message'] : (($bb_cfg['terms']) ? $bb_cfg['terms'] : ''),
'PREVIEW_HTML' => (isset($_REQUEST['preview'])) ? bbcode2html($_POST['message']) : '',
));