diff --git a/ext/user/theme.php b/ext/user/theme.php index a71ee823..f0178ded 100644 --- a/ext/user/theme.php +++ b/ext/user/theme.php @@ -77,13 +77,25 @@ class UserPageTheme extends Themelet { public function display_ip_list($page, $uploads, $comments) { $html = "
Uploaded from: ";
+ $n = 0;
foreach($uploads as $ip => $count) {
$html .= " $ip ($count)"; + if(++$n >= 20) { + $html .= " ..."; + break; + } } + $html .= " | Commented from:";
+ $n = 0;
foreach($comments as $ip => $count) {
$html .= " $ip ($count)"; + if(++$n >= 20) { + $html .= " ..."; + break; + } } + $html .= " |
(Most recent at top) |