@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | 'MENU_ID' => $menu_id, |
98 | 98 | 'ICON_PICKER' => $this->icon->picker(), |
99 | 99 | 'T_PATH' => $this->phpbb_root_path, |
100 | - 'UA_AJAX_URL' => $this->controller_helper->route('blitze_sitemaker_menus_admin', array(), true, '') . '/', |
|
100 | + 'UA_AJAX_URL' => $this->controller_helper->route('blitze_sitemaker_menus_admin', array(), true, '').'/', |
|
101 | 101 | )); |
102 | 102 | |
103 | 103 | $this->tpl_name = 'acp_menu'; |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $vars = array('bulk_options', 'forumslist'); |
152 | 152 | extract($this->phpbb_dispatcher->trigger_event('blitze.sitemaker.acp_add_bulk_menu_options', compact($vars))); |
153 | 153 | |
154 | - $bulk_options['FORUMS'] = $this->get_forums_string($forumslist); |
|
154 | + $bulk_options['FORUMS'] = $this->get_forums_string($forumslist); |
|
155 | 155 | |
156 | 156 | $this->template->assign_var('bulk_options', $bulk_options); |
157 | 157 | } |
@@ -163,11 +163,11 @@ discard block |
||
163 | 163 | protected function get_forums_string(array $forumslist) |
164 | 164 | { |
165 | 165 | $forum_url = $this->controller_helper->route('blitze_sitemaker_forum', array(), true, '', UrlGeneratorInterface::RELATIVE_PATH); |
166 | - $text = $this->language->lang('FORUM') . '|' . $forum_url . "\n"; |
|
166 | + $text = $this->language->lang('FORUM').'|'.$forum_url."\n"; |
|
167 | 167 | foreach ($forumslist as $forum_id => $row) |
168 | 168 | { |
169 | - $text .= "\t" . str_replace(' ', "\t", $row['padding']); |
|
170 | - $text .= $row['forum_name'] . '|'; |
|
169 | + $text .= "\t".str_replace(' ', "\t", $row['padding']); |
|
170 | + $text .= $row['forum_name'].'|'; |
|
171 | 171 | $text .= "viewforum.{$this->php_ext}?f=$forum_id\n"; |
172 | 172 | } |
173 | 173 |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | $this->save_filemanager_settings($settings); |
155 | 155 | $this->save_config_settings($settings); |
156 | - $this->trigger_error($this->translator->lang('SETTINGS_SAVED') . adm_back_link($this->u_action)); |
|
156 | + $this->trigger_error($this->translator->lang('SETTINGS_SAVED').adm_back_link($this->u_action)); |
|
157 | 157 | } |
158 | 158 | } |
159 | 159 | |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | { |
177 | 177 | $style_prefs = (array) json_decode($this->config_text->get('sm_layout_prefs'), true); |
178 | 178 | |
179 | - $result = $this->db->sql_query('SELECT style_id, style_name FROM ' . STYLES_TABLE); |
|
179 | + $result = $this->db->sql_query('SELECT style_id, style_name FROM '.STYLES_TABLE); |
|
180 | 180 | |
181 | 181 | $styles = array(); |
182 | 182 | while ($row = $this->db->sql_fetchrow($result)) |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | $path = dirname($path); |
246 | 246 | $name = basename($path); |
247 | 247 | |
248 | - $layouts[$name] = $this->phpbb_root_path . $path . '/'; |
|
248 | + $layouts[$name] = $this->phpbb_root_path.$path.'/'; |
|
249 | 249 | } |
250 | 250 | ksort($layouts); |
251 | 251 | |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | $id = $entity->get_menu_id(); |
307 | 307 | $name = $entity->get_menu_name(); |
308 | 308 | $selected = ($id == $this->config['sm_navbar_menu']) ? ' selected="selected"' : ''; |
309 | - $options .= '<option value="' . $id . '"' . $selected . '>' . $name . '</option>'; |
|
309 | + $options .= '<option value="'.$id.'"'.$selected.'>'.$name.'</option>'; |
|
310 | 310 | } |
311 | 311 | |
312 | 312 | return $options; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $this->ptemplate->assign_block_vars('wordgraph', array( |
106 | 106 | 'WORD' => $this->show_word($word, $words_array[$word], $settings['show_word_count']), |
107 | 107 | 'WORD_SIZE' => $settings['min_word_size'] + (($words_array[$word] - $params['min_count']) * $params['size_step']), |
108 | - 'WORD_COLOR' => $r . $g . $b, |
|
108 | + 'WORD_COLOR' => $r.$g.$b, |
|
109 | 109 | 'WORD_URL' => $this->get_url($word), |
110 | 110 | )); |
111 | 111 | } |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | if ($exclude_words) |
201 | 201 | { |
202 | 202 | $exclude_words = array_filter(explode(',', str_replace(' ', '', strtolower($exclude_words)))); |
203 | - $sql_where = (sizeof($exclude_words)) ? ' AND ' . $this->db->sql_in_set('l.word_text', $exclude_words, true) : ''; |
|
203 | + $sql_where = (sizeof($exclude_words)) ? ' AND '.$this->db->sql_in_set('l.word_text', $exclude_words, true) : ''; |
|
204 | 204 | } |
205 | 205 | |
206 | 206 | return $sql_where; |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | */ |
215 | 215 | protected function show_word($word, $count, $show_count) |
216 | 216 | { |
217 | - return censor_text(($show_count) ? $word . '(' . $count . ')' : $word); |
|
217 | + return censor_text(($show_count) ? $word.'('.$count.')' : $word); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
@@ -223,6 +223,6 @@ discard block |
||
223 | 223 | */ |
224 | 224 | protected function get_url($word) |
225 | 225 | { |
226 | - return append_sid("{$this->phpbb_root_path}search.$this->php_ext", 'keywords=' . urlencode($word)); |
|
226 | + return append_sid("{$this->phpbb_root_path}search.$this->php_ext", 'keywords='.urlencode($word)); |
|
227 | 227 | } |
228 | 228 | } |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $this->config_path = $config_path; |
40 | 40 | $this->php_ext = $php_ext; |
41 | 41 | |
42 | - $this->config_template = __DIR__ . '/default.config'; |
|
42 | + $this->config_template = __DIR__.'/default.config'; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | */ |
118 | 118 | protected function get_config_file() |
119 | 119 | { |
120 | - $config_file = $this->config_path . 'config.' . $this->php_ext; |
|
120 | + $config_file = $this->config_path.'config.'.$this->php_ext; |
|
121 | 121 | |
122 | 122 | if (!$this->filesystem->exists($config_file)) |
123 | 123 | { |