@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | $this->config->set('sm_forum_icon', $this->request->variable('forum_icon', '')); |
142 | 142 | $this->config->set('sm_navbar_menu', $this->request->variable('navbar_menu', 0)); |
143 | 143 | |
144 | - $this->trigger_error($this->translator->lang('SETTINGS_SAVED') . adm_back_link($this->u_action)); |
|
144 | + $this->trigger_error($this->translator->lang('SETTINGS_SAVED').adm_back_link($this->u_action)); |
|
145 | 145 | } |
146 | 146 | } |
147 | 147 | |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | { |
154 | 154 | $style_prefs = (array) json_decode($this->config_text->get('sm_layout_prefs'), true); |
155 | 155 | |
156 | - $result = $this->db->sql_query('SELECT style_id, style_name FROM ' . STYLES_TABLE); |
|
156 | + $result = $this->db->sql_query('SELECT style_id, style_name FROM '.STYLES_TABLE); |
|
157 | 157 | |
158 | 158 | $styles = array(); |
159 | 159 | while ($row = $this->db->sql_fetchrow($result)) |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | $path = dirname($path); |
232 | 232 | $name = basename($path); |
233 | 233 | |
234 | - $layouts[$name] = $this->phpbb_root_path . $path . '/'; |
|
234 | + $layouts[$name] = $this->phpbb_root_path.$path.'/'; |
|
235 | 235 | } |
236 | 236 | ksort($layouts); |
237 | 237 | |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | $id = $entity->get_menu_id(); |
255 | 255 | $name = $entity->get_menu_name(); |
256 | 256 | $selected = ($id == $this->config['sm_navbar_menu']) ? ' selected="selected"' : ''; |
257 | - $options .= '<option value="' . $id . '"' . $selected . '>' . $name . '</option>'; |
|
257 | + $options .= '<option value="'.$id.'"'.$selected.'>'.$name.'</option>'; |
|
258 | 258 | } |
259 | 259 | |
260 | 260 | return $options; |