aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-06-20 16:43:32 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:52 +0200
commitb2884449159305420f52881b7fe9841c1a50c2ed (patch)
tree629284f355ae68ce3e15eb58e86c463c67eaa1a3 /phpBB/viewforum.php
parentbdfedba521ee38ef6b8915bfb130b2f164c040c0 (diff)
downloadforums-b2884449159305420f52881b7fe9841c1a50c2ed.tar
forums-b2884449159305420f52881b7fe9841c1a50c2ed.tar.gz
forums-b2884449159305420f52881b7fe9841c1a50c2ed.tar.bz2
forums-b2884449159305420f52881b7fe9841c1a50c2ed.tar.xz
forums-b2884449159305420f52881b7fe9841c1a50c2ed.zip
[feature/php-events] Make naming of topicrow consistent with others (topic_row)
PHPBB3-9550
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index bc385a6a7a..df5678def1 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -690,7 +690,7 @@ if (sizeof($topic_list))
$u_mcp_queue = ($topic_unapproved || $posts_unapproved) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&amp;mode=' . (($topic_unapproved) ? 'approve_details' : 'unapproved_posts') . "&amp;t=$topic_id", true, $user->session_id) : '';
// Send vars to template
- $topicrow = array(
+ $topic_row = array(
'FORUM_ID' => $row['forum_id'],
'TOPIC_ID' => $topic_id,
'TOPIC_AUTHOR' => get_username_string('username', $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']),
@@ -745,10 +745,10 @@ if (sizeof($topic_list))
'S_TOPIC_TYPE_SWITCH' => ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test,
);
- $vars = array('row', 'topicrow');
+ $vars = array('row', 'topic_row');
extract($phpbb_dispatcher->trigger_event('core.viewforum_topicrow', compact($vars)));
- $template->assign_block_vars('topicrow', $topicrow);
+ $template->assign_block_vars('topicrow', $topic_row);
phpbb_generate_template_pagination($template, $view_topic_url, 'topicrow.pagination', 'start', $replies + 1, $config['posts_per_page'], 1, true, true);