@@ -42,7 +42,7 @@ |
||
42 | 42 | * @param \phpbb\user $user User object |
43 | 43 | * @param string $root_path Path to the phpbb includes directory. |
44 | 44 | * @param string $php_ext php file extension |
45 | - */ |
|
45 | + */ |
|
46 | 46 | public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\language\language $language, \phpbb\template\template $template, \phpbb\user $user, $root_path, $php_ext) |
47 | 47 | { |
48 | 48 | $this->auth = $auth; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * @param \blitze\content\services\topic $topic Topic object |
59 | 59 | * @param string $root_path Path to the phpbb directory. |
60 | 60 | * @param string $php_ext php file extension |
61 | - */ |
|
61 | + */ |
|
62 | 62 | public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\content_visibility $content_visibility, \phpbb\db\driver\driver_interface $db, \phpbb\language\language $language, \phpbb\pagination $pagination, \phpbb\request\request_interface $request, \phpbb\template\template $template, \phpbb\template\context $template_context, \phpbb\user $user, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\topic $topic, $root_path, $php_ext) |
63 | 63 | { |
64 | 64 | parent::__construct($auth, $config, $language, $template, $user, $root_path, $php_ext); |
@@ -87,9 +87,9 @@ discard block |
||
87 | 87 | { |
88 | 88 | if ($topic_data['total_comments']) |
89 | 89 | { |
90 | - $view = $this->request->variable('view', ''); |
|
91 | - $start = $this->request->variable('start', 0); |
|
92 | - $post_id = $this->request->variable('p', 0); |
|
90 | + $view = $this->request->variable('view', ''); |
|
91 | + $start = $this->request->variable('start', 0); |
|
92 | + $post_id = $this->request->variable('p', 0); |
|
93 | 93 | |
94 | 94 | $this->find_unread($view, $topic_data); |
95 | 95 | |
@@ -310,11 +310,11 @@ discard block |
||
310 | 310 | */ |
311 | 311 | protected function set_sorting_options(&$sort_days, &$sort_key, &$sort_dir, &$u_sort_param) |
312 | 312 | { |
313 | - $default_sort_days = (!empty($this->user->data['user_post_show_days'])) ? $this->user->data['user_post_show_days'] : 0; |
|
313 | + $default_sort_days = (!empty($this->user->data['user_post_show_days'])) ? $this->user->data['user_post_show_days'] : 0; |
|
314 | 314 | $default_sort_key = (!empty($this->user->data['user_post_sortby_type'])) ? $this->user->data['user_post_sortby_type'] : 't'; |
315 | 315 | $default_sort_dir = (!empty($this->user->data['user_post_sortby_dir'])) ? $this->user->data['user_post_sortby_dir'] : 'a'; |
316 | 316 | |
317 | - $sort_days = $this->request->variable('st', $default_sort_days); |
|
317 | + $sort_days = $this->request->variable('st', $default_sort_days); |
|
318 | 318 | $sort_key = $this->request->variable('sk', $default_sort_key); |
319 | 319 | $sort_dir = $this->request->variable('sd', $default_sort_dir); |
320 | 320 |
@@ -34,10 +34,10 @@ |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * Get the url to this item |
|
38 | - * |
|
39 | - * @return string URL |
|
40 | - */ |
|
37 | + * Get the url to this item |
|
38 | + * |
|
39 | + * @return string URL |
|
40 | + */ |
|
41 | 41 | public function get_url() |
42 | 42 | { |
43 | 43 | if ($type = $this->types->get_forum_type($this->item_parent_id)) |
@@ -36,7 +36,7 @@ |
||
36 | 36 | * @param \blitze\content\services\fields $fields Content fields object |
37 | 37 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
38 | 38 | * @param string $php_ext php file extension |
39 | - */ |
|
39 | + */ |
|
40 | 40 | public function __construct(\phpbb\db\driver\driver_interface $db, \blitze\content\services\types $content_types, \blitze\content\services\fields $fields, $phpbb_root_path, $php_ext) |
41 | 41 | { |
42 | 42 | $this->db = $db; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * @param \phpbb\db\driver\driver_interface $db Database object |
29 | 29 | * @param \phpbb\controller\helper $helper Helper object |
30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
31 | - */ |
|
31 | + */ |
|
32 | 32 | public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\controller\helper $helper, \blitze\content\services\types $content_types) |
33 | 33 | { |
34 | 34 | $this->db = $db; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @param \phpbb\controller\helper $helper Helper object |
26 | 26 | * @param \blitze\content\services\types $content_types Content types object |
27 | - */ |
|
27 | + */ |
|
28 | 28 | public function __construct(\phpbb\controller\helper $helper, \blitze\content\services\types $content_types) |
29 | 29 | { |
30 | 30 | $this->helper = $helper; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * @param \phpbb\user $user User object |
26 | 26 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
27 | 27 | * @param string $php_ext php file extension |
28 | - */ |
|
28 | + */ |
|
29 | 29 | public function __construct(\phpbb\auth\auth $auth, \phpbb\config\db $config, \phpbb\user $user, $phpbb_root_path, $php_ext) |
30 | 30 | { |
31 | 31 | parent::__construct($auth, $config, $user); |
@@ -309,10 +309,10 @@ |
||
309 | 309 | $detail_fields = $this->get_template_fields($detail_fields, $this->detail_tpl, $fields); |
310 | 310 | |
311 | 311 | $this->summary_fields = array_intersect_key($field_types, array_flip($summary_fields)); |
312 | - $this->detail_fields = array_intersect_key($field_types, array_flip($detail_fields)); |
|
312 | + $this->detail_fields = array_intersect_key($field_types, array_flip($detail_fields)); |
|
313 | 313 | |
314 | 314 | $this->content_fields = $content_fields; |
315 | - $this->field_types = $field_types; |
|
315 | + $this->field_types = $field_types; |
|
316 | 316 | } |
317 | 317 | |
318 | 318 | /** |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * @param \phpbb\language\language $language Language object |
34 | 34 | * @param \blitze\content\services\types $content_types Content types object |
35 | 35 | * @param string $php_ext php file extension |
36 | - */ |
|
36 | + */ |
|
37 | 37 | public function __construct(\phpbb\controller\helper $helper, \phpbb\language\language $language, \blitze\content\services\types $content_types, $php_ext) |
38 | 38 | { |
39 | 39 | $this->helper = $helper; |