mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Use target="_blank"
in admin for profile_url() redirects (#1330)
* Use target="_blank" in admin for profile_url() redirects * Update CHANGELOG.md
This commit is contained in:
parent
3b4fe8008b
commit
1ba5576ad5
6 changed files with 9 additions and 7 deletions
|
@ -262,7 +262,7 @@ if ($log_rowset) {
|
|||
'ACTION_HREF_S' => url_arg($url, $type_key, $row['log_type_id']),
|
||||
|
||||
'USER_ID' => $row['log_user_id'],
|
||||
'USERNAME' => profile_url($row),
|
||||
'USERNAME' => profile_url($row, true),
|
||||
'USER_HREF_S' => url_arg($url, $user_key, $row['log_user_id']),
|
||||
'USER_IP' => \TorrentPier\Helpers\IPHelper::isValid($row['log_user_ip']) ? \TorrentPier\Helpers\IPHelper::long2ip_extended($row['log_user_ip']) : '127.0.0.1',
|
||||
|
||||
|
@ -310,7 +310,7 @@ if ($log_rowset) {
|
|||
// Users
|
||||
if ($user_csv && empty($filter['users'])) {
|
||||
$template->assign_block_vars('users', array(
|
||||
'USERNAME' => profile_url($row),
|
||||
'USERNAME' => profile_url($row, true),
|
||||
));
|
||||
$filter['users'] = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue