Completed
Pull Request — master (#26)
by Daniel
17:09 queued 05:15
created
services/blocks/cfg_handler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -341,9 +341,9 @@  discard block
 block discarded – undo
341 341
 	{
342 342
 		$vars['method'] = 'build_select';
343 343
 		$vars['params'][] = $field;
344
-		$vars['params'][] = $type[1] ?: 1;				// size
345
-		$vars['params'][] = (bool) $type[2] ?: false;	// multi select
346
-		$vars['params'][] = $type[3] ?: '';				// togggle key
344
+		$vars['params'][] = $type[1] ?: 1; // size
345
+		$vars['params'][] = (bool) $type[2] ?: false; // multi select
346
+		$vars['params'][] = $type[3] ?: ''; // togggle key
347 347
 		$type[0] = 'custom';
348 348
 	}
349 349
 
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
 	{
384 384
 		$this->prep_checkbox_field_for_display($vars, $type, $field);
385 385
 
386
-		$vars['method'] ='build_multi_select';
386
+		$vars['method'] = 'build_multi_select';
387 387
 	}
388 388
 
389 389
 	/**
Please login to merge, or discard this patch.
services/tree/display.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	{
90 90
 		$sql = "SELECT *
91 91
 			FROM $this->items_table
92
-			WHERE $this->pk = " . (int) $node_id ;
92
+			WHERE $this->pk = " . (int) $node_id;
93 93
 		$result = $this->db->sql_query($sql);
94 94
 		$row = $this->db->sql_fetchrow($result);
95 95
 		$this->db->sql_freeresult($result);
@@ -174,10 +174,10 @@  discard block
 block discarded – undo
174 174
 		for ($i = 0, $size = sizeof($data); $i < $size; $i++)
175 175
 		{
176 176
 			$row 		= $data[$i];
177
-			$this_depth	= $parental_depth[$row[$this->column_parent_id]] + 1;
178
-			$repeat		= abs($prev_depth - $this_depth);
177
+			$this_depth = $parental_depth[$row[$this->column_parent_id]] + 1;
178
+			$repeat = abs($prev_depth - $this_depth);
179 179
 
180
-			$tpl_data	= array(
180
+			$tpl_data = array(
181 181
 				'PREV_DEPTH'	=> $prev_depth,
182 182
 				'THIS_DEPTH'	=> $this_depth,
183 183
 				'NUM_KIDS'		=> $this->count_descendants($row),
Please login to merge, or discard this patch.
acp/menu_module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.