@@ -9,7 +9,7 @@ |
||
9 | 9 | <form method='get' action=''> |
10 | 10 | <div class="modal-body"> |
11 | 11 | @foreach($columns as $key => $col) |
12 | - <?php if (isset($col['image']) || isset($col['download']) || $col['visible'] === FALSE) continue;?> |
|
12 | + <?php if (isset($col['image']) || isset($col['download']) || $col['visible'] === FALSE) continue; ?> |
|
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | 15 |
@@ -119,7 +119,7 @@ |
||
119 | 119 | @foreach($html_contents['html'] as $i=>$hc) |
120 | 120 | |
121 | 121 | @if($table_row_color) |
122 | - <?php $tr_color = NULL;?> |
|
122 | + <?php $tr_color = NULL; ?> |
|
123 | 123 | @foreach($table_row_color as $trc) |
124 | 124 | <?php |
125 | 125 | $query = $trc['condition']; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php $default = ! empty($formInput['placeholder']) ? $formInput['placeholder'] : cbTrans('text_prefix_option')." ".$label;?> |
|
1 | +<?php $default = !empty($formInput['placeholder']) ? $formInput['placeholder'] : cbTrans('text_prefix_option')." ".$label; ?> |
|
2 | 2 | |
3 | 3 | <?php |
4 | 4 | $options = []; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if(@$formInput['options']['query']){ |
|
2 | +if (@$formInput['options']['query']) { |
|
3 | 3 | $field_label = $formInput['options']['field_label']; |
4 | 4 | $field_value = $formInput['options']['field_value']; |
5 | 5 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | break; |
31 | 31 | } |
32 | 32 | } |
33 | - if (! $value) $value = []; |
|
33 | + if (!$value) $value = []; |
|
34 | 34 | } |
35 | 35 | } else { |
36 | 36 | $value = explode(";", $value); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | |
69 | 69 | foreach ($selects_data as $d) { |
70 | 70 | $val = $d->{$select_field_alias}; |
71 | - if ($val == '' || ! $d->id) continue; |
|
71 | + if ($val == '' || !$d->id) continue; |
|
72 | 72 | |
73 | 73 | $checked = ($value == $d->id) ? "checked" : ""; |
74 | 74 |
@@ -3,9 +3,9 @@ |
||
3 | 3 | * @param $form |
4 | 4 | * @return array |
5 | 5 | */ |
6 | -$queryData = function ($form) |
|
6 | +$queryData = function($form) |
|
7 | 7 | { |
8 | - if (! $formInput['options']['table']) return; |
|
8 | + if (!$formInput['options']['table']) return; |
|
9 | 9 | $field_label = $formInput['options']['field_label']; |
10 | 10 | $field_value = $formInput['options']['field_value']; |
11 | 11 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use crocodicstudio\crudbooster\Modules\ModuleGenerator\ControllerGenerator\FieldDetector; |
4 | 4 | |
5 | 5 | if (FieldDetector::isPassword($name)) { |
6 | - if (! empty($this->arr[$name])) { |
|
6 | + if (!empty($this->arr[$name])) { |
|
7 | 7 | $this->arr[$name] = Hash::make($this->arr[$name]); |
8 | 8 | } else { |
9 | 9 | unset($this->arr[$name]); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | array_walk($dataEnum, 'trim'); |
9 | 9 | |
10 | 10 | $radios = []; |
11 | -foreach ($dataEnum as $e=>$enum){ |
|
11 | +foreach ($dataEnum as $e=>$enum) { |
|
12 | 12 | $enum = explode('|', $enum); |
13 | 13 | if (count($enum) == 1) { |
14 | 14 | $enum[1] = $enum[0]; |