@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | */ |
150 | 150 | $this->phpbb_dispatcher->trigger_event('blitze_sitemaker.acp_save_settings'); |
151 | 151 | |
152 | - $this->trigger_error($this->translator->lang('SETTINGS_SAVED') . adm_back_link($this->u_action)); |
|
152 | + $this->trigger_error($this->translator->lang('SETTINGS_SAVED').adm_back_link($this->u_action)); |
|
153 | 153 | } |
154 | 154 | } |
155 | 155 | |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | { |
173 | 173 | $style_prefs = (array) json_decode($this->config_text->get('sm_layout_prefs'), true); |
174 | 174 | |
175 | - $result = $this->db->sql_query('SELECT style_id, style_name FROM ' . STYLES_TABLE); |
|
175 | + $result = $this->db->sql_query('SELECT style_id, style_name FROM '.STYLES_TABLE); |
|
176 | 176 | |
177 | 177 | $styles = array(); |
178 | 178 | while ($row = $this->db->sql_fetchrow($result)) |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | $path = dirname($path); |
240 | 240 | $name = basename($path); |
241 | 241 | |
242 | - $layouts[$name] = $this->phpbb_root_path . $path . '/'; |
|
242 | + $layouts[$name] = $this->phpbb_root_path.$path.'/'; |
|
243 | 243 | } |
244 | 244 | ksort($layouts); |
245 | 245 | |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | $id = $entity->get_menu_id(); |
293 | 293 | $name = $entity->get_menu_name(); |
294 | 294 | $selected = ($id == $this->config['sm_navbar_menu']) ? ' selected="selected"' : ''; |
295 | - $options .= '<option value="' . $id . '"' . $selected . '>' . $name . '</option>'; |
|
295 | + $options .= '<option value="'.$id.'"'.$selected.'>'.$name.'</option>'; |
|
296 | 296 | } |
297 | 297 | |
298 | 298 | return $options; |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | 'MENU_ID' => $menu_id, |
94 | 94 | 'ICON_PICKER' => $this->icon->picker(), |
95 | 95 | 'T_PATH' => $this->phpbb_root_path, |
96 | - 'UA_AJAX_URL' => $this->controller_helper->route('blitze_sitemaker_menus_admin', array(), true, '') . '/', |
|
96 | + 'UA_AJAX_URL' => $this->controller_helper->route('blitze_sitemaker_menus_admin', array(), true, '').'/', |
|
97 | 97 | )); |
98 | 98 | |
99 | 99 | $this->tpl_name = 'acp_menu'; |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | $vars = array('bulk_options', 'forumslist'); |
147 | 147 | extract($this->phpbb_dispatcher->trigger_event('blitze_sitemaker.acp_add_bulk_menu_options', compact($vars))); |
148 | 148 | |
149 | - $bulk_options['FORUMS'] = $this->get_forums_string($forumslist); |
|
149 | + $bulk_options['FORUMS'] = $this->get_forums_string($forumslist); |
|
150 | 150 | |
151 | 151 | $this->template->assign_var('bulk_options', $bulk_options); |
152 | 152 | } |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | foreach ($forumslist as $forum_id => $row) |
162 | 162 | { |
163 | 163 | $text .= str_replace(' ', "\t", $row['padding']); |
164 | - $text .= $row['forum_name'] . '|'; |
|
164 | + $text .= $row['forum_name'].'|'; |
|
165 | 165 | $text .= "viewforum.{$this->php_ext}?f=$forum_id\n"; |
166 | 166 | } |
167 | 167 |