@@ 376-386 (lines=11) @@ | ||
373 | ]); |
|
374 | } |
|
375 | ||
376 | if ($this->getSettings()->postCategoriesCoverImageEnabled()) { |
|
377 | $form->addFields([ |
|
378 | 'cover_image' => [ |
|
379 | 'label' => self::LOCALIZATION_KEY . 'form.fields.cover_image', |
|
380 | 'type' => 'fileupload', |
|
381 | 'mode' => 'image', |
|
382 | 'tab' => 'Images', |
|
383 | 'span' => 'left' |
|
384 | ] |
|
385 | ]); |
|
386 | } |
|
387 | ||
388 | if ($this->getSettings()->postCategoriesFeaturedImagesEnabled()) { |
|
389 | $form->addFields([ |
|
@@ 388-397 (lines=10) @@ | ||
385 | ]); |
|
386 | } |
|
387 | ||
388 | if ($this->getSettings()->postCategoriesFeaturedImagesEnabled()) { |
|
389 | $form->addFields([ |
|
390 | 'featured_images' => [ |
|
391 | 'label' => self::LOCALIZATION_KEY . 'form.fields.featured_images', |
|
392 | 'type' => 'fileupload', |
|
393 | 'mode' => 'image', |
|
394 | 'tab' => 'Images' |
|
395 | ] |
|
396 | ]); |
|
397 | } |
|
398 | }); |
|
399 | } |
|
400 |