@@ -244,6 +244,7 @@ |
||
244 | 244 | |
245 | 245 | /** |
246 | 246 | * {@inheritdoc} |
247 | + * @param string $forum_id |
|
247 | 248 | */ |
248 | 249 | protected function get_filter_sql($filter_type, $filter_value, $forum_id) |
249 | 250 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * @param \blitze\sitemaker\services\forum\data $forum Forum Data object |
47 | 47 | * @param \blitze\content\services\helper $helper Content helper object |
48 | 48 | * @param \blitze\content\services\quickmod $quickmod Quick moderator tools |
49 | - */ |
|
49 | + */ |
|
50 | 50 | public function __construct(\phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\language\language $language, \phpbb\pagination $pagination, \phpbb\template\template $template, \blitze\content\services\fields $fields, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\helper $helper, \blitze\content\services\quickmod $quickmod) |
51 | 51 | { |
52 | 52 | $this->phpbb_dispatcher = $phpbb_dispatcher; |
@@ -126,8 +126,8 @@ discard block |
||
126 | 126 | $update_count = array(); |
127 | 127 | foreach ($posts_data as $topic_id => $posts) |
128 | 128 | { |
129 | - $post_data = array_shift($posts); |
|
130 | - $topic_data = $topics_data[$topic_id]; |
|
129 | + $post_data = array_shift($posts); |
|
130 | + $topic_data = $topics_data[$topic_id]; |
|
131 | 131 | |
132 | 132 | $this->template->assign_block_vars('topicrow', array_merge( |
133 | 133 | $this->fields->show($content_type, $topic_data, $post_data, $users_cache, $attachments, $update_count, $topic_tracking_info), |
@@ -233,8 +233,8 @@ discard block |
||
233 | 233 | $this->pagination->generate_template_pagination( |
234 | 234 | array( |
235 | 235 | 'routes' => array( |
236 | - 'blitze_content_' . $route, |
|
237 | - 'blitze_content_' . $route . '_page', |
|
236 | + 'blitze_content_'.$route, |
|
237 | + 'blitze_content_'.$route.'_page', |
|
238 | 238 | ), |
239 | 239 | 'params' => $params, |
240 | 240 | ), |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | ->fetch_forum($topic_data['forum_id']) |
308 | 308 | ->fetch_topic_poster($topic_data['topic_poster']) |
309 | 309 | ->fetch_custom(array( |
310 | - 'WHERE' => array('t.topic_id <> ' . (int) $topic_data['topic_id']) |
|
310 | + 'WHERE' => array('t.topic_id <> '.(int) $topic_data['topic_id']) |
|
311 | 311 | ))->build(true, true, false); |
312 | 312 | |
313 | 313 | $topics_data = $this->forum->get_topic_data(5); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param \blitze\content\services\helper $helper Content helper object |
27 | 27 | * @param \blitze\content\services\quickmod $quickmod Quick moderator tools |
28 | 28 | * @param \phpbb\request\request_interface $request Request object |
29 | - */ |
|
29 | + */ |
|
30 | 30 | public function __construct(\phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\language\language $language, \phpbb\pagination $pagination, \phpbb\template\template $template, \blitze\content\services\fields $fields, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\helper $helper, \blitze\content\services\quickmod $quickmod, \phpbb\request\request_interface $request) |
31 | 31 | { |
32 | 32 | parent::__construct($phpbb_dispatcher, $language, $pagination, $template, $fields, $forum, $helper, $quickmod); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | // Let's create the new BBCode |
43 | 43 | $configurator->BBCodes->addCustom( |
44 | 44 | '[pagebreak title={SIMPLETEXT;optional;postFilter=ucwords}]', |
45 | - '<p><!-- pagebreak --></p>' . |
|
45 | + '<p><!-- pagebreak --></p>'. |
|
46 | 46 | '<xsl:if test="@title"><h4>{SIMPLETEXT}</h4><br /></xsl:if>' |
47 | 47 | ); |
48 | 48 | } |
@@ -63,8 +63,8 @@ discard block |
||
63 | 63 | // Let's create the new BBCode |
64 | 64 | $configurator->BBCodes->addCustom( |
65 | 65 | '[tag={IDENTIFIER}]{TEXT}[/tag]', |
66 | - "<!-- begin field -->\n" . |
|
67 | - "<div data-field=\"{IDENTIFIER}\">{TEXT}</div><br />\n" . |
|
66 | + "<!-- begin field -->\n". |
|
67 | + "<div data-field=\"{IDENTIFIER}\">{TEXT}</div><br />\n". |
|
68 | 68 | "<!-- end field -->\n" |
69 | 69 | ); |
70 | 70 | } |