@@ -89,7 +89,7 @@ discard block |
||
| 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 |
||
| 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 = (int) abs($prev_depth - $this_depth); |
|
| 177 | + $this_depth = $parental_depth[$row[$this->column_parent_id]] + 1; |
|
| 178 | + $repeat = (int) 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), |
@@ -351,9 +351,9 @@ discard block |
||
| 351 | 351 | |
| 352 | 352 | $vars['method'] = 'build_select'; |
| 353 | 353 | $vars['params'][] = $field; |
| 354 | - $vars['params'][] = (int) $type[1]; // size |
|
| 355 | - $vars['params'][] = (bool) $type[2]; // multi select |
|
| 356 | - $vars['params'][] = (string) $type[3]; // togggle key |
|
| 354 | + $vars['params'][] = (int) $type[1]; // size |
|
| 355 | + $vars['params'][] = (bool) $type[2]; // multi select |
|
| 356 | + $vars['params'][] = (string) $type[3]; // togggle key |
|
| 357 | 357 | $type[0] = 'custom'; |
| 358 | 358 | } |
| 359 | 359 | |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | { |
| 394 | 394 | $this->prep_checkbox_field_for_display($vars, $type, $field); |
| 395 | 395 | |
| 396 | - $vars['method'] ='build_multi_select'; |
|
| 396 | + $vars['method'] = 'build_multi_select'; |
|
| 397 | 397 | } |
| 398 | 398 | |
| 399 | 399 | /** |
@@ -43,8 +43,8 @@ |
||
| 43 | 43 | $entity = $this->force_get_route($route_data); |
| 44 | 44 | $this->update_route($entity, $route_prefs); |
| 45 | 45 | |
| 46 | - $ex_positions = $entity->get_ex_positions(); |
|
| 47 | - $hide_blocks = $entity->get_hide_blocks(); |
|
| 46 | + $ex_positions = $entity->get_ex_positions(); |
|
| 47 | + $hide_blocks = $entity->get_hide_blocks(); |
|
| 48 | 48 | } |
| 49 | 49 | // user has made choices that match defaults, and route prefs exist in db |
| 50 | 50 | else if ($entity = $this->route_mapper->load($this->get_condition($route_data))) |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | private function clean_styles() |
| 93 | 93 | { |
| 94 | 94 | $routes_ary = $this->manager->get_routes_per_style(); |
| 95 | - $style_ids = $this->get_style_ids(); |
|
| 95 | + $style_ids = $this->get_style_ids(); |
|
| 96 | 96 | $col_widths = (array) json_decode($this->config['sitemaker_column_widths'], true); |
| 97 | 97 | |
| 98 | 98 | $routes = array(); |