1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$row->{'PAGES'} = qq[($Forum::lang->{topic_sp_pages} ];
foreach my $PageNo (1..$Pages)
{
my $RealNo = ($PageNo - 1) * $iB::INFO->{'DISPLAY_MAX_POSTS'};
if($PageNo == 3 and $Pages > 4)
{
$row->{'PAGES'} .= qq[... ];
$RealNo = ($Pages - 1) * $iB::INFO->{'DISPLAY_MAX_POSTS'};
}
$row->{'PAGES'} .= qq[<a href='$iB::INFO->{'BOARD_URL'}/ikonboard.$iB::INFO->{'CGI_EXT'}?s=$iB::SESSION;act=ST;f=$row->{'FORUM_ID'};t=$row->{'TOPIC_ID'};hl=$row->{KEYWORDS};st=$RealNo'>$PageNo</a>];
$jump_to = $RealNo;
last if $PageNo == 3 and $Pages > 4;
if($PageNo != $Pages) { $row->{'PAGES'} .= qq[ ] }
}
$row->{'PAGES'} .= qq[)];
ist im grunde das von DS nur imho besser formatiert