mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Add referrer "origin" policy to repository links (#1357)
This commit is contained in:
parent
be08d2bba9
commit
827ce7998d
2 changed files with 5 additions and 5 deletions
|
@ -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> © 2005-' . date('Y'),
|
||||
'POWERED' => 'Fueled by <a target="_blank" referrerpolicy="origin" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> © 2005-' . date('Y'),
|
||||
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
|
||||
'ADMIN_LINK_HREF' => 'admin/index.php',
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue