Add an option for certain templates to be read only

This commit is contained in:
Tautvidas Sipavičius
2015-11-30 18:23:43 +02:00
parent 8461c13532
commit d21d9b99b0
4 changed files with 8 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ class BlankTemplate {
return array(
'name' => __("A Blank Template"),
'description' => __("A blank canvas ready for you to create something wonderful."),
'readonly' => 1,
'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()),
);

View File

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