aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_topic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-17 14:59:33 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-17 14:59:33 +0000
commitc0caf7652fb699ec38488df6f52f354534dd22d1 (patch)
tree0f3673f0b38e905a95773b8b4b3b878139cc991e /phpBB/includes/mcp/mcp_topic.php
parent929fa966708a022ec329e015f89b78c7894e7ff6 (diff)
downloadforums-c0caf7652fb699ec38488df6f52f354534dd22d1.tar
forums-c0caf7652fb699ec38488df6f52f354534dd22d1.tar.gz
forums-c0caf7652fb699ec38488df6f52f354534dd22d1.tar.bz2
forums-c0caf7652fb699ec38488df6f52f354534dd22d1.tar.xz
forums-c0caf7652fb699ec38488df6f52f354534dd22d1.zip
Fixing some tiny bugs...
- correctly close span tags within code=php git-svn-id: file:///svn/phpbb/trunk@7619 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_topic.php')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index 0ed6c05f88..3c49477ca2 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -137,7 +137,6 @@ function mcp_topic_view($id, $mode, $action)
foreach ($rowset as $i => $row)
{
-
$message = $row['post_text'];
$post_subject = ($row['post_subject'] != '') ? $row['post_subject'] : $topic_info['topic_title'];
$message = str_replace("\n", '<br />', $message);
@@ -247,8 +246,8 @@ function mcp_topic_view($id, $mode, $action)
'PAGE_NUMBER' => on_page($total, $posts_per_page, $start),
'PAGINATION' => (!$posts_per_page) ? '' : generate_pagination(append_sid("{$phpbb_root_path}mcp.$phpEx", "i=$id&amp;t={$topic_info['topic_id']}&amp;mode=$mode&amp;action=$action&amp;to_topic_id=$to_topic_id&amp;posts_per_page=$posts_per_page&amp;st=$sort_days&amp;sk=$sort_key&amp;sd=$sort_dir"), $total, $posts_per_page, $start),
- 'TOTAL' => $total)
- );
+ 'TOTAL_POSTS' => ($total == 1) ? $user->lang['VIEW_TOPIC_POST'] : sprintf($user->lang['VIEW_TOPIC_POSTS'], $total),
+ ));
}
/**