Merge pull request #59 from MitanOmar/master

fixing the Pagination links
This commit is contained in:
Abdulrahman ☕️
2019-02-12 00:39:11 +03:00
committed by GitHub

View File

@@ -363,7 +363,7 @@ switch (g('go'))
$linkgoto = $config['siteurl'] . (
$config['mod_writer']
? 'fileuser-' . $user_id . ($currentPage > 1 && $currentPage <= $total_pages ? '-' . $currentPage : '') . '.html'
: 'ucp.php?go=fileuser' . ($currentPage > 1 && $currentPage <= $total_pages ? '&amp;page=' . $currentPage : '')
: 'ucp.php?go=fileuser' . ( ig('id') ? ( g('id' , 'int') == $usrcp->id() ? '' : '&amp;id=' . g('id') ) : null )
);
$page_nums = $Pager->print_nums(str_replace('.html', '', $linkgoto));
@@ -931,4 +931,4 @@ if($show_style)
Saaheader($titlee, $extra);
echo $tpl->display($stylee);
Saafooter();
}
}