Update terms.php

This commit is contained in:
Roman Kelesidis 2024-04-22 15:51:07 +07:00
parent 531d6a740d
commit 91a512ce6d

View File

@ -11,8 +11,8 @@ $user->session_start();
if (!$bb_cfg['terms'] && !IS_ADMIN) redirect('index.php'); if (!$bb_cfg['terms'] && !IS_ADMIN) redirect('index.php');
$template->assign_vars(array( $template->assign_vars(array(
'TERMS_EDIT' => bbcode2html(sprintf($lang['TERMS_EMPTY_TEXT'], $domain_name)), 'TERMS_EDIT' => bbcode2html(sprintf($lang['TERMS_EMPTY_TEXT'], make_url('admin/admin_terms.php'))),
'TERMS_HTML' => bbcode2html($bb_cfg['terms']), 'TERMS_HTML' => bbcode2html($bb_cfg['terms']),
)); ));
print_page('terms.tpl'); print_page('terms.tpl');