@@ -25,7 +25,7 @@ |
||
25 | 25 | function getCMSFields() { |
26 | 26 | $fields = parent::getCMSFields(); |
27 | 27 | $imagename = _t('PageWithImage.IMAGE', 'Image'); |
28 | - $fields->addFieldToTab( 'Root.'.$imagename, $uf = new UploadField('MainImage', _t('PageWithImage.MAIN_IMAGE', 'Main Image'))); |
|
28 | + $fields->addFieldToTab('Root.'.$imagename, $uf = new UploadField('MainImage', _t('PageWithImage.MAIN_IMAGE', 'Main Image'))); |
|
29 | 29 | $dirname = strtolower($this->ClassName).'s'; |
30 | 30 | $uf->setFolderName($dirname); |
31 | 31 | $fields->addFieldToTab('Root.'.$imagename, new TextField('ImageAttribution', 'Image Credit')); |