From d5ece41da6219b853066db288f99f362b7f87370 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Thu, 11 Aug 2022 03:50:05 +0800 Subject: [PATCH] viewpeerlist anonymous after ip --- public/viewpeerlist.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/viewpeerlist.php b/public/viewpeerlist.php index 6c599a24..6538bd75 100644 --- a/public/viewpeerlist.php +++ b/public/viewpeerlist.php @@ -31,7 +31,7 @@ function get_location_column($e, $isStrongPrivacy, $canView): string } $title = sprintf('%s%s%s', $lang_functions['text_user_ip'], ': ', implode(', ', $ips)); $addressStr = implode('
', $address); - $location = "
" . $addressStr . "
"; + $location = '
'.$addressStr.'
'; } else { if (!empty($e['ipv4'])) { $ips[] = $e['ipv4'] . $seedBoxRep->renderIcon($e['ipv4'], $e['userid']); @@ -39,13 +39,13 @@ function get_location_column($e, $isStrongPrivacy, $canView): string if (!empty($e['ipv6'])) { $ips[] = $e['ipv6'] . $seedBoxRep->renderIcon($e['ipv6'], $e['userid']); } - $location = '
'.implode('
', $ips).'
'; + $location = '
'.implode('
', $ips).'
'; } if ($isStrongPrivacy) { - $result = '
'.$lang_viewpeerlist['text_anonymous'].'
'; + $result = '
'.$lang_viewpeerlist['text_anonymous'].'
'; if ($canView) { - $result .= $location; + $result = $location . $result; } } else { $result = $location;