mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 21:44:57 +02:00
Fix paging in folderview for PMs. Would be nice if I would do all this in one checkin :)
git-svn-id: file:///svn/phpbb/trunk@5282 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
88b4c7ac88
commit
759e33f759
@ -271,7 +271,7 @@ function get_pm_from($folder_id, $folder, $user_id, $url, $type = 'folder')
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'PAGINATION' => generate_pagination("$url&mode=view&action=view_folder&f=$folder_id&$u_sort_param", $pm_count, $config['topics_per_page'], $start),
|
||||
'PAGINATION' => generate_pagination("$url&i=pm&mode=view&action=view_folder&f=$folder_id&$u_sort_param", $pm_count, $config['topics_per_page'], $start),
|
||||
'PAGE_NUMBER' => on_page($pm_count, $config['topics_per_page'], $start),
|
||||
'TOTAL_MESSAGES'=> (($pm_count == 1) ? $user->lang['VIEW_PM_MESSAGE'] : sprintf($user->lang['VIEW_PM_MESSAGES'], $pm_count)),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user