@@ -42,7 +42,7 @@ |
||
42 | 42 | public static function getSubscribedEvents() |
43 | 43 | { |
44 | 44 | return [ |
45 | - 'core.viewforum_modify_topicrow' => 'modify_topicrow', 'core.viewtopic_modify_post_row' => 'modify_post_row', 'core.display_forums_modify_template_vars' => 'modify_forum_row', 'paybas.recenttopics.modify_tpl_ary' => 'modify_topicrow',]; |
|
45 | + 'core.viewforum_modify_topicrow' => 'modify_topicrow', 'core.viewtopic_modify_post_row' => 'modify_post_row', 'core.display_forums_modify_template_vars' => 'modify_forum_row', 'paybas.recenttopics.modify_tpl_ary' => 'modify_topicrow', ]; |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -152,7 +152,7 @@ |
||
152 | 152 | } |
153 | 153 | else |
154 | 154 | { |
155 | - $block = array_merge($block, ['FIRST_POST_TIME' => $first_post_time, 'LAST_POST_TIME' => $last_post_time, 'POST_DATE' => $first_post_time,]); |
|
155 | + $block = array_merge($block, ['FIRST_POST_TIME' => $first_post_time, 'LAST_POST_TIME' => $last_post_time, 'POST_DATE' => $first_post_time, ]); |
|
156 | 156 | } |
157 | 157 | |
158 | 158 | return $block; |
@@ -98,8 +98,7 @@ discard block |
||
98 | 98 | { |
99 | 99 | $timer_value = ($then + (86400 * (int) $this->config['ta_timer'])); |
100 | 100 | $deactivate = (bool) (time() > $timer_value); |
101 | - } |
|
102 | - else |
|
101 | + } else |
|
103 | 102 | { |
104 | 103 | $deactivate = false; |
105 | 104 | } |
@@ -123,8 +122,7 @@ discard block |
||
123 | 122 | if ($language === 'cs' || $language === 'de' || $language === 'es') |
124 | 123 | { |
125 | 124 | $output = $ago.' '.$timeago.' '.$extend; |
126 | - } |
|
127 | - else |
|
125 | + } else |
|
128 | 126 | { |
129 | 127 | $output = $timeago.' '.$ago.' '.$extend; |
130 | 128 | } |
@@ -149,8 +147,7 @@ discard block |
||
149 | 147 | if ($mode === 'cat' && empty($raw_lpt)) |
150 | 148 | { |
151 | 149 | return $block; |
152 | - } |
|
153 | - else |
|
150 | + } else |
|
154 | 151 | { |
155 | 152 | $block = array_merge($block, ['FIRST_POST_TIME' => $first_post_time, 'LAST_POST_TIME' => $last_post_time, 'POST_DATE' => $first_post_time,]); |
156 | 153 | } |