Completed
Push — develop ( 1387e8...f74656 )
by Daniel
13:07
created
acp/settings_module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
acp/menu_module.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
161 161
 		foreach ($forumslist as $forum_id => $row)
162 162
 		{
163 163
 			$text .= str_replace('&nbsp; &nbsp;', "\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
 
Please login to merge, or discard this patch.