@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | { |
232 | 232 | if ($this->phpbb31) |
233 | 233 | { |
234 | - $title = ' ' . $this->topicsolved->image('list', 'TOPIC_SOLVED', $solved_url); |
|
234 | + $title = ' '.$this->topicsolved->image('list', 'TOPIC_SOLVED', $solved_url); |
|
235 | 235 | } |
236 | 236 | else |
237 | 237 | { |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | { |
352 | 352 | if ($this->phpbb31) |
353 | 353 | { |
354 | - $post_row['POST_SUBJECT'] .= ' ' . |
|
354 | + $post_row['POST_SUBJECT'] .= ' '. |
|
355 | 355 | $this->topicsolved->image('post', 'TOPIC_SOLVED'); |
356 | 356 | } |
357 | 357 | else |
@@ -128,8 +128,8 @@ discard block |
||
128 | 128 | { |
129 | 129 | $select_sql_array = array( |
130 | 130 | 'SELECT' => |
131 | - 't.topic_id, t.topic_poster, t.topic_status, t.topic_type, t.topic_solved, ' . |
|
132 | - 'f.forum_id, f.forum_allow_solve, f.forum_allow_unsolve, f.forum_lock_solved, ' . |
|
131 | + 't.topic_id, t.topic_poster, t.topic_status, t.topic_type, t.topic_solved, '. |
|
132 | + 'f.forum_id, f.forum_allow_solve, f.forum_allow_unsolve, f.forum_lock_solved, '. |
|
133 | 133 | 'p.post_id', |
134 | 134 | 'FROM' => array( |
135 | 135 | FORUMS_TABLE => 'f', |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | TOPICS_TABLE => 't', |
138 | 138 | ), |
139 | 139 | 'WHERE' => |
140 | - 'p.post_id = ' . (int) $post_id . |
|
140 | + 'p.post_id = '.(int) $post_id. |
|
141 | 141 | ' AND t.topic_id = p.topic_id AND f.forum_id = t.forum_id', |
142 | 142 | ); |
143 | 143 | $select_sql = $this->db->sql_build_query('SELECT', $select_sql_array); |
@@ -160,8 +160,8 @@ discard block |
||
160 | 160 | { |
161 | 161 | $update_sql = $this->db->sql_build_array('UPDATE', $data); |
162 | 162 | $result = $this->db->sql_query(' |
163 | - UPDATE ' . TOPICS_TABLE . ' |
|
164 | - SET ' . $update_sql . ' |
|
163 | + UPDATE ' . TOPICS_TABLE.' |
|
164 | + SET ' . $update_sql.' |
|
165 | 165 | WHERE topic_id = ' . (int) $topic_id |
166 | 166 | ); |
167 | 167 | |
@@ -275,12 +275,12 @@ discard block |
||
275 | 275 | public function image($type, $alt = '', $url = '') |
276 | 276 | { |
277 | 277 | $title = ''; |
278 | - $markup = $this->user->img('icon_solved_' . $type, $alt); |
|
278 | + $markup = $this->user->img('icon_solved_'.$type, $alt); |
|
279 | 279 | |
280 | 280 | if (!empty($alt)) |
281 | 281 | { |
282 | 282 | $alt = $this->user->lang($alt); |
283 | - $title = ' title="' . htmlspecialchars($alt, ENT_QUOTES, 'UTF-8') . '"'; |
|
283 | + $title = ' title="'.htmlspecialchars($alt, ENT_QUOTES, 'UTF-8').'"'; |
|
284 | 284 | } |
285 | 285 | |
286 | 286 | if (!empty($url)) |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | if (!empty($alt)) |
332 | 332 | { |
333 | 333 | $alt = $this->user->lang($alt); |
334 | - $title = ' title="' . htmlspecialchars($alt, ENT_QUOTES, 'UTF-8') . '"'; |
|
334 | + $title = ' title="'.htmlspecialchars($alt, ENT_QUOTES, 'UTF-8').'"'; |
|
335 | 335 | } |
336 | 336 | |
337 | 337 | if (!empty($url)) |
@@ -355,6 +355,6 @@ discard block |
||
355 | 355 | public function get_link_to_post($forum_id, $topic_id, $post_id) |
356 | 356 | { |
357 | 357 | return append_sid("{$this->root_path}viewtopic.{$this->php_ext}", |
358 | - "f=$forum_id&t=$topic_id&p=$post_id") . '#p' . $post_id; |
|
358 | + "f=$forum_id&t=$topic_id&p=$post_id").'#p'.$post_id; |
|
359 | 359 | } |
360 | 360 | } |