aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-05-15 22:56:52 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-05-15 22:56:52 +0000
commit0a4b632bcb7bdb3a30f2291e8672412656adca40 (patch)
tree7bd23a431d432a1124702a06baf2025600f49206 /phpBB/includes
parente22487a5785c22503e9931898e0a2922bf48da89 (diff)
downloadforums-0a4b632bcb7bdb3a30f2291e8672412656adca40.tar
forums-0a4b632bcb7bdb3a30f2291e8672412656adca40.tar.gz
forums-0a4b632bcb7bdb3a30f2291e8672412656adca40.tar.bz2
forums-0a4b632bcb7bdb3a30f2291e8672412656adca40.tar.xz
forums-0a4b632bcb7bdb3a30f2291e8672412656adca40.zip
#10976
git-svn-id: file:///svn/phpbb/trunk@7597 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index b3f7e158b2..05f143a9c3 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -352,6 +352,7 @@ class mcp_queue
}
$template->assign_block_vars('postrow', array(
+ 'U_TOPIC' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&amp;t=' . $row['topic_id']),
'U_VIEWFORUM' => (!$global_topic) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']) : '',
'U_VIEWPOST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&amp;p=' . $row['post_id']) . (($mode == 'unapproved_posts') ? '#p' . $row['post_id'] : ''),
'U_VIEW_DETAILS' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&amp;start=$start&amp;mode=approve_details&amp;f={$row['forum_id']}&amp;p={$row['post_id']}" . (($mode == 'unapproved_topics') ? "&amp;t={$row['topic_id']}" : '')),
@@ -364,6 +365,7 @@ class mcp_queue
'POST_ID' => $row['post_id'],
'FORUM_NAME' => (!$global_topic) ? $forum_names[$row['forum_id']] : $user->lang['GLOBAL_ANNOUNCEMENT'],
'POST_SUBJECT' => $row['post_subject'],
+ 'TOPIC_TITLE' => $row['topic_title'],
'POST_TIME' => $user->format_date($row['post_time']))
);
}