@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | { |
140 | 140 | $this->set_display_fields(); |
141 | 141 | |
142 | - $view = 'S_' . strtoupper($this->settings['template']); |
|
142 | + $view = 'S_'.strtoupper($this->settings['template']); |
|
143 | 143 | $post_data = $this->get_post_data($topic_data); |
144 | 144 | $topic_data = array_values($topic_data); |
145 | 145 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | { |
165 | 165 | for ($i = 0, $size = sizeof($topic_data); $i < $size; $i++) |
166 | 166 | { |
167 | - $row =& $topic_data[$i]; |
|
167 | + $row = & $topic_data[$i]; |
|
168 | 168 | $forum_id = $row['forum_id']; |
169 | 169 | $topic_id = $row['topic_id']; |
170 | 170 | |
@@ -179,8 +179,8 @@ discard block |
||
179 | 179 | 'VIEWS' => $row['topic_views'], |
180 | 180 | 'S_UNREAD_TOPIC' => $this->is_unread_topic($forum_id, $topic_id, $row['topic_last_post_time']), |
181 | 181 | |
182 | - 'U_VIEWTOPIC' => append_sid($this->phpbb_root_path . 'viewtopic.' . $this->php_ext, "f=$forum_id&t=$topic_id"), |
|
183 | - 'U_VIEWFORUM' => append_sid($this->phpbb_root_path . 'viewforum.' . $this->php_ext, "f=$forum_id"), |
|
182 | + 'U_VIEWTOPIC' => append_sid($this->phpbb_root_path.'viewtopic.'.$this->php_ext, "f=$forum_id&t=$topic_id"), |
|
183 | + 'U_VIEWFORUM' => append_sid($this->phpbb_root_path.'viewforum.'.$this->php_ext, "f=$forum_id"), |
|
184 | 184 | ); |
185 | 185 | |
186 | 186 | $this->ptemplate->assign_block_vars('topicrow', $tpl_ary); |