Add referrer "origin" policy to repository links (#1357)

This commit is contained in:
Cønstantine Kovalensky 2024-01-28 10:46:06 +04:00 committed by GitHub
commit 827ce7998d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ global $bb_cfg, $userdata, $template, $DBS, $lang;
if (!empty($template)) {
$template->assign_vars([
'SIMPLE_FOOTER' => !empty($gen_simple_header),
'POWERED' => 'Fueled by <a target="_blank" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> &copy; 2005-' . date('Y'),
'POWERED' => 'Fueled by <a target="_blank" referrerpolicy="origin" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> &copy; 2005-' . date('Y'),
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
'ADMIN_LINK_HREF' => 'admin/index.php',
]);