diff --git a/view/zfc-datagrid/renderer/bootstrapTable/layout.phtml b/view/zfc-datagrid/renderer/bootstrapTable/layout.phtml index 930dd2eb..03d395d9 100644 --- a/view/zfc-datagrid/renderer/bootstrapTable/layout.phtml +++ b/view/zfc-datagrid/renderer/bootstrapTable/layout.phtml @@ -12,7 +12,7 @@ if(count($this->massActions) > 0){ $(function(){ $('input.daterange').daterangepicker( - daterangeParameters, false, array('enableJsonExprFinder' => true)); ?> + daterangeParameters, false, ['enableJsonExprFinder' => true]); ?> ).on('apply.daterangepicker', function(ev,picker){ this.form.submit(); }); @@ -21,7 +21,7 @@ if(count($this->massActions) > 0){ inlineScript()->captureEnd(); ?> -
+ @@ -40,7 +40,7 @@ $orderOnclick = 'document.forms[\'form_'.$this->gridId.'\'].elements[\'' . $this $orderOnclick .= 'document.forms[\'form_'.$this->gridId.'\'].elements[\'' . $this->parameterNames['sortDirections'] . '\'].value = \'%s\';'; $orderOnclick.= 'document.forms[\'form_'.$this->gridId.'\'].submit(); return false;'; -$classes = array('table', 'table-striped', 'table-bordered'); +$classes = ['table', 'table-striped', 'table-bordered']; if($this->rowClickAction !== null){ $classes[] = 'table-hover'; } @@ -59,8 +59,8 @@ if($this->rowClickAction !== null){ foreach($this->columns as $col){ /* @var $col \ZfcDatagrid\Column\AbstractColumn */ - $classes = array(); - $styles = array(); + $classes = []; + $styles = []; $id = $col->getUniqueId(); @@ -93,14 +93,14 @@ if($this->rowClickAction !== null){ ?> @@ -135,7 +135,7 @@ if($this->rowClickAction !== null){ foreach($this->columns as $col){ /* @var $col \ZfcDatagrid\Column\AbstractColumn */ - $classes = array(); + $classes = []; if($col->isHidden() === true){ $classes[] = 'hidden'; }