Completed
Push — develop ( f6ad79...49e718 )
by Daniel
09:04
created
acp/settings_module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
blocks/wordgraph.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
services/filemanager/settings.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 		{
Please login to merge, or discard this patch.