Fix templates data to use proper images and social icons URLs

[MAILPOET-1558]
This commit is contained in:
Rostislav Wolny
2018-11-05 11:36:40 +01:00
parent fe6519d503
commit cada06360b
6 changed files with 56 additions and 56 deletions

View File

@@ -82,7 +82,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Science-Logo.png',
'src' => $this->template_image_url . '/Science-Logo.png',
'alt' => 'Science-Logo',
'fullWidth' => true,
'width' => '1280px',
@@ -99,7 +99,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Title-22.png',
'src' => $this->template_image_url . '/Health-Mag-Title-22.png',
'alt' => 'Health-Mag-Title-2',
'fullWidth' => true,
'width' => '1280px',
@@ -293,7 +293,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-End-1.png',
'src' => $this->template_image_url . '/Health-Mag-End-1.png',
'alt' => 'Health-Mag-End',
'fullWidth' => true,
'width' => '1280px',
@@ -362,7 +362,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-Start.png',
'src' => $this->template_image_url . '/Health-Mag-Promo-Start.png',
'alt' => 'Health-Mag-Promo-Start',
'fullWidth' => true,
'width' => '1280px',
@@ -484,7 +484,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Phone.png',
'src' => $this->template_image_url . '/Health-Mag-Phone.png',
'alt' => 'Health-Mag-Phone',
'fullWidth' => false,
'width' => '400px',
@@ -541,7 +541,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-End.png',
'src' => $this->template_image_url . '/Health-Mag-Promo-End.png',
'alt' => 'Health-Mag-Promo-End',
'fullWidth' => true,
'width' => '1280px',
@@ -610,7 +610,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-Start.png',
'src' => $this->template_image_url . '/Health-Mag-Promo-Start.png',
'alt' => 'Health-Mag-Promo-Start',
'fullWidth' => true,
'width' => '1280px',
@@ -679,7 +679,7 @@ class ScienceWeekly {
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.11.1',
'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png?mailpoet_version=3.11.1',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
@@ -689,7 +689,7 @@ class ScienceWeekly {
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.11.1',
'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png?mailpoet_version=3.11.1',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
@@ -740,7 +740,7 @@ class ScienceWeekly {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-End.png',
'src' => $this->template_image_url . '/Health-Mag-Promo-End.png',
'alt' => 'Health-Mag-Promo-End',
'fullWidth' => true,
'width' => '1280px',
@@ -1129,7 +1129,7 @@ class ScienceWeekly {
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.11.1',
'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png?mailpoet_version=3.11.1',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
@@ -1139,7 +1139,7 @@ class ScienceWeekly {
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.11.1',
'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png?mailpoet_version=3.11.1',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',