@@ -110,11 +110,11 @@ discard block |
||
| 110 | 110 | { |
| 111 | 111 | $labels = parent::fieldLabels($includerelations); |
| 112 | 112 | |
| 113 | - $labels['Title'] = _t(__CLASS__ . '.TitleLabel', 'Title'); |
|
| 114 | - $labels['ElementLinkID'] = _t(__CLASS__ . '.LinkLabel', 'Link'); |
|
| 115 | - $labels['Image'] = _t(__CLASS__ . '.ImageLabel', 'Image'); |
|
| 116 | - $labels['Image.CMSThumbnail'] = _t(__CLASS__ . '.ImageLabel', 'Image'); |
|
| 117 | - $labels['Content'] = _t(__CLASS__. '.ContentLabel', 'Content'); |
|
| 113 | + $labels['Title'] = _t(__CLASS__.'.TitleLabel', 'Title'); |
|
| 114 | + $labels['ElementLinkID'] = _t(__CLASS__.'.LinkLabel', 'Link'); |
|
| 115 | + $labels['Image'] = _t(__CLASS__.'.ImageLabel', 'Image'); |
|
| 116 | + $labels['Image.CMSThumbnail'] = _t(__CLASS__.'.ImageLabel', 'Image'); |
|
| 117 | + $labels['Content'] = _t(__CLASS__.'.ContentLabel', 'Content'); |
|
| 118 | 118 | |
| 119 | 119 | return $labels; |
| 120 | 120 | } |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | */ |
| 127 | 127 | public function getCMSFields() |
| 128 | 128 | { |
| 129 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 129 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 130 | 130 | /** @var FieldList $fields */ |
| 131 | 131 | $fields->removeByName(array( |
| 132 | 132 | 'Sort', |