1
0
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:
Bart van Bragt 2005-10-26 20:22:40 +00:00
parent 88b4c7ac88
commit 759e33f759

View File

@ -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)),