@@ -85,7 +85,7 @@ |
||
| 85 | 85 | */ |
| 86 | 86 | public function getCMSFields() |
| 87 | 87 | { |
| 88 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 88 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 89 | 89 | /** @var FieldList $fields */ |
| 90 | 90 | $fields->removeByName([ |
| 91 | 91 | 'Sort', |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | public function fieldLabels($includerelations = true) |
| 68 | 68 | { |
| 69 | 69 | $labels = parent::fieldLabels($includerelations); |
| 70 | - $labels['Panels'] = _t(__CLASS__ . '.PanelsLabel', 'Accordion panels'); |
|
| 70 | + $labels['Panels'] = _t(__CLASS__.'.PanelsLabel', 'Accordion panels'); |
|
| 71 | 71 | |
| 72 | 72 | return $labels; |
| 73 | 73 | } |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function getCMSFields() |
| 79 | 79 | { |
| 80 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 80 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 81 | 81 | /* @var FieldList $fields */ |
| 82 | 82 | $fields->removeByName(array( |
| 83 | 83 | 'Sort', |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | } else { |
| 116 | 116 | $label = ' panels'; |
| 117 | 117 | } |
| 118 | - return DBField::create_field('HTMLText', $this->Panels()->count() . $label)->Summary(20); |
|
| 118 | + return DBField::create_field('HTMLText', $this->Panels()->count().$label)->Summary(20); |
|
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | /** |