@@ -24,7 +24,8 @@ function checkWidth() {
24
24
25
25
swal ({
26
26
title: " {{ cbLang (" confirmation_title" )} }" ,
27
- text: " {{ cbLang (" alert_bulk_action_button" )} } " + title + " ?" ,
27
+ text: " {{ cbLang (" alert_bulk_action_button" )} } " + title + "
28
+ " ,
28
29
type: " warning" ,
29
30
showCancelButton: true ,
30
31
confirmButtonColor: " #008D4C" ,
@@ -65,8 +66,8 @@ function () {
65
66
$colname = $col [' label' ];
66
67
$name = $col [' name' ];
67
68
$field = $col [' field_with' ];
68
- $width = ($col [' width' ]) ? : " auto" ;
69
- $style = ($col [' style' ]) ? : " " ;
69
+ $width = (isset ( $col [' width' ])) ? $col [ ' width ' ] : " auto" ;
70
+ $style = (isset ( $col [' style' ])) ? $col [ ' style ' ] : " " ;
70
71
$mainpath = trim (CRUDBooster:: mainpath (), ' /' ). $build_query ;
71
72
echo " <th width='$width ' $style >" ;
72
73
if (isset ($sort_column [$field ])) {
@@ -95,7 +96,7 @@ function () {
95
96
96
97
@if ($button_table_action )
97
98
@if (CRUDBooster:: isUpdate () || CRUDBooster:: isDelete () || CRUDBooster:: isRead () )
98
- <th width =' {{ $button_action_width ? :" auto" } }' style =" text-align :right " >{{ cbLang (" action_label" )} } </th >
99
+ <th width =' {{ isset ( $button_action_width )? $button_action_width :" auto" } }' style =" text-align :right " >{{ cbLang (" action_label" )} } </th >
99
100
@endif
100
101
@endif
101
102
</tr >
@@ -161,8 +162,8 @@ function () {
161
162
foreach ($columns as $col ) {
162
163
if ($col [' visible' ] === FALSE ) continue ;
163
164
$colname = $col [' label' ];
164
- $width = ($col [' width' ]) ? : " auto" ;
165
- $style = ($col [' style' ]) ? : " " ;
165
+ $width = (isset ( $col [' width' ])) ? $col [ ' width ' ] : " auto" ;
166
+ $style = (isset ( $col [' style' ])) ? $col [ ' style ' ] : " " ;
166
167
echo " <th width='$width ' $style >$colname </th>" ;
167
168
}
168
169
? >
@@ -414,7 +415,7 @@ class='filter-value-between form-control {{ (in_array($col["type_data"],["date",
414
415
<button class =" btn btn-primary btn-submit" type =" submit" >{{ cbLang (" button_submit" )} } </button >
415
416
</div >
416
417
{!! CRUDBooster:: getUrlParameters ([' filter_column' ,' lasturl' ]) ! !}
417
- <input type =" hidden" name =" lasturl" value =" {{ Request:: get (' lasturl' )?:Request:: fullUrl () } }" >
418
+ <input type =" hidden" name =" lasturl" value =" {{ Request:: get (' lasturl' )?Request :: get ( ' lasturl ' ) :Request:: fullUrl () } }" >
418
419
</form >
419
420
</div >
420
421
<!-- /.modal-content -->
0 commit comments