mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
Additional page info sent to templates
git-svn-id: file:///svn/phpbb/trunk@361 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -427,7 +427,7 @@ for($x = 0; $x < $total_posts; $x++)
|
||||
$color = "#".$theme['td_color2'];
|
||||
}
|
||||
|
||||
$message = eregi_replace("\[addsig]$", "<br />_________________<br />" . nl2br($user_sig), $message);
|
||||
$message = eregi_replace("\[addsig]$", "<br /><br />_________________<br />" . nl2br($user_sig), $message);
|
||||
|
||||
$template->assign_block_vars("postrow", array(
|
||||
"TOPIC_TITLE" => $topic_title,
|
||||
@@ -473,8 +473,14 @@ else
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
"PAGES" => $pages,
|
||||
"PAGINATION" => generate_pagination("viewtopic.$phpEx?".POST_TOPIC_URL."=$topic_id", $total_replies, $board_config['posts_per_page'], $start)));
|
||||
"PAGINATION" => generate_pagination("viewtopic.$phpEx?".POST_TOPIC_URL."=$topic_id", $total_replies, $board_config['posts_per_page'], $start),
|
||||
"ON_PAGE" => (floor($start/$board_config['posts_per_page'])+1),
|
||||
"TOTAL_PAGES" => ceil($total_replies/$board_config['posts_per_page']),
|
||||
|
||||
"L_OF" => $lang['of'],
|
||||
"L_PAGE" => $lang['Page'],
|
||||
"L_GOTO_PAGE" => $lang['Goto_page'])
|
||||
);
|
||||
|
||||
$template->pparse("body");
|
||||
|
||||
|
Reference in New Issue
Block a user