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

@ -98,7 +98,7 @@ class WideStoryLayout {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/wide-story-layout/Wide-Logo.png',
'src' => $this->template_image_url . '/Wide-Logo.png',
'alt' => 'Wide-Logo',
'fullWidth' => false,
'width' => '200px',
@ -240,7 +240,7 @@ class WideStoryLayout {
array (
'type' => 'image',
'link' => '',
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/wide-story-layout/Wide-Footer.jpg',
'src' => $this->template_image_url . '/Wide-Footer.jpg',
'alt' => 'Wide-Footer',
'fullWidth' => true,
'width' => '1280px',
@ -316,7 +316,7 @@ class WideStoryLayout {
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
@ -326,7 +326,7 @@ class WideStoryLayout {
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
@ -336,7 +336,7 @@ class WideStoryLayout {
'type' => 'socialIcon',
'iconType' => 'website',
'link' => '',
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
'height' => '32px',
'width' => '32px',
'text' => 'Website',
@ -346,7 +346,7 @@ class WideStoryLayout {
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
@ -716,7 +716,7 @@ class WideStoryLayout {
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Facebook.png?mailpoet_version=3.11.1',
'image' => $this->social_icon_url . '/01-social/Facebook.png?mailpoet_version=3.11.1',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
@ -726,7 +726,7 @@ class WideStoryLayout {
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Twitter.png?mailpoet_version=3.11.1',
'image' => $this->social_icon_url . '/01-social/Twitter.png?mailpoet_version=3.11.1',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',