improved infinite scrollling

This commit is contained in:
Johannes Schwab 2015-02-05 11:29:14 +01:00
commit 12d7ca9b84
9 changed files with 46 additions and 12 deletions

View file

@ -815,7 +815,9 @@ die("ss");
$o .= conversation($a,$items,$mode,$update);
if(!$update) {
if(!get_config('system', 'old_pager')) {
if(get_pconfig(local_user(),'system','infinite_scroll')) {
$o .= scroll_loader();
} elseif(!get_config('system', 'old_pager')) {
$o .= alt_pager($a,count($items));
} else {
$o .= paginate($a);