Adding https prefix the image sources

This commit is contained in:
Amine Ben hammou
2017-09-18 15:11:55 +00:00
parent 10be411b12
commit 0cd9c8e416
17 changed files with 34 additions and 18 deletions

View File

@ -8,7 +8,8 @@ class AppWelcome {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/app_welcome'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/app_welcome';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,7 @@ class BurgerJoint {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = 'http://ps.w.org/mailpoet/assets/newsletter-templates/burger_joint'; $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/burger_joint';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class ChocolateStore {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/chocolate_store'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/chocolate_store';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class CoffeeShop {
private $template_image_url; private $template_image_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/franks-roast-house'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/franks-roast-house';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class Discount {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/discount'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/discount';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class Faith {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/faith'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/faith';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class FestivalEvent {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/festival_event'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/festival_event';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -9,7 +9,8 @@ class FoodBox {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/food_box'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/food_box';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class KickOff {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/kick_off'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/kick_off';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class NewsDay {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/news_day'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/news_day';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class PieceOfCake {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/piece_of_cake'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/piece_of_cake';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class ScienceWeekly {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/science_weekly'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/science_weekly';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class Shoes {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/shoes'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/shoes';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class TakeAHike {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/take_a_hike'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/take_a_hike';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class TravelNomads {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/travel_nomads'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/travel_nomads';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class WorldCup {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/world_cup'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/world_cup';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }

View File

@ -8,7 +8,8 @@ class YogaStudio {
private $social_icon_url; private $social_icon_url;
function __construct($assets_url) { function __construct($assets_url) {
$this->template_image_url = '//ps.w.org/mailpoet/assets/newsletter-templates/yoga_studio'; $this->template_image_url = 'https://ps.w.org
/mailpoet/assets/newsletter-templates/yoga_studio';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
} }