@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | private static $icon = 'cwp/cwp:images/icons/sitetree_images/news_listing.png'; |
| 23 | 23 | |
| 24 | - public $pageIcon = 'images/icons/sitetree_images/news_listing.png'; |
|
| 24 | + public $pageIcon = 'images/icons/sitetree_images/news_listing.png'; |
|
| 25 | 25 | |
| 26 | 26 | private static $singular_name = 'News Holder'; |
| 27 | 27 | |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | |
| 21 | 21 | private static $icon = 'cwp/cwp:images/icons/sitetree_images/event_page.png'; |
| 22 | 22 | |
| 23 | - public $pageIcon = 'images/icons/sitetree_images/event_page.png'; |
|
| 23 | + public $pageIcon = 'images/icons/sitetree_images/event_page.png'; |
|
| 24 | 24 | |
| 25 | 25 | private static $singular_name = 'Event Page'; |
| 26 | 26 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | |
| 67 | 67 | public function getCMSFields() |
| 68 | 68 | { |
| 69 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 69 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 70 | 70 | $fields->removeByName('Date'); |
| 71 | 71 | |
| 72 | 72 | $dateTimeFields = array(); |