Make all default newsletter templates read-only

This commit is contained in:
Tautvidas Sipavičius
2017-02-21 16:32:03 +02:00
parent 64606e69cf
commit 59f408846a
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ class FranksRoastHouseTemplate {
return array( return array(
'name' => __("Frank's Roast House", 'mailpoet'), 'name' => __("Frank's Roast House", 'mailpoet'),
'description' => __("Think of this as your sandbox. Play around with this example newsletter to see what MailPoet can do for you.", 'mailpoet'), 'description' => __("Think of this as your sandbox. Play around with this example newsletter to see what MailPoet can do for you.", 'mailpoet'),
'readonly' => 0, 'readonly' => 1,
'thumbnail' => $this->getThumbnail(), 'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()), 'body' => json_encode($this->getBody()),
); );

View File

@ -16,7 +16,7 @@ class Restaurant {
return array( return array(
'name' => __("Restaurant", 'mailpoet'), 'name' => __("Restaurant", 'mailpoet'),
'description' => __("What's fresh on the menu?", 'mailpoet'), 'description' => __("What's fresh on the menu?", 'mailpoet'),
'readonly' => 0, 'readonly' => 1,
'thumbnail' => $this->getThumbnail(), 'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()), 'body' => json_encode($this->getBody()),
); );

View File

@ -16,7 +16,7 @@ class StoreDiscount {
return array( return array(
'name' => __("Store Discount", 'mailpoet'), 'name' => __("Store Discount", 'mailpoet'),
'description' => __("Store discount email with coupon and shopping suggestions", 'mailpoet'), 'description' => __("Store discount email with coupon and shopping suggestions", 'mailpoet'),
'readonly' => 0, 'readonly' => 1,
'thumbnail' => $this->getThumbnail(), 'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()), 'body' => json_encode($this->getBody()),
); );

View File

@ -16,7 +16,7 @@ class TravelEmail {
return array( return array(
'name' => __("Travel email", 'mailpoet'), 'name' => __("Travel email", 'mailpoet'),
'description' => __("A little postcard from your trip", 'mailpoet'), 'description' => __("A little postcard from your trip", 'mailpoet'),
'readonly' => 0, 'readonly' => 1,
'thumbnail' => $this->getThumbnail(), 'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()), 'body' => json_encode($this->getBody()),
); );