consolidated page browsing code; updates #262

and
- fixed page browser display on search results page for last four pages
- set max. page count on all other pages to 15 (from 9 or none)
This commit is contained in:
following
2013-07-14 15:41:59 +02:00
parent afdfc809d3
commit 67f3ae3ce2
16 changed files with 183 additions and 213 deletions

View File

@ -130,7 +130,7 @@
$tpl->assign('logpics', get_logpics(LOGPICS_FOR_USER_STAT, $userid));
else
{
set_paged_pics(LOGPICS_FOR_USER_GALLERY, $userid, 0, $tpl, "viewprofile.php?userid=" . $userid . "&allpics=1");
set_paged_pics(LOGPICS_FOR_USER_GALLERY, $userid, 0, "viewprofile.php?userid=" . $userid . "&allpics=1");
$tpl->name = 'viewprofile_pics';
// actually we dont need all the other stuff here ..
}