This commit is contained in:
emmymayo
2025-02-05 23:15:46 +01:00
commit 7269c99357
16995 changed files with 3389680 additions and 0 deletions
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/text/widget.hbs */
class __TwigTemplate_de84f1cd61c1dbe348ba9c21d643ad8681c50ded23e706348d8c974c73528169 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/text.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/text/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/text/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/text/widget.hbs");
}
}
@@ -0,0 +1,86 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/block.hbs */
class __TwigTemplate_c5b2baad656ba71f0ebbe0b70ca8d928767c64a4ecddb4ec13dcabe4bec1b326 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "{{#if model.image.src}}
<style type=\"text/css\">
.mailpoet_editor_view_{{ viewCid }} {
background-color: {{#ifCond model.styles.block.backgroundColor '!=' 'transparent'}}{{ model.styles.block.backgroundColor }}{{else}}#ffffff{{/ifCond}} !important;
background-image: url({{ model.image.src }});
background-position: center;
background-repeat: {{#ifCond model.image.display '==' 'tile'}}repeat{{else}}no-repeat{{/ifCond}};
background-size: {{#ifCond model.image.display '==' 'scale'}}cover{{else}}contain{{/ifCond}};
}
.mailpoet_editor_view_{{ viewCid }} .mailpoet_container { background: transparent; }
</style>
{{else}}
{{#ifCond model.styles.block.backgroundColor '!=' 'transparent'}}
<style type=\"text/css\">
.mailpoet_editor_view_{{ viewCid }} { background-color: {{ model.styles.block.backgroundColor }}; }
.mailpoet_editor_view_{{ viewCid }} .mailpoet_container { background-color: {{ model.styles.block.backgroundColor }}; }
</style>
{{/ifCond}}
{{/if}}
<div class=\"mailpoet_container {{#ifCond model.orientation '===' 'horizontal'}}mailpoet_container_horizontal{{/ifCond}}{{#ifCond model.orientation '===' 'vertical'}}mailpoet_container_vertical{{/ifCond}}\"></div>
<div class=\"mailpoet_tools\"></div><div class=\"mailpoet_block_highlight\">
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,92 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/components/history.hbs */
class __TwigTemplate_79810918dede10b67349ebd5005561b67aec3910cc375e8ac5a9175e7ad92e4b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_history_wrapper\">
<a id=\"mailpoet-history-arrow-undo\" class=\"mailpoet_history_arrow\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"miter\" fill=\"none\">
<path d=\"M5,17 L5,15 C5,10.0294373 8.80557963,6 13.5,6 C18.1944204,6 22,10.0294373 22,15\"/>
<polyline points=\"8 15 5 18 2 15\"/>
</svg>
</a>
<a id=\"mailpoet-history-arrow-redo\" class=\"mailpoet_history_arrow\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"miter\" fill=\"none\">
<path d=\"M19,17 L19,15 C19,10.0294373 15.1944204,6 10.5,6 C5.80557963,6 2,10.0294373 2,15\"/>
<polyline points=\"16 15 19 18 22 15\"/>
</svg>
</a>
<input type=\"button\" id=\"mailpoet-history-reset-template\" class=\"button-link mailpoet_reset_template mailpoet_hidden\" value=\"";
// line 15
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Reset template"), "html_attr");
yield "\" />
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/components/history.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 54 => 15, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/components/history.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/components/history.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,199 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/custom_fields_legacy.html */
class __TwigTemplate_e8157be6d3c1ea26ac50aff90bbbee2f89ea00cb3e7ca20d733f2850ddba43fe extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<!-- date settings and block templates -->
";
// line 2
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date_years", "form/templatesLegacy/blocks/date_years.hbs", "_settings_date_years");
// line 5
yield "
";
// line 6
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date_months", "form/templatesLegacy/blocks/date_months.hbs", "_settings_date_months");
// line 9
yield "
";
// line 10
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date_days", "form/templatesLegacy/blocks/date_days.hbs", "_settings_date_days");
// line 13
yield "
";
// line 14
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date", "form/templatesLegacy/blocks/date.hbs");
yield "
<!-- field settings -->
";
// line 17
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_field_settings", "form/templatesLegacy/settings/field.hbs");
yield "
";
// line 19
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_label", "form/templatesLegacy/settings/label.hbs", "_settings_label");
// line 22
yield "
";
// line 23
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_label_within", "form/templatesLegacy/settings/label_within.hbs", "_settings_label_within");
// line 26
yield "
";
// line 27
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_required", "form/templatesLegacy/settings/required.hbs", "_settings_required");
// line 30
yield "
";
// line 31
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_validate", "form/templatesLegacy/settings/validate.hbs", "_settings_validate");
// line 34
yield "
";
// line 35
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_values", "form/templatesLegacy/settings/values.hbs", "_settings_values");
// line 38
yield "
";
// line 39
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_date_default", "form/templatesLegacy/settings/date_default.hbs", "_settings_date_default");
// line 42
yield "
";
// line 43
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_submit", "form/templatesLegacy/settings/submit.hbs", "_settings_submit");
// line 46
yield "
";
// line 48
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_values_item", "form/templatesLegacy/settings/values_item.hbs");
// line 49
yield "
";
// line 50
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_date_format", "form/templatesLegacy/settings/date_formats.hbs", "_settings_date_format");
// line 54
yield "
";
// line 55
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_date_type", "form/templatesLegacy/settings/date_types.hbs", "_settings_date_type");
// line 59
yield "
";
// line 60
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_segment_selection_item", "form/templatesLegacy/settings/segment_selection_item.hbs");
// line 62
yield "
";
// line 63
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_segment_selection", "form/templatesLegacy/settings/segment_selection.hbs", "_settings_segment_selection");
// line 66
yield "
<!-- custom field: new -->
";
// line 69
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_field_form", "form/templatesLegacy/settings/field_form.hbs");
// line 71
yield "
<!-- field settings depending on field type -->
<script id=\"form_template_field_text\" type=\"text/x-handlebars-template\">
{{> _settings_required }}
{{> _settings_validate }}
</script>
<script id=\"form_template_field_textarea\" type=\"text/x-handlebars-template\">
{{> _settings_required }}
{{> _settings_validate }}
</script>
<script id=\"form_template_field_radio\" type=\"text/x-handlebars-template\">
{{> _settings_values }}
{{> _settings_required }}
</script>
<script id=\"form_template_field_checkbox\" type=\"text/x-handlebars-template\">
{{> _settings_values }}
{{> _settings_required }}
</script>
<script id=\"form_template_field_select\" type=\"text/x-handlebars-template\">
{{> _settings_values }}
{{> _settings_required }}
</script>
<script id=\"form_template_field_date\" type=\"text/x-handlebars-template\">
{{> _settings_required }}
{{> _settings_date_type }}
</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/custom_fields_legacy.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 132 => 71, 130 => 69, 125 => 66, 123 => 63, 120 => 62, 118 => 60, 115 => 59, 113 => 55, 110 => 54, 108 => 50, 105 => 49, 103 => 48, 99 => 46, 97 => 43, 94 => 42, 92 => 39, 89 => 38, 87 => 35, 84 => 34, 82 => 31, 79 => 30, 77 => 27, 74 => 26, 72 => 23, 69 => 22, 67 => 19, 62 => 17, 56 => 14, 53 => 13, 51 => 10, 48 => 9, 46 => 6, 43 => 5, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/custom_fields_legacy.html", "/home/circleci/mailpoet/mailpoet/views/form/custom_fields_legacy.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,84 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs */
class __TwigTemplate_bf1afcdd39b977c640e7d80e1226553f8b3fa42753dc0980108bb10dea17eb4d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/3-column.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("3 columns");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,75 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/products/settingsSelectionEmpty.hbs */
class __TwigTemplate_b30ce301b23c2278200a8970cdf2825585dcfd62ae3ea793f7909811acbc7cff extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield $this->extensions['MailPoet\Twig\I18n']->translate("No products available");
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/products/settingsSelectionEmpty.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/products/settingsSelectionEmpty.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/products/settingsSelectionEmpty.hbs");
}
}
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs */
class __TwigTemplate_aa404a6812c6c46c499f4d47b746203eda3f98198cba9ee316aa97c740c9c9c9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/2-column-12.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("1:2 columns");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,160 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* parsley-translations.html */
class __TwigTemplate_c57fdfc1a59b00dc7129161c18976ad5ba36cdd436a8430e0c1963def69c2803 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "
Parsley.addMessages('mailpoet', {
defaultMessage: '";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value seems to be invalid.");
yield "',
type: {
email: '";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid email.");
yield "',
url: '";
// line 6
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid url.");
yield "',
number: '";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid number.");
yield "',
integer: '";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid integer.");
yield "',
digits: '";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be digits.");
yield "',
alphanum: '";
// line 10
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be alphanumeric.");
yield "'
},
notblank: '";
// line 12
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should not be blank.");
yield "',
required: '";
// line 13
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is required.");
yield "',
pattern: '";
// line 14
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value seems to be invalid.");
yield "',
min: '";
// line 15
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be greater than or equal to %s.");
yield "',
max: '";
// line 16
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be lower than or equal to %s.");
yield "',
range: '";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be between %s and %s.");
yield "',
minlength: '";
// line 18
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is too short. It should have %s characters or more.");
yield "',
maxlength: '";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is too long. It should have %s characters or fewer.");
yield "',
length: '";
// line 20
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value length is invalid. It should be between %s and %s characters long.");
yield "',
mincheck: '";
// line 21
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select at least %s choices.");
yield "',
maxcheck: '";
// line 22
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select %s choices or fewer.");
yield "',
check: '";
// line 23
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select between %s and %s choices.");
yield "',
equalto: '";
// line 24
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be the same.");
yield "'
});
Parsley.setLocale('mailpoet');
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "parsley-translations.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 120 => 24, 116 => 23, 112 => 22, 108 => 21, 104 => 20, 100 => 19, 96 => 18, 92 => 17, 88 => 16, 84 => 15, 80 => 14, 76 => 13, 72 => 12, 67 => 10, 63 => 9, 59 => 8, 55 => 7, 51 => 6, 47 => 5, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "parsley-translations.html", "/home/circleci/mailpoet/mailpoet/views/parsley-translations.html");
}
}
@@ -0,0 +1,87 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* subscription/confirm_unsubscribe.html */
class __TwigTemplate_b2e90aa663ee76ef09938814932102214bf0368922c2c205f621d8de92729c0a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
return; yield '';
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 2
yield "<p class=\"mailpoet_confirm_unsubscribe\">
";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Simply click on this link to stop receiving emails from us.");
yield "
<br>
<a href=\"";
// line 5
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["unsubscribeUrl"] ?? null), "html", null, true);
yield "\" rel=\"nofollow\">";
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Yes, unsubscribe me", "Text in unsubscribe link");
yield "</a>
</p>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "subscription/confirm_unsubscribe.html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 55 => 5, 50 => 3, 47 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "subscription/confirm_unsubscribe.html", "/home/circleci/mailpoet/mailpoet/views/subscription/confirm_unsubscribe.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,101 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/required.hbs */
class __TwigTemplate_7dc405d107b9ef946cdf9bdce5875c7d5e40f17176bd24a0ccb45f3a720a1c25 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Is this field mandatory?");
yield "</label>
<span class=\"group\">
<label>
<input type=\"radio\"
class=\"mailpoet_radio\"
name=\"params[required]\"
value=\"1\"
{{#if params.required}}checked=\"checked\"{{/if}} />";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
<label>
<input
class=\"mailpoet_radio\"
type=\"radio\"
name=\"params[required]\"
value=\"\"
{{#unless params.required}}checked=\"checked\"{{/unless}} />";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</span>
</p>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/required.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 62 => 17, 51 => 9, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/required.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/required.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs */
class __TwigTemplate_ea975d08490195dde03043b911bf56b572ba96601b67c86a4df9ffd90926d6db extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/2-column.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("2 columns");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,72 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/social/block.hbs */
class __TwigTemplate_c560f42919f3fb9a72925687f5688cac4a20481ee76781b56679c599e2f12bf9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "<div class=\"mailpoet_tools\"></div>
<div
class=\"mailpoet_content mailpoet_social\"
data-automation-id=\"socialBlock\"
style=\"text-align: {{model.styles.block.textAlign}}\"
>
</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/social/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/social/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/social/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,104 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/date_default.hbs */
class __TwigTemplate_b3250ae4fa6cf3a8ba59dcf87bbed920729d3d0ed83a6f7fb8ac83124c949d67 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Preselect today's date:");
yield "</label>
<span class=\"group\">
<label>
<input
class=\"mailpoet_radio\"
type=\"radio\"
name=\"params[is_default_today]\"
value=\"1\"
{{#if params.is_default_today}}checked=\"checked\"{{/if}}
/>";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
<label>
<input
class=\"mailpoet_radio\"
type=\"radio\"
name=\"params[is_default_today]\"
value=\"\"
{{#unless params.is_default_today}}checked=\"checked\"{{/unless}}
/>";
// line 20
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</span>
</p>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/date_default.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 65 => 20, 53 => 11, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/date_default.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/date_default.hbs");
}
}
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/woocommerceContent/widget.hbs */
class __TwigTemplate_77d59f140a098af6dd45178c94dd951cfc4ba7d8ad38d8d7d28a8de13fc328a4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/text.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("WooCommerce Transactional Email Content", "Name of a widget in the email editor. This widget is used to display WooCommerce order information (list of bought items, shipping address, ...)");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/woocommerceContent/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/woocommerceContent/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceContent/widget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,82 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/abandonedCartContent/block.hbs */
class __TwigTemplate_8757195cf6e3b4b538bc0229021fc88316ee26a19f6b4b0703e7efaacd43582b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_tools\"></div>
<div class=\"mailpoet_abandoned_cart_content_block_overlay\" data-automation-id=\"acc_overlay\">
<span class=\"mailpoet_overlay_message\">";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("This is only a preview! Your customers will see the product(s) they left in their shopping cart.");
yield "</span>
</div>
<div class=\"mailpoet_abandoned_cart_content_container\"></div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/abandonedCartContent/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/abandonedCartContent/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/abandonedCartContent/block.hbs");
}
}
@@ -0,0 +1,70 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/posts/settingsSinglePost.hbs */
class __TwigTemplate_2b8436f11a8e5b7c281e3ad2934bf0d670cfbcbf40e856d8550c5d9850142911 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "<div class=\"mailpoet_settings_posts_single_post\">
<label>
<input id=\"mailpoet_select_post_{{ index }}\" class=\"mailpoet_select_post_checkbox\" type=\"checkbox\" class=\"checkbox\" value=\"\" name=\"post_selection\">
{{#ellipsis model.post_title 40 '...'}}{{/ellipsis}}
</label>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/posts/settingsSinglePost.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/posts/settingsSinglePost.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/posts/settingsSinglePost.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,78 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/social/settingsIconSelector.hbs */
class __TwigTemplate_85fc869f3ae1c550c3cf160741a139fd72e12753ecca0317d5c2fd9caec91d19 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div id=\"mailpoet_social_icon_selector_contents\"></div>
<input type=\"button\" class=\"button button-secondary mailpoet_button_full mailpoet_add_social_icon\" data-automation-id='social_select_another_network' value=\"";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Add another social network");
yield "\" />
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/social/settingsIconSelector.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/social/settingsIconSelector.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/social/settingsIconSelector.hbs");
}
}
@@ -0,0 +1,107 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/blocks/date_months.hbs */
class __TwigTemplate_b5e707bd1b188f8a302641e04b1f499468f3c556b3e0b768539cbc0646887f69 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["currentMonth"] = $this->extensions['MailPoetVendor\Twig\Extension\CoreExtension']->formatDate("now", "n");
// line 2
yield "<select id=\"{{ id }}_months\">
<option value=\"\">";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Month");
yield "</option>
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 12));
foreach ($context['_seq'] as $context["_key"] => $context["month"]) {
// line 5
yield " <option
";
// line 6
if ((($context["currentMonth"] ?? null) == $context["month"])) {
// line 7
yield " {{#if params.is_default_today}}selected=\"selected\"{{/if}}
";
}
// line 9
yield " >
";
// line 10
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = ($context["month_names"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["month"] - 1)] ?? null) : null), "html", null, true);
yield "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['month'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield "</select>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/blocks/date_months.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 72 => 13, 63 => 10, 60 => 9, 56 => 7, 54 => 6, 51 => 5, 47 => 4, 43 => 3, 40 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/blocks/date_months.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/blocks/date_months.hbs");
}
}
@@ -0,0 +1,84 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/header/block.hbs */
class __TwigTemplate_72c7cba0142b0800859a59bebc68ebb3db001473f6011d3bbefbb20af9938500 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "<div class=\"mailpoet_tools\"></div>
<style type=\"text/css\">
.mailpoet_editor_view_{{ viewCid }} .mailpoet_content,
.mailpoet_editor_view_{{ viewCid }} .mailpoet_content p {
color: {{ model.styles.text.fontColor }};
font-family: {{fontWithFallback model.styles.text.fontFamily }};
font-size: {{ model.styles.text.fontSize }};
background-color: {{ model.styles.block.backgroundColor }};
text-align: {{ model.styles.text.textAlign }};
}
.mailpoet_editor_view_{{ viewCid }} .mailpoet_content a,
.mailpoet_editor_view_{{ viewCid }} .mailpoet_content a:hover,
.mailpoet_editor_view_{{ viewCid }} .mailpoet_content a:active,
.mailpoet_editor_view_{{ viewCid }} .mailpoet_content a:visited {
color: {{ model.styles.link.fontColor }};
text-decoration: {{ model.styles.link.textDecoration }};
}
</style>
<div class=\"mailpoet_content mailpoet_text_content\" data-automation-id=\"header\">{{{ model.text }}}</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/header/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/header/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/header/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,80 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/text/settings.hbs */
class __TwigTemplate_78d6d50a8be9fd03873bfc43ac1c5c60d2eff8e1fbef2ff125faf7680c83dfdb extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield "</h3>
";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield ": <textarea name=\"text\" class=\"text\" rows=\"5\" cols=\"40\">{{ model.text }}</textarea>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/text/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 43 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/text/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/text/settings.hbs");
}
}
@@ -0,0 +1,158 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* woo_system_info.html */
class __TwigTemplate_4e0ede03c63347844b541c798d581116f05e6725f71ff37333dec6557061a07a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<table class=\"wc_status_table widefat\" cellspacing=\"0\">
<thead>
<tr>
<th colspan=\"3\" data-export-label=\"MailPoet\"><h2
>";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("MailPoet");
yield "
<span class=\"woocommerce-help-tip\" data-tip=\"";
// line 6
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("This section shows details of MailPoet"), "html_attr");
yield "\"></span>
</h2></th>
</tr>
</thead>
<tbody>
<tr>
<td data-export-label=\"Sending Method\">";
// line 12
yield $this->extensions['MailPoet\Twig\I18n']->translate("Sending Method:");
yield "</td>
<td class=\"help\">
<span class=\"woocommerce-help-tip\" data-tip=\"";
// line 14
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("What method is used to send out newsletters?"), "html_attr");
yield "\"></span>
</td>
<td>";
// line 16
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["system_info"] ?? null), "sending_method", [], "any", false, false, false, 16), "html", null, true);
yield "</td>
</tr>
<tr>
<td data-export-label=\"Send all site's emails with\">";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translate("Send all site's emails with:");
yield "</td>
<td class=\"help\">
<span class=\"woocommerce-help-tip\" data-tip=\"";
// line 21
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("With which method are transactional emails sent?"), "html_attr");
yield "\"></span>
</td>
<td>";
// line 23
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["system_info"] ?? null), "transactional_emails", [], "any", false, false, false, 23), "html", null, true);
yield "</td>
</tr>
<tr>
<td data-export-label=\"Task Scheduler method\">";
// line 26
yield $this->extensions['MailPoet\Twig\I18n']->translate("Task Scheduler method:");
yield "</td>
<td class=\"help\">
<span class=\"woocommerce-help-tip\" data-tip=\"";
// line 28
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("What method controls the cron job?"), "html_attr");
yield "\"></span>
</td>
<td>";
// line 30
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["system_info"] ?? null), "task_scheduler_method", [], "any", false, false, false, 30), "html", null, true);
yield "</td>
</tr>
<tr>
<td data-export-label=\"Cron ping URL\">";
// line 33
yield $this->extensions['MailPoet\Twig\I18n']->translate("Cron ping URL:");
yield "</td>
<td class=\"help\">
<span class=\"woocommerce-help-tip\" data-tip=\"";
// line 35
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Which URL needs to be pinged to get the cron started?"), "html_attr");
yield "\"></span>
</td>
<td><a href=\"";
// line 37
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["system_info"] ?? null), "cron_ping_url", [], "any", false, false, false, 37), "html_attr");
yield "\">";
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["system_info"] ?? null), "cron_ping_url", [], "any", false, false, false, 37), "html", null, true);
yield "</a></td>
</tr>
</tbody>
</table>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "woo_system_info.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 115 => 37, 110 => 35, 105 => 33, 99 => 30, 94 => 28, 89 => 26, 83 => 23, 78 => 21, 73 => 19, 67 => 16, 62 => 14, 57 => 12, 48 => 6, 44 => 5, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "woo_system_info.html", "/home/circleci/mailpoet/mailpoet/views/woo_system_info.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,92 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/label_within.hbs */
class __TwigTemplate_ae7764fb3f2080acd04f7cc88df95f6784cd97a40c6ef44f46cc2492b2d17bd7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Display label within input:");
yield "</label>
<span class=\"group\">
<label>
<input class=\"mailpoet_radio\" type=\"radio\" name=\"params[label_within]\" value=\"1\" {{#if params.label_within}}checked=\"checked\"{{/if}} />";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
<label>
<input class=\"mailpoet_radio\" type=\"radio\" name=\"params[label_within]\" value=\"\" {{#unless params.label_within}}checked=\"checked\"{{/unless}} />";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</span>
</p>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/label_within.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 53 => 8, 47 => 5, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/label_within.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/label_within.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,110 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* segments/static.html */
class __TwigTemplate_0caa1806b4e6bad50c4bb59fbbdec799771fc97376dbc0dd12d0fe0df7e756ad extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'after_translations' => [$this, 'block_after_translations'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("layout.html", "segments/static.html", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
yield " <div id=\"static_segments_container\"></div>
<script type=\"text/javascript\">
var mailpoet_listing_per_page = ";
// line 7
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["items_per_page"] ?? null), "html", null, true);
yield ";
</script>
";
// line 10
yield from $this->loadTemplate("segments/translations.html", "segments/static.html", 10)->unwrap()->yield($context);
return; yield '';
}
// line 14
public function block_after_translations($context, array $blocks = [])
{
$macros = $this->macros;
// line 15
yield " ";
yield do_action("mailpoet_segments_translations_after");
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "segments/static.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 72 => 15, 68 => 14, 63 => 10, 57 => 7, 52 => 4, 48 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "segments/static.html", "/home/circleci/mailpoet/mailpoet/views/segments/static.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,107 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/blocks/date_years.hbs */
class __TwigTemplate_bb51173393bd115fb73852f25a9771bba45407f3bab35cc8c1403263a5e7b13b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["currentYear"] = $this->extensions['MailPoetVendor\Twig\Extension\CoreExtension']->formatDate("now", "Y");
// line 2
$context["minYear"] = (($context["currentYear"] ?? null) - 100);
// line 3
yield "
<select id=\"{{ id }}_years\">
<option value=\"\">";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("Year");
yield "</option>
";
// line 6
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(($context["currentYear"] ?? null), ($context["minYear"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["year"]) {
// line 7
yield " <option
";
// line 8
if ((($context["currentYear"] ?? null) == $context["year"])) {
// line 9
yield " {{#if params.is_default_today}}selected=\"selected\"{{/if}}
";
}
// line 11
yield " >";
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($context["year"], "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['year'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield "</select>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/blocks/date_years.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 72 => 13, 63 => 11, 59 => 9, 57 => 8, 54 => 7, 50 => 6, 46 => 5, 42 => 3, 40 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/blocks/date_years.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/blocks/date_years.hbs");
}
}
@@ -0,0 +1,356 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/components/sidebar/styles.hbs */
class __TwigTemplate_e73b2cb637db2bcb6f40e724fb0d13365d1675cbb501f971890ea259b1a77054 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"handlediv\" title=\"";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Click to toggle");
yield "\"><br></div>
<h3>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Styles");
yield "</h3>
<div class=\"mailpoet_region_content\">
<form id=\"mailpoet_newsletter_styles\" class=\"mailpoet_newsletter_styles\" action=\"\" method=\"post\" accept-charset=\"utf-8\">
<div id='mailpoet_brand_styles'></div>
{{#if isWoocommerceTransactional}}
<div class=\"mailpoet_form_field\">
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"wc-branding-color\" value=\"{{ model.woocommerce.brandingColor }}\" id=\"mailpoet_wc_branding_color\"></span>
</span>";
// line 10
yield $this->extensions['MailPoet\Twig\I18n']->translate("Branding color");
yield "
</div>
<hr />
{{/if}}
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<label for=\"mailpoet_text_font_family\">
{{#if isWoocommerceTransactional}}
";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text font styles");
yield "
{{else}}
";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield "
{{/if}}
</label>
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"text-color\" value=\"{{ model.text.fontColor }}\" id=\"mailpoet_text_font_color\"></span>
</span>
<select id=\"mailpoet_text_font_family\" name=\"text-family\" class=\"mailpoet_font_family mailpoet_select mailpoet_select_medium\">
<optgroup label=\"";
// line 26
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.text.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{#if availableStyles.fonts.custom.length}}
<optgroup label=\"";
// line 32
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.text.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{/if}}
</select>
<select id=\"mailpoet_text_font_size\" name=\"text-size\" class=\"mailpoet_font_size mailpoet_select mailpoet_select_small\">
{{#each availableStyles.textSizes}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.text.fontSize}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
{{#if isWoocommerceTransactional}}
<hr />
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<label for=\"mailpoet_text_font_size\">
";
// line 49
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading font styles");
yield "
</label>
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"woocommerce-content-heading-color\" value=\"{{ model.woocommerce.contentHeadingFontColor }}\" id=\"mailpoet_wc_content_heading_font_color\"></span>
</span>
<select id=\"mailpoet_wc_heading_font_family\" name=\"woo-heading-family\" class=\"mailpoet_font_family mailpoet_select mailpoet_select_medium\">
<optgroup label=\"";
// line 55
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.woocommerce.headingFontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{#if availableStyles.fonts.custom.length}}
<optgroup label=\"";
// line 61
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.woocommerce.headingFontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{/if}}
</select>
</div>
{{/if}}
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<label for=\"mailpoet_h1_font_size\">
";
// line 72
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 1");
yield "
</label>
{{#unless isWoocommerceTransactional}}
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"h1-color\" value=\"{{ model.h1.fontColor }}\" id=\"mailpoet_h1_font_color\"></span>
</span>
<select id=\"mailpoet_h1_font_family\" name=\"h1-family\" class=\"mailpoet_font_family mailpoet_select mailpoet_select_medium\">
<optgroup label=\"";
// line 79
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h1.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{#if availableStyles.fonts.custom.length}}
<optgroup label=\"";
// line 85
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h1.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{/if}}
</select>
{{/unless}}
<select id=\"mailpoet_h1_font_size\" name=\"h1-size\" class=\"mailpoet_font_size mailpoet_select mailpoet_select_small\">
{{#each availableStyles.headingSizes}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h1.fontSize}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<label for=\"mailpoet_h2_font_size\">
";
// line 101
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 2");
yield "
</label>
{{#unless isWoocommerceTransactional}}
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"h2-color\" value=\"{{ model.h2.fontColor }}\" id=\"mailpoet_h2_font_color\"></span>
</span>
<select id=\"mailpoet_h2_font_family\" name=\"h2-family\" class=\"mailpoet_font_family mailpoet_select mailpoet_select_medium\">
<optgroup label=\"";
// line 108
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h2.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{#if availableStyles.fonts.custom.length}}
<optgroup label=\"";
// line 114
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h2.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{/if}}
</select>
{{/unless}}
<select id=\"mailpoet_h2_font_size\" name=\"h2-size\" class=\"mailpoet_font_size mailpoet_select mailpoet_select_small\">
{{#each availableStyles.headingSizes}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h2.fontSize}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<label for=\"mailpoet_h3_font_size\">
";
// line 130
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 3");
yield "
</label>
{{#unless isWoocommerceTransactional}}
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"h3-color\" value=\"{{ model.h3.fontColor }}\" id=\"mailpoet_h3_font_color\"></span>
</span>
<select id=\"mailpoet_h3_font_family\" name=\"h3-family\" class=\"mailpoet_font_family mailpoet_select mailpoet_select_medium\">
<optgroup label=\"";
// line 137
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h3.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{#if availableStyles.fonts.custom.length}}
<optgroup label=\"";
// line 143
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h3.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
{{/if}}
</select>
{{/unless}}
<select id=\"mailpoet_h3_font_size\" name=\"h3-size\" class=\"mailpoet_font_size mailpoet_select mailpoet_select_small\">
{{#each availableStyles.headingSizes}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h3.fontSize}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
{{#unless isWoocommerceTransactional}}
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<label>
";
// line 160
yield $this->extensions['MailPoet\Twig\I18n']->translate("Links");
yield "
</label>
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"link-color\" value=\"{{ model.link.fontColor }}\" id=\"mailpoet_a_font_color\"></span>
</span><input type=\"checkbox\" name=\"underline\" value=\"underline\" id=\"mailpoet_a_font_underline\" {{#ifCond model.link.textDecoration '==' 'underline'}}CHECKED{{/ifCond}} class=\"mailpoet_option_offset_left_small\"/> ";
// line 164
yield $this->extensions['MailPoet\Twig\I18n']->translate("Underline");
yield "</label>
</div>
<hr />
<div class=\"mailpoet_form_field\">
<label for=\"mailpoet_text_line_height\">
";
// line 169
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text line height");
yield "
</label>
<select id=\"mailpoet_text_line_height\" name=\"text-line-height\">
{{#each availableStyles.lineHeights}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.text.lineHeight}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
<div class=\"mailpoet_form_field\">
<label for=\"mailpoet_heading_line_height\">
";
// line 180
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading line height");
yield "
</label>
<select id=\"mailpoet_heading_line_height\" name=\"heading-line-height\">
{{#each availableStyles.lineHeights}}
{{!-- Checking against h1 only since all headings have the same line height value. --}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.h1.lineHeight}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
{{/unless}}
<hr />
<div class=\"mailpoet_form_field\">
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"newsletter-color\" value=\"{{ model.wrapper.backgroundColor }}\" id=\"mailpoet_newsletter_background_color\"></span>
</span>";
// line 194
yield $this->extensions['MailPoet\Twig\I18n']->translate("Content background");
yield "
</div>
<div class=\"mailpoet_form_field\">
<span>
<span><input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"background-color\" value=\"{{ model.body.backgroundColor }}\" id=\"mailpoet_background_color\"></span>
</span>";
// line 199
yield $this->extensions['MailPoet\Twig\I18n']->translate("Global background");
yield "
</div>
</form>
<p class=\"mailpoet_settings_notice\">";
// line 202
yield MailPoet\Util\Helpers::replaceLinkTags($this->extensions['MailPoet\Twig\I18n']->translate("If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead."), "https://kb.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts", ["target" => "_blank"]);
yield "</p>
</div>
<script type=\"text/javascript\">
fontsSelect('.mailpoet_font_family.mailpoet_select');
</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/components/sidebar/styles.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 315 => 202, 309 => 199, 301 => 194, 284 => 180, 270 => 169, 262 => 164, 255 => 160, 235 => 143, 226 => 137, 216 => 130, 197 => 114, 188 => 108, 178 => 101, 159 => 85, 150 => 79, 140 => 72, 126 => 61, 117 => 55, 108 => 49, 88 => 32, 79 => 26, 69 => 19, 64 => 17, 54 => 10, 43 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/components/sidebar/styles.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/components/sidebar/styles.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,124 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/date_types.hbs */
class __TwigTemplate_e09d68cf316097fd5135112267ebb032f67c0f65a0d93eb763abf51281c496ca extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Type of date");
yield "</label>
<select name=\"params[date_type]\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["date_types"] ?? null));
foreach ($context['_seq'] as $context["type"] => $context["label"]) {
// line 5
yield " <option
{{#ifCond params.date_type \"==\" \"";
// line 6
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
yield "\"}}
selected=\"selected\"
{{/ifCond}}
data-format=\"";
// line 9
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = (($__internal_compile_1 = ($context["date_formats"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["type"]] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
yield "\"
>";
// line 10
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($context["label"], "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['type'], $context['label'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
yield " </select>
<input type=\"hidden\" name=\"params[date_format]\" value=\"\" />
</p>
<script type=\"text/javascript\">
jQuery(function(\$) {
\$('select[name=\"params[date_type]\"]').on('change', function() {
// set default date format depending on date type
\$('input[name=\"params[date_format]\"]')
.val(\$(this)
.find('option:selected')
.data('format'));
});
// set default format
\$('select[name=\"params[date_type]\"]').trigger('change');
});
<{{!}}/script>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/date_types.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 73 => 12, 65 => 10, 59 => 9, 53 => 6, 50 => 5, 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/date_types.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/date_types.hbs");
}
}
@@ -0,0 +1,211 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/segment_selection.hbs */
class __TwigTemplate_a56b98597185bd94848e20889223b924a6c7613ed81a9303bb7a0ae266393ed5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<ul id=\"mailpoet_segment_selection\" class=\"clearfix\"></ul>
<div id=\"mailpoet_segment_available_container\">
<h3>";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("Select the list that you want to add:");
yield "</h3>
<select class=\"mailpoet_segment_available\"></select>
<a href=\"javascript:;\" class=\"mailpoet_segment_add\"><span>";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("Add");
yield "</span></a>
</div>
<script type=\"text/javascript\">
jQuery(function(\$) {
";
// line 13
yield " var selected_segments = {{#if params.values}}{{{ json_encode params.values }}}
{{else}}[]{{/if}};
";
// line 17
yield "
\$(function() {
mailpoet_segment_available_render();
mailpoet_segment_selection_render();
setInputNames();
// add segment
\$('.mailpoet_segment_add').on('click', function() {
// add currently selected segment to the selection
var selected_segment = \$('.mailpoet_segment_available :selected');
// add segment to selection
selected_segments.push({
id: selected_segment.val(),
name: selected_segment.text(),
is_checked: 0
});
// remove segment from available segments
selected_segment.remove();
// render selection
mailpoet_segment_selection_render();
setInputNames();
});
// remove segment
\$('#mailpoet_segment_selection').on('click', '.remove', function(e) {
if(\$('#mailpoet_segment_selection').children().length === 1) {
return e.preventDefault();
}
var element = \$(this).parents('li');
// remove currently selected segment to the selection
var selected_segment = parseInt(element.data('segment'), 10);
// remove segment from selection
selected_segments = selected_segments.filter(function(segment) {
return (parseInt(segment.id, 10) !== selected_segment);
});
// remove element
element.remove();
// render available segment
mailpoet_segment_available_render();
setInputNames();
});
});
function setupSortableSegments() {
// make segment selection sortable
Sortable.create('mailpoet_segment_selection', {
handles: \$\$('#mailpoet_segment_selection .handle'),
onChange: function(item) {
setInputNames();
}
});
}
function mailpoet_segment_available_render() {
// clear available segments
\$('.mailpoet_segment_available').html('');
var selected_segment_ids = selected_segments.map(function(segment) {
return segment.id;
});
// display available segments
\$.each(mailpoet_segments, function(i, segment) {
if(\$.inArray(segment.id, selected_segment_ids) < 0) {
\$('.mailpoet_segment_available').append(
'<option value=\"'+segment.id+'\">'+segment.name+'</option>'
);
}
});
mailpoet_segment_available_toggle();
}
function mailpoet_segment_selection_render() {
// segment item template
var template = Handlebars.compile(
\$('#field_settings_segment_selection_item').html()
);
// update view
\$('#mailpoet_segment_selection').html(
template({ segments: selected_segments })
);
mailpoet_segment_available_toggle();
}
function mailpoet_segment_available_toggle() {
// toggle visibility of available segments
if(\$('.mailpoet_segment_available option').length === 0) {
\$('#mailpoet_segment_available_container').hide();
} else {
\$('#mailpoet_segment_available_container').show();
}
}
function setInputNames() {
\$('#mailpoet_segment_selection li').each(function(index, item) {
\$(item).find('.mailpoet_is_checked').attr('name', 'params[values]['+index+'][is_checked]');
\$(item).find('.mailpoet_segment_id').attr('name', 'params[values]['+index+'][id]');
\$(item).find('.mailpoet_segment_name').attr('name', 'params[values]['+index+'][name]');
});
setupSortableSegments();
}
});
<{{!}}/script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/segment_selection.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 62 => 17, 58 => 13, 50 => 8, 43 => 4, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/segment_selection.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/segment_selection.hbs");
}
}
@@ -0,0 +1,85 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/abandonedCartContent/settings.hbs */
class __TwigTemplate_fa065697f25afa3f448331ec5feeaeff06376f390132a244e352df6f05279716 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Display options");
yield "</h3>
<div class=\"mailpoet_settings_abandoned_cart_content_display_options\"></div>
<div class=\"mailpoet_settings_abandoned_cart_content_controls\">
<div class=\"mailpoet_form_field\">
<input type=\"button\" class=\"button button-primary mailpoet_done_editing\" value=\"";
// line 5
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Done"), "html_attr");
yield "\" />
</div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/abandonedCartContent/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 5, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/abandonedCartContent/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/abandonedCartContent/settings.hbs");
}
}
@@ -0,0 +1,157 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/values.hbs */
class __TwigTemplate_5af51a553427d7a127e75e710a4e59d5d16e4cc2ee6ba16444fb674882c9e0e7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_multiple_values\">
<ul></ul>
{{#ifCond type 'in' 'radio,select'}}
<a href=\"javascript:;\" class=\"add\"><span></span>";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("Add item");
yield "</a>
{{/ifCond}}
</div>
<script type=\"text/javascript\">
jQuery(function(\$) {
{{#if params.values}}
var field_values = {{{ json_encode params.values }}};
{{else}}
var field_values = [{ value: '' }];
{{/if}}
var field_type = \"{{ type }}\";
var template = Handlebars.compile(\$('#field_settings_values_item').html());
// set default value for checkbox type if there is no value defined
if(field_type === 'checkbox' && field_values.length !== 1) {
if(field_values.length > 1) {
field_values = [field_values[0]];
} else {
// push a default empty value
field_values = [{}];
}
}
\$(function() {
// render all values by creating inputs
for(var i = 0, count = field_values.length; i < count; i++) {
createInput(template, field_values[i]);
}
// set inputs name
setInputNames();
// add value
\$('.mailpoet_multiple_values .add').on('click', function() {
createInput(template);
setInputNames();
});
// remove value
\$(document).on('click', '.mailpoet_multiple_values li .remove', function() {
\$(this).parent('li').remove();
setInputNames();
});
// create an input
function createInput(template, values) {
var data = values || {};
// set field type
data.type = field_type;
// add input to selection
\$('.mailpoet_multiple_values ul').append(template(data));
}
// set input names (since their index is based on their position)
function setInputNames() {
\$('.mailpoet_multiple_values li').each(function(index, item) {
\$(item).find('.is_checked').attr('name', 'params[values]['+index+'][is_checked]');
\$(item).find('.value').attr('name', 'params[values]['+index+'][value]');
});
// hide remove button if only one item remains
if (\$('.mailpoet_multiple_values li').length > 1) {
\$('.mailpoet_multiple_values .remove').show();
} else {
\$('.mailpoet_multiple_values .remove').hide();
}
}
{{#ifCond type '!=' 'checkbox'}}
\$('.mailpoet_multiple_values').on('click', '.is_checked', function() {
// get click checkbox's state
var is_checked = \$(this).is(':checked');
// uncheck all checkboxes
\$('.mailpoet_multiple_values .is_checked').removeProp('checked');
// toggle clicked checkbox
if(is_checked === false) {
\$(this).removeProp('checked');
} else {
\$(this).prop('checked', 'checked');
}
});
{{/ifCond}}
});
});
<{{!}}/script>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/values.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 43 => 4, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/values.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/values.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,182 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/header/settings.hbs */
class __TwigTemplate_6600fff5a3f9873439474a07dab72aaab7a4466f14e9ab17e0fb500adeecf368 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Header");
yield "</h3>
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<div class=\"mailpoet_form_field_title\">";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield "</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_input_nowrap\">
<input type=\"text\" name=\"font-color\" id=\"mailpoet_field_header_text_color\" class=\"mailpoet_field_header_text_color mailpoet_color\" value=\"{{ model.styles.text.fontColor }}\" />
<select id=\"mailpoet_field_header_text_font_family\" name=\"font-family\" class=\"mailpoet_select mailpoet_select_medium mailpoet_field_header_text_font_family mailpoet_font_family\">
<optgroup label=\"";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.styles.text.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
<optgroup label=\"";
// line 13
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.styles.text.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
</select>
<select id=\"mailpoet_field_header_text_size\" name=\"font-size\" class=\"mailpoet_select mailpoet_select_small mailpoet_field_header_text_size mailpoet_font_size\">
{{#each availableStyles.textSizes}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.styles.text.fontSize}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_input_option\">
<input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"link-color\" value=\"{{ model.styles.link.fontColor }}\" id=\"mailpoet_field_header_link_color\" />
</div>
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_inline\">";
// line 30
yield $this->extensions['MailPoet\Twig\I18n']->translate("Links");
yield "</div>
<label>
<div class=\"mailpoet_form_field_checkbox_option mailpoet_option_offset_left_small\">
<input type=\"checkbox\" name=\"underline\" value=\"underline\" id=\"mailpoet_field_header_link_underline\" {{#ifCond model.styles.link.textDecoration '==' 'underline'}}CHECKED{{/ifCond}}/> ";
// line 33
yield $this->extensions['MailPoet\Twig\I18n']->translate("Underline");
yield "
</div>
</label>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_input_option\">
<input type=\"text\" name=\"background-color\" class=\"mailpoet_field_header_background_color mailpoet_color\" value=\"{{ model.styles.block.backgroundColor }}\" />
</div>
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_inline\">";
// line 42
yield $this->extensions['MailPoet\Twig\I18n']->translate("Background");
yield "</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_field_header_alignment\" value=\"left\" {{#ifCond model.styles.text.textAlign '===' 'left'}}CHECKED{{/ifCond}}/>
";
// line 49
yield $this->extensions['MailPoet\Twig\I18n']->translate("Left");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_field_header_alignment\" value=\"center\" {{#ifCond model.styles.text.textAlign '===' 'center'}}CHECKED{{/ifCond}}/>
";
// line 55
yield $this->extensions['MailPoet\Twig\I18n']->translate("Center");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_field_header_alignment\" value=\"right\" {{#ifCond model.styles.text.textAlign '===' 'right'}}CHECKED{{/ifCond}}/>
";
// line 61
yield $this->extensions['MailPoet\Twig\I18n']->translate("Right");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<input type=\"button\" class=\"button button-primary mailpoet_done_editing\" data-automation-id=\"header_done_button\" value=\"";
// line 67
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Done"), "html_attr");
yield "\" />
</div>
<p class=\"mailpoet_settings_notice\">";
// line 70
yield MailPoet\Util\Helpers::replaceLinkTags($this->extensions['MailPoet\Twig\I18n']->translate("If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead."), "https://kb.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts", ["target" => "_blank"]);
yield "</p>
<script type=\"text/javascript\">
fontsSelect('#mailpoet_field_header_text_font_family');
</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/header/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 141 => 70, 135 => 67, 126 => 61, 117 => 55, 108 => 49, 98 => 42, 86 => 33, 80 => 30, 60 => 13, 52 => 8, 44 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/header/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/header/settings.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,118 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* automation/editor.html */
class __TwigTemplate_fb71bf89a426c5b5b4c882632d479b3cffbaded39146d864b8aea902ce949403 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'container' => [$this, 'block_container'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("layout.html", "automation/editor.html", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_container($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
yield "<div id=\"mailpoet_automation_editor\" class=\"edit-site\"></div>
<script type=\"text/javascript\">
var mailpoet_locale_full = ";
// line 7
yield json_encode(($context["locale_full"] ?? null));
yield ";
var mailpoet_automation_api = ";
// line 8
yield json_encode(($context["api"] ?? null));
yield ";
var mailpoet_json_api = ";
// line 9
yield json_encode(($context["jsonapi"] ?? null));
yield ";
var mailpoet_segments = ";
// line 10
yield json_encode(($context["segments"] ?? null));
yield ";
var mailpoet_automation_registry = ";
// line 11
yield json_encode(($context["registry"] ?? null));
yield ";
var mailpoet_automation_context = ";
// line 12
yield json_encode(($context["context"] ?? null));
yield ";
var mailpoet_automation = ";
// line 13
yield ((($context["automation"] ?? null)) ? (json_encode(($context["automation"] ?? null))) : ("undefined"));
yield ";
</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "automation/editor.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 80 => 13, 76 => 12, 72 => 11, 68 => 10, 64 => 9, 60 => 8, 56 => 7, 51 => 4, 47 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("", "automation/editor.html", "/home/circleci/mailpoet/mailpoet/views/automation/editor.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,101 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* landingpage.html */
class __TwigTemplate_1453f1606febf8a9b6e30a893bcc22827936ceb21531b5a8f8a196260a5efc5a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("layout.html", "landingpage.html", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
yield "<div id=\"mailpoet_landingpage_container\"></div>
<script type=\"text/javascript\">
";
// line 8
yield " var mailpoet_welcome_wizard_url = ";
yield json_encode(($context["welcome_wizard_url"] ?? null));
yield ";
var mailpoet_welcome_wizard_current_step = ";
// line 9
yield json_encode(($context["welcome_wizard_current_step"] ?? null));
yield ";
";
// line 11
yield "</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "landingpage.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 65 => 11, 61 => 9, 56 => 8, 51 => 4, 47 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("", "landingpage.html", "/home/circleci/mailpoet/mailpoet/views/landingpage.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,251 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* emails/statsNotificationLayout.html */
class __TwigTemplate_983c70cc527e9ec7b888be667e99a11703d8dd9de70fb8285afd14f53c34c1b8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<html lang=\"";
yield $this->extensions['MailPoet\Twig\Assets']->language();
yield "\" style=\"margin:0;padding:0\">
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />
<meta name=\"format-detection\" content=\"telephone=no\" />
<title>";
// line 7
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["subject"] ?? null), "html", null, true);
yield "</title>
<style type=\"text/css\"> @media screen and (max-width: 480px) {
.mailpoet_button {width:100% !important;}
}
@media screen and (max-width: 599px) {
.mailpoet_header {
padding: 10px 20px;
}
.mailpoet_button {
width: 100% !important;
padding: 5px 0 !important;
box-sizing:border-box !important;
}
div, .mailpoet_cols-two {
max-width: 100% !important;
}
}
</style>
</head>
<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" style=\"margin:0;padding:0;background-color:#f0f0f0\">
<table class=\"mailpoet_template\" border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;border-collapse:collapse\">
<tbody>
<tr>
";
// line 31
if (array_key_exists("preheader", $context)) {
// line 32
yield " <td class=\"mailpoet_preheader\" style=\"-webkit-text-size-adjust:none;font-size:1px;line-height:1px;color:#ffffff;border-collapse:collapse;display:none;visibility:hidden;mso-hide:all;max-height:0;max-width:0;opacity:0;overflow:hidden\" height=\"1\">
";
// line 33
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["preheader"] ?? null), "html", null, true);
yield "
</td>
";
}
// line 36
yield " </tr>
<tr>
<td align=\"center\" class=\"mailpoet-wrapper\" valign=\"top\" style=\"border-collapse:collapse;background-color:#f0f0f0\"><!--[if mso]>
<table align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"
width=\"660\">
<tr>
<td class=\"mailpoet_content-wrapper\" align=\"center\" valign=\"top\" width=\"660\">
<![endif]--><table class=\"mailpoet_content-wrapper\" border=\"0\" width=\"660\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;max-width:660px;width:100%;border-collapse:collapse;background-color:#ffffff\">
<tbody>
";
// line 46
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 47
yield "
<tr>
<td class=\"mailpoet_content-cols-two\" align=\"left\" style=\"border-collapse:collapse;background-color:#fe5301\" bgcolor=\"#fe5301\">
<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;border-collapse:collapse\">
<tbody>
<tr>
<td align=\"center\" style=\"font-size:0;border-collapse:collapse\"><!--[if mso]>
<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">
<tbody>
<tr>
<td width=\"330\" valign=\"top\">
<![endif]--><div style=\"display:inline-block; max-width:330px; vertical-align:top; width:100%;\">
<table width=\"330\" class=\"mailpoet_cols-two\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"left\" style=\"width:100%;max-width:330px;border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;table-layout:fixed;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;border-collapse:collapse\">
<tbody>
<tr>
<td class=\"mailpoet_spacer\" bgcolor=\"#fe5301\" height=\"24\" valign=\"top\" style=\"border-collapse:collapse\"></td>
</tr>
<tr>
<td class=\"mailpoet_image mailpoet_padded_vertical mailpoet_padded_side\" align=\"left\" valign=\"top\" style=\"border-collapse:collapse;padding-bottom:20px;padding-left:20px;padding-right:20px\">
<img src=\"";
// line 66
yield $this->extensions['MailPoet\Twig\Assets']->generateCdnUrl("logo-white-400x122.png");
yield "\" width=\"130\" alt=\"new_logo_white\" style=\"height:auto;max-width:100%;-ms-interpolation-mode:bicubic;border:0;display:block;outline:none;text-align:center\" />
</td>
</tr>
</tbody>
</table>
</div><!--[if mso]>
</td>
<td width=\"330\" valign=\"top\">
<![endif]--><div style=\"display:inline-block; max-width:330px; vertical-align:top; width:100%;\">
<table width=\"330\" class=\"mailpoet_cols-two\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"left\" style=\"width:100%;max-width:330px;border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;table-layout:fixed;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;border-collapse:collapse\">
<tbody>
<tr>
<td class=\"mailpoet_spacer\" bgcolor=\"#fe5301\" height=\"20\" valign=\"top\" style=\"border-collapse:collapse\"></td>
</tr>
<tr>
<td class=\"mailpoet_text mailpoet_padded_vertical mailpoet_padded_side\" valign=\"top\" style=\"word-break:break-word;word-wrap:break-word;padding-top:0;border-collapse:collapse;padding-bottom:20px;padding-left:20px;padding-right:20px\">
<table style=\"border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;border-collapse:collapse\" width=\"100%\" cellpadding=\"0\">
<tr>
<td class=\"mailpoet_paragraph\" style=\"word-break:break-word;word-wrap:break-word;text-align:right;border-collapse:collapse;color:#000000;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:16px;line-height:25.6px\">
<span style=\"color: #ffffff;\">
<a href=\"https://www.mailpoet.com/how-to-improve-open-rates/\" title=\"";
// line 86
yield $this->extensions['MailPoet\Twig\I18n']->translate("How to Improve Open and Click Rates");
yield "\" style=\"color:#fff;text-decoration:underline\">
";
// line 87
yield $this->extensions['MailPoet\Twig\I18n']->translate("How to improve my open rate?");
yield "
</a>
</span>
</td>
</tr></table>
<table style=\"border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;border-collapse:collapse\" width=\"100%\" cellpadding=\"0\">
<tr>
<td class=\"mailpoet_paragraph\" style=\"word-break:break-word;word-wrap:break-word;text-align:right;border-collapse:collapse;color:#000000;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:16px;line-height:25.6px\">
<span style=\"color: #ffffff;\"><a href=\"https://www.mailpoet.com/how-to-improve-click-rates/\" title=\"";
// line 95
yield $this->extensions['MailPoet\Twig\I18n']->translate("How to Improve Open and Click Rates");
yield "\" style=\"color:#fff;text-decoration:underline\">
";
// line 96
yield $this->extensions['MailPoet\Twig\I18n']->translate("And my click rate?");
yield "
</a></span>
</td>
</tr></table>
<table style=\"border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;border-collapse:collapse\" width=\"100%\" cellpadding=\"0\">
<tr>
<td class=\"mailpoet_paragraph\" style=\"word-break:break-word;word-wrap:break-word;text-align:right;border-collapse:collapse;color:#000000;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:16px;line-height:25.6px\">
<a href=\"";
// line 103
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["linkSettings"] ?? null), "html", null, true);
yield "\" style=\"color:#fff;text-decoration:underline\">
";
// line 104
yield $this->extensions['MailPoet\Twig\I18n']->translate("Disable these emails");
yield "
</a>
</td>
</tr></table>
</td>
</tr>
</tbody>
</table>
</div><!--[if mso]>
</td>
</tr>
</tbody>
</table>
<![endif]--></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table><!--[if mso]>
</td>
</tr>
</table>
<![endif]--></td>
</tr>
</tbody>
</table>
</body>
</html>
";
return; yield '';
}
// line 46
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "emails/statsNotificationLayout.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 214 => 46, 178 => 104, 174 => 103, 164 => 96, 160 => 95, 149 => 87, 145 => 86, 122 => 66, 101 => 47, 99 => 46, 87 => 36, 81 => 33, 78 => 32, 76 => 31, 49 => 7, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "emails/statsNotificationLayout.html", "/home/circleci/mailpoet/mailpoet/views/emails/statsNotificationLayout.html");
}
}
@@ -0,0 +1,94 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/posts/settings.hbs */
class __TwigTemplate_4805cb8f70abc450fe61e6eb69c62c747430babfe7cc19b22bb4602f5bbbf75f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Post selection");
yield "</h3>
<div class=\"mailpoet_settings_posts_selection\"></div>
<div class=\"mailpoet_settings_posts_display_options mailpoet_closed\"></div>
<div class=\"mailpoet_settings_posts_controls\">
<div class=\"mailpoet_form_field\">
<a href=\"javascript:;\" class=\"mailpoet_settings_posts_show_post_selection mailpoet_hidden\">";
// line 6
yield $this->extensions['MailPoet\Twig\I18n']->translate("Back to selection");
yield "</a>
<a href=\"javascript:;\" class=\"mailpoet_settings_posts_show_display_options\">";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("Display options");
yield "</a>
</div>
<input type=\"button\" class=\"button button-primary mailpoet_settings_posts_insert_selected\" value=\"";
// line 9
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Insert selected"), "html_attr");
yield "\" />
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/posts/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 56 => 9, 51 => 7, 47 => 6, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/posts/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/posts/settings.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,127 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* subscription/manage_subscription.html */
class __TwigTemplate_8af1b0123e44e0dbc01ef4376ab3d01514a0306b6a607ad264d10a53f473fb22 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
return; yield '';
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 2
yield "<form class=\"mailpoet-manage-subscription\" method=\"post\" action=\"";
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["actionUrl"] ?? null));
yield "\" novalidate>
<input type=\"hidden\" name=\"action\" value=\"mailpoet_subscription_update\" />
<input type=\"hidden\" name=\"data[segments]\" value=\"\" />
<input type=\"hidden\" name=\"mailpoet_redirect\" value=\"";
// line 5
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["redirectUrl"] ?? null));
yield "\"/>
<input type=\"hidden\" name=\"data[email]\" value=\"";
// line 6
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["email"] ?? null));
yield "\" />
<input type=\"hidden\" name=\"token\" value=\"";
// line 7
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["token"] ?? null), "html", null, true);
yield "\" />
<p class=\"mailpoet_paragraph\">
<label> ";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("Email", "mailpoet");
yield "*<br /><strong>";
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["email"] ?? null));
yield "</strong></label>
<br />
<span class=\"mailpoet-change-email-info\">
";
// line 12
$context["allowedHtml"] = ["a" => ["href" => [], "target" => []]];
// line 13
yield " ";
yield $this->extensions['MailPoet\Twig\Filters']->wpKses(($context["editEmailInfo"] ?? null), ($context["allowedHtml"] ?? null));
yield "
</span>
</p>
";
// line 16
yield ($context["formHtml"] ?? null);
yield "
";
// line 17
if ((($context["formState"] ?? null) == "success")) {
// line 18
yield " <p class=\"mailpoet-submit-success\">
";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Your preferences have been saved.", "success message after saving subscription settings");
yield "
</p>
";
}
// line 22
yield "</form>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "subscription/manage_subscription.html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 99 => 22, 93 => 19, 90 => 18, 88 => 17, 84 => 16, 77 => 13, 75 => 12, 67 => 9, 62 => 7, 58 => 6, 54 => 5, 47 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "subscription/manage_subscription.html", "/home/circleci/mailpoet/mailpoet/views/subscription/manage_subscription.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,190 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* segments/dynamic.html */
class __TwigTemplate_756448057f537f5715d1a262e5a4bc2ae04cea7f694f005ae4bcfe6c68608edd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'after_translations' => [$this, 'block_after_translations'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("layout.html", "segments/dynamic.html", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
yield " <div id=\"dynamic_segments_container\"></div>
<script type=\"text/javascript\">
var mailpoet_dynamic_segment_count = ";
// line 7
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["dynamic_segment_count"] ?? null), "html", null, true);
yield ";
var mailpoet_listing_per_page = ";
// line 8
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["items_per_page"] ?? null), "html", null, true);
yield ";
var mailpoet_custom_fields = ";
// line 9
yield json_encode(($context["custom_fields"] ?? null));
yield ";
var mailpoet_static_segments_list = ";
// line 10
yield json_encode(($context["static_segments_list"] ?? null));
yield ";
var wordpress_editable_roles_list = ";
// line 11
yield json_encode(($context["wordpress_editable_roles_list"] ?? null));
yield ";
var mailpoet_newsletters_list = ";
// line 12
yield json_encode(($context["newsletters_list"] ?? null));
yield ";
var mailpoet_product_attributes = ";
// line 13
yield json_encode(($context["product_attributes"] ?? null));
yield ";
var mailpoet_local_product_attributes = ";
// line 14
yield json_encode(($context["local_product_attributes"] ?? null));
yield ";
var mailpoet_product_categories = ";
// line 15
yield json_encode(($context["product_categories"] ?? null));
yield ";
var mailpoet_product_tags = ";
// line 16
yield json_encode(($context["product_tags"] ?? null));
yield ";
var mailpoet_products = ";
// line 17
yield json_encode(($context["products"] ?? null));
yield ";
var mailpoet_membership_plans = ";
// line 18
yield json_encode(($context["membership_plans"] ?? null));
yield ";
var mailpoet_subscription_products = ";
// line 19
yield json_encode(($context["subscription_products"] ?? null));
yield ";
var mailpoet_can_use_woocommerce_memberships = ";
// line 20
yield json_encode(($context["can_use_woocommerce_memberships"] ?? null));
yield ";
var mailpoet_can_use_woocommerce_subscriptions = ";
// line 21
yield json_encode(($context["can_use_woocommerce_subscriptions"] ?? null));
yield ";
var mailpoet_woocommerce_currency_symbol = ";
// line 22
yield json_encode(($context["woocommerce_currency_symbol"] ?? null));
yield ";
var mailpoet_woocommerce_countries = ";
// line 23
yield json_encode(($context["woocommerce_countries"] ?? null));
yield ";
var mailpoet_woocommerce_payment_methods = ";
// line 24
yield json_encode(($context["woocommerce_payment_methods"] ?? null));
yield ";
var mailpoet_woocommerce_shipping_methods = ";
// line 25
yield json_encode(($context["woocommerce_shipping_methods"] ?? null));
yield ";
var mailpoet_signup_forms = ";
// line 26
yield json_encode(($context["signup_forms"] ?? null));
yield ";
var mailpoet_automations = ";
// line 27
yield json_encode(($context["automations"] ?? null));
yield ";
</script>
";
// line 30
yield from $this->loadTemplate("segments/translations.html", "segments/dynamic.html", 30)->unwrap()->yield($context);
return; yield '';
}
// line 34
public function block_after_translations($context, array $blocks = [])
{
$macros = $this->macros;
// line 35
yield " ";
yield do_action("mailpoet_segments_translations_after");
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "segments/dynamic.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 152 => 35, 148 => 34, 143 => 30, 137 => 27, 133 => 26, 129 => 25, 125 => 24, 121 => 23, 117 => 22, 113 => 21, 109 => 20, 105 => 19, 101 => 18, 97 => 17, 93 => 16, 89 => 15, 85 => 14, 81 => 13, 77 => 12, 73 => 11, 69 => 10, 65 => 9, 61 => 8, 57 => 7, 52 => 4, 48 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "segments/dynamic.html", "/home/circleci/mailpoet/mailpoet/views/segments/dynamic.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,69 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/components/sidebar/sidebar.hbs */
class __TwigTemplate_93e1b105309beaac83ec57a4590bfeb49947fba3e23fcb02639f4c6f538e4ba9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "<div class=\"mailpoet_sidebar_region\" id=\"mailpoet_editor_history\"></div>
<div class=\"mailpoet_region mailpoet_content_region mailpoet_sidebar_region postbox {{#if isWoocommerceTransactional}} closed {{/if}}\"></div>
<div class=\"mailpoet_region mailpoet_layout_region mailpoet_sidebar_region postbox closed\"></div>
<div class=\"mailpoet_region mailpoet_styles_region mailpoet_sidebar_region postbox {{#if isWoocommerceTransactional}} {{else}} closed {{/if}}\"></div>
<div class=\"mailpoet_region mailpoet_preview_region mailpoet_sidebar_region postbox closed{{#if isWoocommerceTransactional}} mailpoet_hidden{{/if}}\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/components/sidebar/sidebar.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/components/sidebar/sidebar.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/components/sidebar/sidebar.hbs");
}
}
@@ -0,0 +1,90 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/image/block.hbs */
class __TwigTemplate_e2b0804ea4690eeb975cc322cc1bf6bddd9f35d7b42b6e0119d98ce5d0403efa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_tools\"></div>
<div class=\"mailpoet_content\" style=\"{{#ifCond model.styles.block.textAlign '==' 'left'}}margin: 0 auto 0 0; {{/ifCond}}{{#ifCond model.styles.block.textAlign '==' 'center'}}margin: auto; {{/ifCond}}{{#ifCond model.styles.block.textAlign '==' 'right'}}margin: 0 0 0 auto; {{/ifCond}}width: {{model.width}}\">
\t<div class=\"mailpoet_image\">
\t\t<a href=\"{{escapeURL model.link }}\" onClick=\"return false;\">
\t\t\t<img src=\"{{#ifCond model.src '!=' ''}}{{ model.src }}{{ else }}{{ imageMissingSrc }}{{/ifCond}}\" alt=\"{{ model.alt }}\" onerror=\"if(this.src != '{{ imageMissingSrc }}') {this.src = '{{ imageMissingSrc }}';}\" width=\"{{model.width}}\" />
\t\t</a>
\t\t<div class=\"mailpoet_image_resize_handle_container{{#ifCond model.styles.block.textAlign '==' 'right'}} mailpoet_image_resize_handle_container_left{{/ifCond}}\">
\t\t <div class=\"mailpoet_image_resize_handle\">
\t\t <span class=\"mailpoet_image_resize_handle_icon\">";
// line 9
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-tools/resize.svg");
yield "</span>
\t\t </div>
\t\t</div>
\t</div>
</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/image/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 48 => 9, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/image/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/image/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,87 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/divider/block.hbs */
class __TwigTemplate_ee976cebab693058b2c927a174913be7ca1208650de50f1e66f3e2d912a58e05 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_tools\"></div>
<div class=\"mailpoet_content\" data-automation-id=\"divider\" style=\"padding: {{ model.styles.block.padding }} 0; background-color: {{ model.styles.block.backgroundColor }};\">
<div class=\"mailpoet_divider\" style=\"border-top-width: {{ model.styles.block.borderWidth }}; border-top-style: {{ model.styles.block.borderStyle }}; border-top-color: {{ model.styles.block.borderColor }};\"></div>
<div class=\"mailpoet_resize_handle_container\">
<div class=\"mailpoet_resize_handle\" data-automation-id=\"divider_resize_handle\">
<span class=\"mailpoet_resize_handle_text\">{{ totalHeight }}</span>
<span class=\"mailpoet_resize_handle_icon\">";
// line 7
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/spacer.svg");
yield "</span>
</div>
</div>
</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/divider/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 7, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/divider/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/divider/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,579 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs */
class __TwigTemplate_b986e1f134b168c46f6aef00c51014ec3a7305fa36d3cd4849935a1999818651 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Post selection");
yield "</h3>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_inline\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("Show max:");
yield "</div>
<div class=\"mailpoet_form_field_input_option\">
<input type=\"text\" class=\"mailpoet_input mailpoet_input_small mailpoet_automated_latest_content_show_amount\" value=\"{{ model.amount }}\" maxlength=\"2\" size=\"2\" data-automation-id=\"show_max_posts\" />
<select class=\"mailpoet_select mailpoet_select_large mailpoet_automated_latest_content_content_type\">
<option value=\"post\" {{#ifCond model.contentType '==' 'post'}}SELECTED{{/ifCond}}>";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("Posts");
yield "</option>
<option value=\"page\" {{#ifCond model.contentType '==' 'page'}}SELECTED{{/ifCond}}>";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("Pages");
yield "</option>
<option value=\"mailpoet_page\" {{#ifCond model.contentType '==' 'mailpoet_page'}}SELECTED{{/ifCond}}>";
// line 10
yield $this->extensions['MailPoet\Twig\I18n']->translate("MailPoet pages");
yield "</option>
</select>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_select_option\">
<select class=\"mailpoet_select mailpoet_automated_latest_content_categories_and_tags\" multiple=\"multiple\">
{{#each model.terms}}
<option value=\"{{ id }}\" selected=\"selected\">{{ text }}</option>
{{/each}}
</select>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_include_or_exclude\" class=\"mailpoet_automated_latest_content_include_or_exclude\" value=\"include\" {{#ifCond model.inclusionType '==' 'include'}}CHECKED{{/ifCond}}/>
";
// line 26
yield $this->extensions['MailPoet\Twig\I18n']->translate("Include");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_include_or_exclude\" class=\"mailpoet_automated_latest_content_include_or_exclude\" value=\"exclude\" {{#ifCond model.inclusionType '==' 'exclude'}}CHECKED{{/ifCond}} />
";
// line 32
yield $this->extensions['MailPoet\Twig\I18n']->translate("Exclude");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<a href=\"javascript:;\" class=\"mailpoet_automated_latest_content_show_display_options\" data-automation-id=\"display_options\">
{{#if _displayOptionsHidden}}
";
// line 43
yield $this->extensions['MailPoet\Twig\I18n']->translate("Display options");
yield "
{{else}}
";
// line 45
yield $this->extensions['MailPoet\Twig\I18n']->translate("Hide display options");
yield "
{{/if}}
</a>
</div>
<div class=\"mailpoet_automated_latest_content_display_options {{#if _displayOptionsHidden}}mailpoet_closed{{/if}}\">
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_display_type\" class=\"mailpoet_automated_latest_content_display_type\" value=\"excerpt\" {{#ifCond model.displayType '==' 'excerpt'}}CHECKED{{/ifCond}}/>
";
// line 54
yield $this->extensions['MailPoet\Twig\I18n']->translate("Excerpt");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_display_type\" class=\"mailpoet_automated_latest_content_display_type\" value=\"full\" {{#ifCond model.displayType '==' 'full'}}CHECKED{{/ifCond}}/>
";
// line 60
yield $this->extensions['MailPoet\Twig\I18n']->translate("Full post");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_display_type\" class=\"mailpoet_automated_latest_content_display_type\" value=\"titleOnly\" {{#ifCond model.displayType '==' 'titleOnly'}}CHECKED{{/ifCond}} />
";
// line 66
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title only");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 72
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title Format");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_format\" class=\"mailpoet_automated_latest_content_title_format\" value=\"h1\" {{#ifCond model.titleFormat '==' 'h1'}}CHECKED{{/ifCond}}/>
";
// line 76
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 1");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_format\" class=\"mailpoet_automated_latest_content_title_format\" value=\"h2\" {{#ifCond model.titleFormat '==' 'h2'}}CHECKED{{/ifCond}}/>
";
// line 82
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 2");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_format\" class=\"mailpoet_automated_latest_content_title_format\" value=\"h3\" {{#ifCond model.titleFormat '==' 'h3'}}CHECKED{{/ifCond}}/>
";
// line 88
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 3");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option mailpoet_automated_latest_content_title_as_list {{#ifCond model.displayType '!=' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_format\" class=\"mailpoet_automated_latest_content_title_format\" value=\"ul\" {{#ifCond model.titleFormat '==' 'ul'}}CHECKED{{/ifCond}}/>
";
// line 94
yield $this->extensions['MailPoet\Twig\I18n']->translate("Show as list");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 100
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title Alignment");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_alignment\" class=\"mailpoet_automated_latest_content_title_alignment\" value=\"left\" {{#ifCond model.titleAlignment '==' 'left'}}CHECKED{{/ifCond}} />
";
// line 104
yield $this->extensions['MailPoet\Twig\I18n']->translate("Left");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_alignment\" class=\"mailpoet_automated_latest_content_title_alignment\" value=\"center\" {{#ifCond model.titleAlignment '==' 'center'}}CHECKED{{/ifCond}} />
";
// line 110
yield $this->extensions['MailPoet\Twig\I18n']->translate("Center");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_alignment\" class=\"mailpoet_automated_latest_content_title_alignment\" value=\"right\" {{#ifCond model.titleAlignment '==' 'right'}}CHECKED{{/ifCond}} />
";
// line 116
yield $this->extensions['MailPoet\Twig\I18n']->translate("Right");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field mailpoet_automated_latest_content_title_as_link {{#ifCond model.titleFormat '===' 'ul'}}mailpoet_hidden{{/ifCond}}\">
<div class=\"mailpoet_form_field_title\">";
// line 122
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title as links");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_as_links\" class=\"mailpoet_automated_latest_content_title_as_links\" value=\"true\" {{#if model.titleIsLink}}CHECKED{{/if}}/>
";
// line 126
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_title_as_links\" class=\"mailpoet_automated_latest_content_title_as_links\" value=\"false\" {{#unless model.titleIsLink}}CHECKED{{/unless}}/>
";
// line 132
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator mailpoet_automated_latest_content_title_position_separator {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\" />
<div class=\"mailpoet_form_field mailpoet_automated_latest_content_title_position {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\">
<div class=\"mailpoet_form_field_title\">";
// line 140
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Title position", "Setting in the email designer to position the blog post title");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input data-automation-id=\"title_above_post\" type=\"radio\" name=\"mailpoet_automated_latest_content_title_position\" class=\"mailpoet_automated_latest_content_title_position\" value=\"abovePost\" {{#ifCond model.titlePosition '!=' 'aboveExcerpt'}}CHECKED{{/ifCond}}/>
";
// line 144
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Above the post", "Display the post title above the post block");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input data-automation-id=\"title_above_excerpt\" type=\"radio\" name=\"mailpoet_automated_latest_content_title_position\" class=\"mailpoet_automated_latest_content_title_position\" value=\"aboveExcerpt\" {{#ifCond model.titlePosition '==' 'aboveExcerpt'}}CHECKED{{/ifCond}}/>
";
// line 150
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Above the excerpt text", "Display the post title above the post excerpt");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator mailpoet_automated_latest_content_image_separator {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\" />
<div class=\"mailpoet_form_field mailpoet_automated_latest_content_featured_image_position_container {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\">
<div class=\"mailpoet_form_field_title\">";
// line 158
yield $this->extensions['MailPoet\Twig\I18n']->translate("Featured image position");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_featured_image_position\" class=\"mailpoet_automated_latest_content_featured_image_position\" value=\"centered\" {{#ifCond _featuredImagePosition '==' 'centered' }}CHECKED{{/ifCond}}/>
";
// line 162
yield $this->extensions['MailPoet\Twig\I18n']->translate("Centered");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_featured_image_position\" class=\"mailpoet_automated_latest_content_featured_image_position\" value=\"left\" {{#ifCond _featuredImagePosition '==' 'left' }}CHECKED{{/ifCond}}/>
";
// line 168
yield $this->extensions['MailPoet\Twig\I18n']->translate("Left");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_featured_image_position\" class=\"mailpoet_automated_latest_content_featured_image_position\" value=\"right\" {{#ifCond _featuredImagePosition '==' 'right' }}CHECKED{{/ifCond}}/>
";
// line 174
yield $this->extensions['MailPoet\Twig\I18n']->translate("Right");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_featured_image_position\" class=\"mailpoet_automated_latest_content_featured_image_position\" value=\"alternate\" {{#ifCond _featuredImagePosition '==' 'alternate' }}CHECKED{{/ifCond}}/>
";
// line 180
yield $this->extensions['MailPoet\Twig\I18n']->translate("Alternate");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_featured_image_position\" class=\"mailpoet_automated_latest_content_featured_image_position\" value=\"none\" {{#ifCond _featuredImagePosition '==' 'none' }}CHECKED{{/ifCond}}/>
";
// line 186
yield $this->extensions['MailPoet\Twig\I18n']->translate("None");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_automated_latest_content_non_title_list_options {{#ifCond model.displayType '==' 'titleOnly'}}{{#ifCond model.titleFormat '==' 'ul'}}mailpoet_hidden{{/ifCond}}{{/ifCond}}\">
<div class=\"mailpoet_form_field mailpoet_automated_latest_content_image_full_width_option {{#ifCond model.displayType '==' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\">
<div class=\"mailpoet_form_field_title\">";
// line 193
yield $this->extensions['MailPoet\Twig\I18n']->translate("Image width");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"imageFullWidth\" class=\"mailpoet_automated_latest_content_image_full_width\" value=\"true\" {{#if model.imageFullWidth}}CHECKED{{/if}}/>
";
// line 197
yield $this->extensions['MailPoet\Twig\I18n']->translate("Full width");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"imageFullWidth\" class=\"mailpoet_automated_latest_content_image_full_width\" value=\"false\" {{#unless model.imageFullWidth}}CHECKED{{/unless}}/>
";
// line 203
yield $this->extensions['MailPoet\Twig\I18n']->translate("Padded");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 211
yield $this->extensions['MailPoet\Twig\I18n']->translate("Show author");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_author\" class=\"mailpoet_automated_latest_content_show_author\" value=\"no\" {{#ifCond model.showAuthor '==' 'no'}}CHECKED{{/ifCond}}/>
";
// line 215
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_author\" class=\"mailpoet_automated_latest_content_show_author\" value=\"aboveText\" {{#ifCond model.showAuthor '==' 'aboveText'}}CHECKED{{/ifCond}}/>
";
// line 221
yield $this->extensions['MailPoet\Twig\I18n']->translate("Above text");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_author\" class=\"mailpoet_automated_latest_content_show_author\" value=\"belowText\" {{#ifCond model.showAuthor '==' 'belowText'}}CHECKED{{/ifCond}}/>
";
// line 227
yield $this->extensions['MailPoet\Twig\I18n']->translate("Below text");
yield "<br />
</label>
</div>
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small\">";
// line 230
yield $this->extensions['MailPoet\Twig\I18n']->translate("Preceded by:");
yield "</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_block\">
<input type=\"text\" class=\"mailpoet_input mailpoet_input_full mailpoet_automated_latest_content_author_preceded_by\" value=\"{{ model.authorPrecededBy }}\" />
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 237
yield $this->extensions['MailPoet\Twig\I18n']->translate("Show categories");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_categories\" class=\"mailpoet_automated_latest_content_show_categories\" value=\"no\" {{#ifCond model.showCategories '==' 'no'}}CHECKED{{/ifCond}}/>
";
// line 241
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_categories\" class=\"mailpoet_automated_latest_content_show_categories\" value=\"aboveText\" {{#ifCond model.showCategories '==' 'aboveText'}}CHECKED{{/ifCond}}/>
";
// line 247
yield $this->extensions['MailPoet\Twig\I18n']->translate("Above text");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_categories\" class=\"mailpoet_automated_latest_content_show_categories\" value=\"belowText\" {{#ifCond model.showCategories '==' 'belowText'}}CHECKED{{/ifCond}}/>
";
// line 253
yield $this->extensions['MailPoet\Twig\I18n']->translate("Below text");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small\">";
// line 256
yield $this->extensions['MailPoet\Twig\I18n']->translate("Preceded by:");
yield "</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_block\">
<input type=\"text\" class=\"mailpoet_input mailpoet_input_full mailpoet_automated_latest_content_categories\" value=\"{{ model.categoriesPrecededBy }}\" />
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small\">";
// line 265
yield $this->extensions['MailPoet\Twig\I18n']->translate("\"Read more\" text");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_read_more_type\" class=\"mailpoet_automated_latest_content_read_more_type\" value=\"link\" {{#ifCond model.readMoreType '==' 'link'}}CHECKED{{/ifCond}}/>
";
// line 269
yield $this->extensions['MailPoet\Twig\I18n']->translate("Link");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_read_more_type\" class=\"mailpoet_automated_latest_content_read_more_type\" value=\"button\" {{#ifCond model.readMoreType '==' 'button'}}CHECKED{{/ifCond}}/>
";
// line 275
yield $this->extensions['MailPoet\Twig\I18n']->translate("Button");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_block\">
<input type=\"text\" class=\"mailpoet_input mailpoet_input_full mailpoet_automated_latest_content_read_more_text {{#ifCond model.readMoreType '!=' 'link'}}mailpoet_hidden{{/ifCond}}\" value=\"{{ model.readMoreText }}\" />
</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_block\">
<a href=\"javascript:;\" class=\"mailpoet_automated_latest_content_select_button {{#ifCond model.readMoreType '!=' 'button'}}mailpoet_hidden{{/ifCond}}\">";
// line 284
yield $this->extensions['MailPoet\Twig\I18n']->translate("Design a button");
yield "</a>
</div>
</div>
<hr class=\"mailpoet_separator\" />
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small\">";
// line 292
yield $this->extensions['MailPoet\Twig\I18n']->translate("Sort by");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_sort_by\" class=\"mailpoet_automated_latest_content_sort_by\" value=\"newest\" {{#ifCond model.sortBy '==' 'newest'}}CHECKED{{/ifCond}}/>
";
// line 296
yield $this->extensions['MailPoet\Twig\I18n']->translate("Newest");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_sort_by\" class=\"mailpoet_automated_latest_content_sort_by\" value=\"oldest\" {{#ifCond model.sortBy '==' 'oldest'}}CHECKED{{/ifCond}}/>
";
// line 302
yield $this->extensions['MailPoet\Twig\I18n']->translate("Oldest");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_automated_latest_content_non_title_list_options {{#ifCond model.displayType '==' 'titleOnly'}}{{#ifCond model.titleFormat '==' 'ul'}}mailpoet_hidden{{/ifCond}}{{/ifCond}}\">
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small\">";
// line 309
yield $this->extensions['MailPoet\Twig\I18n']->translate("Show divider between posts");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_divider\"class=\"mailpoet_automated_latest_content_show_divider\" value=\"true\" {{#if model.showDivider}}CHECKED{{/if}}/>
";
// line 313
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_automated_latest_content_show_divider\"class=\"mailpoet_automated_latest_content_show_divider\" value=\"false\" {{#unless model.showDivider}}CHECKED{{/unless}}/>
";
// line 319
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
<div>
<a href=\"javascript:;\" class=\"mailpoet_automated_latest_content_select_divider\">";
// line 323
yield $this->extensions['MailPoet\Twig\I18n']->translate("Select divider");
yield "</a>
</div>
</div>
</div>
</div>
<div class=\"mailpoet_form_field\">
<input type=\"button\" data-automation-id=\"alc_settings_done\" class=\"button button-primary mailpoet_done_editing\" value=\"";
// line 331
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Done"), "html_attr");
yield "\" />
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 540 => 331, 529 => 323, 522 => 319, 513 => 313, 506 => 309, 496 => 302, 487 => 296, 480 => 292, 469 => 284, 457 => 275, 448 => 269, 441 => 265, 429 => 256, 423 => 253, 414 => 247, 405 => 241, 398 => 237, 388 => 230, 382 => 227, 373 => 221, 364 => 215, 357 => 211, 346 => 203, 337 => 197, 330 => 193, 320 => 186, 311 => 180, 302 => 174, 293 => 168, 284 => 162, 277 => 158, 266 => 150, 257 => 144, 250 => 140, 239 => 132, 230 => 126, 223 => 122, 214 => 116, 205 => 110, 196 => 104, 189 => 100, 180 => 94, 171 => 88, 162 => 82, 153 => 76, 146 => 72, 137 => 66, 128 => 60, 119 => 54, 107 => 45, 102 => 43, 88 => 32, 79 => 26, 60 => 10, 56 => 9, 52 => 8, 45 => 4, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,63 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/columnSettings.hbs */
class __TwigTemplate_7e32113e0cbf9344a0e89c0d574d24edb9a5a82bfc8123d6db4ee29855f052bd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/columnSettings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/columnSettings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/columnSettings.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,124 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/social/settings.hbs */
class __TwigTemplate_057d90fe2d8b70e6391f41de22f26510bd3c9fd07231d908f25ca03dea163a24 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Select icons");
yield "</h3>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Alignment");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_social_block_alignment\" value=\"left\" {{#ifCond model.styles.block.textAlign '===' 'left'}}CHECKED{{/ifCond}}/>
";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Left", "Visual alignment settings");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_social_block_alignment\" value=\"center\" {{#ifCond model.styles.block.textAlign '===' 'center'}}CHECKED{{/ifCond}}/>
";
// line 13
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Center", "Visual alignment settings");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_social_block_alignment\" value=\"right\" {{#ifCond model.styles.block.textAlign '===' 'right'}}CHECKED{{/ifCond}}/>
";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Right", "Visual alignment settings");
yield "
</label>
</div>
</div>
<hr>
<div id=\"mailpoet_social_icons_selection\" class=\"mailpoet_form_field\"></div>
<h3>";
// line 27
yield $this->extensions['MailPoet\Twig\I18n']->translate("Styles");
yield "</h3>
<div id=\"mailpoet_social_icons_styles\"></div>
<div class=\"mailpoet_form_field\">
<input type=\"button\" class=\"button button-primary mailpoet_done_editing\" data-automation-id=\"social_done_button\" value=\"";
// line 30
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Done"), "html_attr");
yield "\" />
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/social/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 86 => 30, 80 => 27, 69 => 19, 60 => 13, 51 => 7, 44 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/social/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/social/settings.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,111 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/validate.hbs */
class __TwigTemplate_f59056ef084bac041a68994e1a26c4b21e498ba3e076f6d34e090e442bd4bc4e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Validate for:");
yield "</label>
<select name=\"params[validate]\">
<option {{#ifCond params.validate '==' ''}}selected=\"selected\"{{/ifCond}}
value=\"\">
";
// line 6
yield $this->extensions['MailPoet\Twig\I18n']->translate("Nothing");
yield "
</option>
<option {{#ifCond params.validate '==' 'number'}}selected=\"selected\"{{/ifCond}}
value=\"number\">
";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("Numbers only");
yield "
</option>
<option {{#ifCond params.validate '==' 'alphanum'}}selected=\"selected\"{{/ifCond}}
value=\"alphanum\">
";
// line 16
yield $this->extensions['MailPoet\Twig\I18n']->translate("Alphanumerical");
yield "
</option>
<option {{#ifCond params.validate '==' 'phone'}}selected=\"selected\"{{/ifCond}}
value=\"phone\">
";
// line 21
yield $this->extensions['MailPoet\Twig\I18n']->translate("Phone number, (+,-,#,(,) and spaces allowed)");
yield "
</option>
</select>
</p>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/validate.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 72 => 21, 64 => 16, 56 => 11, 48 => 6, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/validate.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/validate.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs */
class __TwigTemplate_eaf94d58888dd61d3ef23e78967570bcedee1acfb9901d6017c2742cec5301b8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/1-column.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("1 column");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/footer/widget.hbs */
class __TwigTemplate_48e8936671c20d4c421839b62e229b48b416391885078539b655faed970d55e3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/footer.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("Footer");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/footer/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/footer/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/footer/widget.hbs");
}
}
@@ -0,0 +1,116 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* emails/newSubscriberNotification.html */
class __TwigTemplate_1a503b1b477150cebe094ddd70d8a9f0f9df76c4d7e651ce72ce81dad2c9bd66 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Howdy,");
yield "
<p>";
// line 3
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::replace($this->extensions['MailPoet\Twig\I18n']->translate("The subscriber %1\$s has just subscribed to your list %2\$s!"), ["%1\$s" => // line 4
($context["subscriber_email"] ?? null), "%2\$s" => ($context["segments_names"] ?? null)]), "html", null, true);
// line 5
yield "
<p>";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("Cheers,");
yield "
<p>";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("The MailPoet Plugin");
yield "
<p><small>";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate(MailPoet\Util\Helpers::replaceLinkTags("You can disable these emails in your [link]MailPoet Settings.[/link]", // line 12
($context["link_settings"] ?? null)));
// line 13
yield "</small>
";
// line 15
if (($this->extensions['MailPoetVendor\Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d") < $this->extensions['MailPoetVendor\Twig\Extension\CoreExtension']->formatDate("2018-11-30", "Y-m-d"))) {
// line 16
yield " <p>
<small>
";
// line 18
yield $this->extensions['MailPoet\Twig\I18n']->translate(MailPoet\Util\Helpers::replaceLinkTags("PS. MailPoet annual plans are nearly half price for a limited time.
[link]Find out more in the Premium page in your admin.[/link]", // line 20
($context["link_premium"] ?? null)));
// line 21
yield "
</small>
";
}
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "emails/newSubscriberNotification.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 78 => 21, 76 => 20, 74 => 18, 70 => 16, 68 => 15, 64 => 13, 62 => 12, 61 => 11, 56 => 9, 51 => 7, 47 => 5, 45 => 4, 44 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "emails/newSubscriberNotification.html", "/home/circleci/mailpoet/mailpoet/views/emails/newSubscriberNotification.html");
}
}
@@ -0,0 +1,181 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/components/newsletterPreview.hbs */
class __TwigTemplate_414e57f5d39be30b7212208368ba358fb4ae1c2f2d02bf5028ce033882d079e8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_browser_preview_link\">
<a href=\"{{ previewUrl }}\" target=\"_blank\" rel=\"noopener noreferrer\">";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Open in new tab", "Open email preview in new tab");
yield "</a>
</div>
<div class=\"mailpoet_browser_preview_toggle\">
<label>
<input type=\"radio\" name=\"mailpoet_browser_preview_type\" class=\"mailpoet_browser_preview_type\" value=\"desktop\" {{#ifCond previewType '==' 'desktop'}}CHECKED{{/ifCond}} />";
// line 6
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Desktop", "Desktop browser preview mode");
yield "
</label>
<label>
<input type=\"radio\" name=\"mailpoet_browser_preview_type\" class=\"mailpoet_browser_preview_type\" value=\"mobile\" {{#ifCond previewType '==' 'mobile'}}CHECKED{{/ifCond}} />";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Mobile", "Mobile browser preview mode");
yield "
</label>
<label>
<input data-automation-id=\"switch_send_to_email\" type=\"radio\" name=\"mailpoet_browser_preview_type\" class=\"mailpoet_browser_preview_type\" value=\"send_to_email\" {{#ifCond previewType '==' 'send_to_email'}}CHECKED{{/ifCond}} />";
// line 12
yield $this->extensions['MailPoet\Twig\I18n']->translate("Send to email");
yield "
</label>
</div>
<div
class=\"
mailpoet_browser_preview_container
{{#ifCond previewType '==' 'mobile'}}mailpoet_browser_preview_container_mobile{{/ifCond}}
{{#ifCond previewType '==' 'desktop'}}mailpoet_browser_preview_container_desktop{{/ifCond}}
{{#ifCond previewType '==' 'send_to_email'}}mailpoet_browser_preview_container_send_to_email{{/ifCond}}
\"
>
<div class=\"mailpoet_browser_preview_border\">
<iframe id=\"mailpoet_browser_preview_iframe\" class=\"mailpoet_browser_preview_iframe\" src=\"{{ previewUrl }}\" width=\"{{ width }}\" height=\"{{ height }}\"></iframe>
</div>
<div class=\"mailpoet_preview_send_to_email\">
<iframe name=\"mailpoet_save_preview_email_for_autocomplete\" style=\"display:none\" src=\"about:blank\"></iframe>
<form target=\"mailpoet_save_preview_email_for_autocomplete\">
<div class=\"mailpoet_form_field\">
<label>
";
// line 32
yield $this->extensions['MailPoet\Twig\I18n']->translate("Send preview to");
yield "<br />
<input id=\"mailpoet_preview_to_email\" class=\"mailpoet_input mailpoet_input_full\" type=\"text\" name=\"to_email\" value=\"{{ email }}\" autocomplete=\"email\" />
</label>
</div>
<div class=\"mailpoet_form_field relative-holder\">
<input
type=\"submit\"
id=\"mailpoet_send_preview\"
class=\"button button-primary mailpoet_button_full\"
value=\"
{{#if sendingPreview}}";
// line 43
yield $this->extensions['MailPoet\Twig\I18n']->translate("Sending…");
yield "{{/if}}
{{#unless sendingPreview}}";
// line 44
yield $this->extensions['MailPoet\Twig\I18n']->translate("Send preview");
yield "{{/unless}}
\"
{{#if sendingPreview}}disabled{{/if}}
/>
<p>";
// line 48
yield $this->extensions['MailPoet\Twig\I18n']->translate("A MailPoet logo will appear in the footer of all emails sent with the free version of MailPoet.");
yield "</p>
<p class=\"{{#unless previewSendingSuccess}}mailpoet_hidden{{/unless}} mailpoet_success\">
";
// line 50
yield $this->extensions['MailPoet\Twig\I18n']->translate("Your test email has been sent!");
yield "
</p>
<p class=\"{{#unless previewSendingSuccess}}mailpoet_hidden{{/unless}}\">
";
// line 53
yield MailPoet\Util\Helpers::replaceLinkTags($this->extensions['MailPoet\Twig\I18n']->translate("Didnt receive the test email? Read our [link]quick guide[/link] to sending issues."), "https://kb.mailpoet.com/article/146-my-newsletters-are-not-being-received", ["target" => "_blank", "rel" => "noopener noreferrer"]);
yield "
</p>
<div class=\"{{#unless previewSendingError}}mailpoet_hidden{{/unless}} mailpoet_error\" id=\"mailpoet_preview_sending_error\"></div>
</div>
</form>
{{#if mssKeyPendingApproval }}
<div class=\"mailpoet_error pendindig_approval_error{{#if awaitingKeyCheck}} with-spinner{{/if}}\">
<p>
";
// line 62
yield $this->extensions['MailPoet\Twig\Functions']->pendingApprovalMessage();
yield "
</p>
{{#if mssKeyPendingApprovalRefreshMessage }}
<p>
";
// line 66
yield MailPoet\Util\Helpers::replaceLinkTags($this->extensions['MailPoet\Twig\I18n']->translate("If you have already received approval email, click [link]here[/link] to update the status."), "#", ["id" => "refresh-mss-key-status"]);
yield "
</p>
{{/if}}
</div>
{{/if}}
</div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/components/newsletterPreview.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 138 => 66, 131 => 62, 119 => 53, 113 => 50, 108 => 48, 101 => 44, 97 => 43, 83 => 32, 60 => 12, 54 => 9, 48 => 6, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/components/newsletterPreview.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/components/newsletterPreview.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/woocommerceHeading/widget.hbs */
class __TwigTemplate_a5923bab8f277efe9b3dc620b3436c157fb01191e360c2ba9e700050904ac152 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/text.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("WooCommerce Email Heading", "Name of a widget in the email editor. This widget is used to display WooCommerce messages (like ”Thanks for your order!”)");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/woocommerceHeading/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/woocommerceHeading/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceHeading/widget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,412 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/products/settingsDisplayOptions.hbs */
class __TwigTemplate_a838e20a344c13456f38a89e45cd006dfbd7a3effc10476a46866ec2011181ff extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_display_type\" class=\"mailpoet_products_display_type\" value=\"titleOnly\" {{#ifCond model.displayType '==' 'titleOnly'}}CHECKED{{/ifCond}}/>
";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title only");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_display_type\" class=\"mailpoet_products_display_type\" value=\"excerpt\" {{#ifCond model.displayType '==' 'excerpt'}}CHECKED{{/ifCond}}/>
";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title and a short description");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_display_type\" class=\"mailpoet_products_display_type\" value=\"full\" {{#ifCond model.displayType '==' 'full'}}CHECKED{{/ifCond}} />
";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title and description");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 25
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title Format");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_format\" class=\"mailpoet_products_title_format\" value=\"h1\" {{#ifCond model.titleFormat '==' 'h1'}}CHECKED{{/ifCond}}/>
";
// line 29
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 1");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_format\" class=\"mailpoet_products_title_format\" value=\"h2\" {{#ifCond model.titleFormat '==' 'h2'}}CHECKED{{/ifCond}}/>
";
// line 35
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 2");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_format\" class=\"mailpoet_products_title_format\" value=\"h3\" {{#ifCond model.titleFormat '==' 'h3'}}CHECKED{{/ifCond}}/>
";
// line 41
yield $this->extensions['MailPoet\Twig\I18n']->translate("Heading 3");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 47
yield $this->extensions['MailPoet\Twig\I18n']->translate("Title Alignment");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_alignment\" class=\"mailpoet_products_title_alignment\" value=\"left\" {{#ifCond model.titleAlignment '==' 'left'}}CHECKED{{/ifCond}} />
";
// line 51
yield $this->extensions['MailPoet\Twig\I18n']->translate("Left");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_alignment\" class=\"mailpoet_products_title_alignment\" value=\"center\" {{#ifCond model.titleAlignment '==' 'center'}}CHECKED{{/ifCond}} />
";
// line 57
yield $this->extensions['MailPoet\Twig\I18n']->translate("Center");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_alignment\" class=\"mailpoet_products_title_alignment\" value=\"right\" {{#ifCond model.titleAlignment '==' 'right'}}CHECKED{{/ifCond}} />
";
// line 63
yield $this->extensions['MailPoet\Twig\I18n']->translate("Right");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 69
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Make the product title into a link", "Display the product title into a link");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_as_links\" class=\"mailpoet_products_title_as_links\" value=\"true\" {{#if model.titleIsLink}}CHECKED{{/if}}/>
";
// line 73
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_as_links\" class=\"mailpoet_products_title_as_links\" value=\"false\" {{#unless model.titleIsLink}}CHECKED{{/unless}}/>
";
// line 79
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field mailpoet_products_title_position {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\">
<div class=\"mailpoet_form_field_title\">";
// line 87
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Product title position", "Setting in the email designer to position an ecommerce product title");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_position\" class=\"mailpoet_products_title_position\" value=\"abovePost\" {{#ifCond model.titlePosition '!=' 'aboveExcerpt'}}CHECKED{{/ifCond}}/>
";
// line 91
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Above the product", "Display the product title above the product block");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_title_position\" class=\"mailpoet_products_title_position\" value=\"aboveExcerpt\" {{#ifCond model.titlePosition '==' 'aboveExcerpt'}}CHECKED{{/ifCond}}/>
";
// line 97
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Above the product description", "Display the product title above the product description");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator mailpoet_products_title_position_separator {{#ifCond model.displayType '===' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\" />
<div> <!-- empty div for better git diff -->
<div class=\"mailpoet_form_field mailpoet_products_featured_image_position_container\">
<div class=\"mailpoet_form_field_title\">";
// line 106
yield $this->extensions['MailPoet\Twig\I18n']->translate("Product image position");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_featured_image_position\" class=\"mailpoet_products_featured_image_position\" value=\"centered\" {{#ifCond model.featuredImagePosition '==' 'centered' }}CHECKED{{/ifCond}}/>
";
// line 110
yield $this->extensions['MailPoet\Twig\I18n']->translate("Centered");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_featured_image_position\" class=\"mailpoet_products_featured_image_position\" value=\"left\" {{#ifCond model.featuredImagePosition '==' 'left' }}CHECKED{{/ifCond}}/>
";
// line 116
yield $this->extensions['MailPoet\Twig\I18n']->translate("Left");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_featured_image_position\" class=\"mailpoet_products_featured_image_position\" value=\"right\" {{#ifCond model.featuredImagePosition '==' 'right' }}CHECKED{{/ifCond}}/>
";
// line 122
yield $this->extensions['MailPoet\Twig\I18n']->translate("Right");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_featured_image_position\" class=\"mailpoet_products_featured_image_position\" value=\"alternate\" {{#ifCond model.featuredImagePosition '==' 'alternate' }}CHECKED{{/ifCond}}/>
";
// line 128
yield $this->extensions['MailPoet\Twig\I18n']->translate("Alternate");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_featured_image_position\" class=\"mailpoet_products_featured_image_position\" value=\"none\" {{#ifCond model.featuredImagePosition '==' 'none' }}CHECKED{{/ifCond}}/>
";
// line 134
yield $this->extensions['MailPoet\Twig\I18n']->translate("None");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field mailpoet_products_image_full_width_option {{#ifCond model.displayType '==' 'titleOnly'}}mailpoet_hidden{{/ifCond}}\">
<div class=\"mailpoet_form_field_title\">";
// line 140
yield $this->extensions['MailPoet\Twig\I18n']->translate("Image width");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"imageFullWidth\" class=\"mailpoet_products_image_full_width\" value=\"true\" {{#if model.imageFullWidth}}CHECKED{{/if}}/>
";
// line 144
yield $this->extensions['MailPoet\Twig\I18n']->translate("Full width");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"imageFullWidth\" class=\"mailpoet_products_image_full_width\" value=\"false\" {{#unless model.imageFullWidth}}CHECKED{{/unless}}/>
";
// line 150
yield $this->extensions['MailPoet\Twig\I18n']->translate("Padded");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 158
yield $this->extensions['MailPoet\Twig\I18n']->translate("Price");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_price_position\" class=\"mailpoet_products_price_position\" value=\"below\" {{#ifCond model.pricePosition '==' 'below'}}CHECKED{{/ifCond}} />
";
// line 162
yield $this->extensions['MailPoet\Twig\I18n']->translate("Below text");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_price_position\" class=\"mailpoet_products_price_position\" value=\"above\" {{#ifCond model.pricePosition '==' 'above'}}CHECKED{{/ifCond}} />
";
// line 168
yield $this->extensions['MailPoet\Twig\I18n']->translate("Above text");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_price_position\" class=\"mailpoet_products_price_position\" value=\"hidden\" {{#ifCond model.pricePosition '==' 'hidden'}}CHECKED{{/ifCond}} />
";
// line 174
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small\">";
// line 182
yield $this->extensions['MailPoet\Twig\I18n']->translate("\"Buy now\" text");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_read_more_type\" class=\"mailpoet_products_read_more_type\" value=\"link\" {{#ifCond model.readMoreType '==' 'link'}}CHECKED{{/ifCond}}/>
";
// line 186
yield $this->extensions['MailPoet\Twig\I18n']->translate("Link");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_read_more_type\" class=\"mailpoet_products_read_more_type\" value=\"button\" {{#ifCond model.readMoreType '==' 'button'}}CHECKED{{/ifCond}}/>
";
// line 192
yield $this->extensions['MailPoet\Twig\I18n']->translate("Button");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_block\">
<input type=\"text\" class=\"mailpoet_input mailpoet_input_full mailpoet_products_read_more_text {{#ifCond model.readMoreType '!=' 'link'}}mailpoet_hidden{{/ifCond}}\" value=\"{{ model.readMoreText }}\" />
</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_block\">
<a href=\"javascript:;\" class=\"mailpoet_products_select_button {{#ifCond model.readMoreType '!=' 'button'}}mailpoet_hidden{{/ifCond}}\">";
// line 201
yield $this->extensions['MailPoet\Twig\I18n']->translate("Design a button");
yield "</a>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_small mailpoet_form_field_title_inline\">";
// line 208
yield $this->extensions['MailPoet\Twig\I18n']->translate("Show divider between products");
yield "</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_show_divider\" class=\"mailpoet_products_show_divider\" value=\"true\" {{#if model.showDivider}}CHECKED{{/if}}/>
";
// line 212
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"mailpoet_products_show_divider\"class=\"mailpoet_products_show_divider\" value=\"false\" {{#unless model.showDivider}}CHECKED{{/unless}}/>
";
// line 218
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_input_option\">
<a href=\"javascript:;\" class=\"mailpoet_products_select_divider\">";
// line 222
yield $this->extensions['MailPoet\Twig\I18n']->translate("Select divider");
yield "</a>
</div>
</div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/products/settingsDisplayOptions.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 372 => 222, 365 => 218, 356 => 212, 349 => 208, 339 => 201, 327 => 192, 318 => 186, 311 => 182, 300 => 174, 291 => 168, 282 => 162, 275 => 158, 264 => 150, 255 => 144, 248 => 140, 239 => 134, 230 => 128, 221 => 122, 212 => 116, 203 => 110, 196 => 106, 184 => 97, 175 => 91, 168 => 87, 157 => 79, 148 => 73, 141 => 69, 132 => 63, 123 => 57, 114 => 51, 107 => 47, 98 => 41, 89 => 35, 80 => 29, 73 => 25, 62 => 17, 53 => 11, 44 => 5, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/products/settingsDisplayOptions.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/products/settingsDisplayOptions.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,131 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/posts/settingsSelection.hbs */
class __TwigTemplate_02deb84769839d0a6212d921e633c1fa1d1daa6b34177426293099b2197e4112 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_settings_posts_selection_controls\">
<div class=\"mailpoet_post_selection_filter_row\">
<input type=\"text\" name=\"\" class=\"mailpoet_input mailpoet_input_full mailpoet_posts_search_term\" value=\"{{model.search}}\" placeholder=\"";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Search...");
yield "\" />
</div>
<div class=\"mailpoet_post_selection_filter_row\"><select name=\"mailpoet_posts_content_type\" class=\"mailpoet_select mailpoet_select_half_width mailpoet_settings_posts_content_type\">
<option value=\"post\" {{#ifCond model.contentType '==' 'post'}}SELECTED{{/ifCond}}>";
// line 6
yield $this->extensions['MailPoet\Twig\I18n']->translate("Posts");
yield "</option>
<option value=\"page\" {{#ifCond model.contentType '==' 'page'}}SELECTED{{/ifCond}}>";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("Pages");
yield "</option>
<option value=\"mailpoet_page\" {{#ifCond model.contentType '==' 'mailpoet_page'}}SELECTED{{/ifCond}}>";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("MailPoet pages");
yield "</option>
</select><select class=\"mailpoet_select mailpoet_select_half_width mailpoet_posts_post_status\">
<option value=\"publish\" {{#ifCond model.postStatus '==' 'publish'}}SELECTED{{/ifCond}}>";
// line 10
yield $this->extensions['MailPoet\Twig\I18n']->translate("Published");
yield "</option>
<option value=\"future\" {{#ifCond model.postStatus '==' 'future'}}SELECTED{{/ifCond}}>";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("Scheduled");
yield "</option>
<option value=\"draft\" {{#ifCond model.postStatus '==' 'draft'}}SELECTED{{/ifCond}}>";
// line 12
yield $this->extensions['MailPoet\Twig\I18n']->translate("Draft");
yield "</option>
<option value=\"pending\" {{#ifCond model.postStatus '==' 'pending'}}SELECTED{{/ifCond}}>";
// line 13
yield $this->extensions['MailPoet\Twig\I18n']->translate("Pending Review");
yield "</option>
<option value=\"private\" {{#ifCond model.postStatus '==' 'private'}}SELECTED{{/ifCond}}>";
// line 14
yield $this->extensions['MailPoet\Twig\I18n']->translate("Private");
yield "</option>
</select></div>
<div class=\"mailpoet_post_selection_filter_row\">
<select class=\"mailpoet_select mailpoet_posts_categories_and_tags\" multiple=\"multiple\">
{{#each model.terms}}
<option value=\"{{ id }}\" selected=\"selected\">{{ text }}</option>
{{/each}}
</select>
</div>
</div>
<div class=\"mailpoet_post_selection_container\">
</div>
<div class=\"mailpoet_post_selection_loading\" style=\"visibility: hidden;\">
";
// line 27
yield $this->extensions['MailPoet\Twig\I18n']->translate("Loading posts...");
yield "
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/posts/settingsSelection.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 93 => 27, 77 => 14, 73 => 13, 69 => 12, 65 => 11, 61 => 10, 56 => 8, 52 => 7, 48 => 6, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/posts/settingsSelection.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/posts/settingsSelection.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,112 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/products/settingsSelection.hbs */
class __TwigTemplate_dfdf9f5a92a1c8ac3b2b3e97633af09605e9bf2c8350c290d8806af7dbad4bbd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_settings_products_selection_controls\">
<div class=\"mailpoet_product_selection_filter_row\">
<input type=\"text\" name=\"\" class=\"mailpoet_input mailpoet_input_full mailpoet_products_search_term\" value=\"{{model.search}}\" placeholder=\"";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Search...");
yield "\" />
</div>
<div class=\"mailpoet_product_selection_filter_row\">
<select class=\"mailpoet_select mailpoet_input_full mailpoet_products_post_status\">
<option value=\"publish\" {{#ifCond model.postStatus '==' 'publish'}}SELECTED{{/ifCond}}>";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("Published");
yield "</option>
<option value=\"pending\" {{#ifCond model.postStatus '==' 'pending'}}SELECTED{{/ifCond}}>";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("Pending Review");
yield "</option>
<option value=\"draft\" {{#ifCond model.postStatus '==' 'draft'}}SELECTED{{/ifCond}}>";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("Draft");
yield "</option>
</select>
</div>
<div class=\"mailpoet_product_selection_filter_row\">
<select class=\"mailpoet_select mailpoet_products_categories_and_tags\" multiple=\"multiple\">
{{#each model.terms}}
<option value=\"{{ id }}\" selected=\"selected\">{{ text }}</option>
{{/each}}
</select>
</div>
</div>
<div class=\"mailpoet_product_selection_container\">
</div>
<div class=\"mailpoet_product_selection_loading\" style=\"visibility: hidden;\">
";
// line 23
yield $this->extensions['MailPoet\Twig\I18n']->translate("Loading posts...");
yield "
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/products/settingsSelection.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 74 => 23, 57 => 9, 53 => 8, 49 => 7, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/products/settingsSelection.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/products/settingsSelection.hbs");
}
}
@@ -0,0 +1,80 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/components/sidebar/layout.hbs */
class __TwigTemplate_277bceca14833ca1daec21f12dc1c37fdd5b0ce2fd6fa71d09b9d946ef89876b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"handlediv\" title=\"Click to toggle\"><br></div>
<h3>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Columns");
yield "</h3>
<div class=\"mailpoet_region_content clearfix\">
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/components/sidebar/layout.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/components/sidebar/layout.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/components/sidebar/layout.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,85 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* emails/congratulatoryMssEmail.txt */
class __TwigTemplate_aab054d1ce71cebb286bd048e43bc4591e33d0913d0f18c524b7aaf2e003ae26 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield $this->extensions['MailPoet\Twig\I18n']->translate("Congrats!");
yield "
";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("MailPoet is now sending your emails");
yield "
";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("This email was sent automatically with the MailPoet Sending Service after you activated your key in your MailPoet settings.");
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "emails/congratulatoryMssEmail.txt";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 48 => 5, 43 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "emails/congratulatoryMssEmail.txt", "/home/circleci/mailpoet/mailpoet/views/emails/congratulatoryMssEmail.txt");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,189 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/woocommerceContent/completed_order.hbs */
class __TwigTemplate_7c02796c5b5268230e497d766ca01a9eda895b0cd8b3c0b91f858a1c150b6f70 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_tools\"></div>
<div class=\"mailpoet_woocommerce_content_overlay\">
<p>";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Autogenerated content by WooCommerce");
yield "</p>
</div>
<div class=\"mailpoet_content mailpoet_woocommerce_content\" data-automation-id=\"woocommerce_content\">
<p style=\"margin:0 0 16px\">";
// line 6
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::sprintf($this->extensions['MailPoet\Twig\I18n']->translate("Hi %s,", "woocommerce"), "Jane"), "html", null, true);
yield "</p>
<p style=\"margin:0 0 16px\">";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("We have finished processing your order.", "woocommerce");
yield "</p>
<h2 style=\"display:block;font-family:&quot;Helvetica Neue&quot;,Helvetica,Roboto,Arial,sans-serif;font-size:18px;font-weight:bold;line-height:130%;margin:0 0 18px;text-align:left\">
\t";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("[Order #0001]", "woocommerce");
yield "</h2>
<div style=\"margin-bottom:40px\">
\t<table class=\"m_3180768237544866075td\" cellspacing=\"0\" cellpadding=\"6\" border=\"1\" style=\"border:1px solid #e4e4e4;vertical-align:middle;width:100%;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif\">
\t\t<thead>
\t\t\t<tr>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"col\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("Product", "woocommerce");
yield "</th>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"col\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 18
yield $this->extensions['MailPoet\Twig\I18n']->translate("Quantity", "woocommerce");
yield "</th>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"col\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translate("Price", "woocommerce");
yield "</th>
\t\t\t</tr>
\t\t</thead>
\t\t<tbody>
\t\t\t\t<tr class=\"m_3180768237544866075order_item\">
\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;padding:12px;text-align:left;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;word-wrap:break-word\">
\t\tMy First Product\t\t</td>
\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;padding:12px;text-align:left;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif\">
\t\t\t1\t\t</td>
\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;padding:12px;text-align:left;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif\">
\t\t\t<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">10,00<span class=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span>\t\t</td>
\t</tr>
\t\t</tbody>
\t\t<tfoot>
\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left;border-top-width:4px\">";
// line 35
yield $this->extensions['MailPoet\Twig\I18n']->translate("Subtotal:", "woocommerce");
yield "</th>
\t\t\t\t\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left;border-top-width:4px\"><span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">10,00<span class=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span></td>
\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 39
yield $this->extensions['MailPoet\Twig\I18n']->translate("Shipping:", "woocommerce");
yield "</th>
\t\t\t\t\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">
<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">4,90<span class=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span>
</td>
\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 45
yield $this->extensions['MailPoet\Twig\I18n']->translate("Payment method:", "woocommerce");
yield "</th>
\t\t\t\t\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">Paypal</td>
\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 49
yield $this->extensions['MailPoet\Twig\I18n']->translate("Total:", "woocommerce");
yield "</th>
\t\t\t\t\t\t<td class=\"m_3180768237544866075td\" style=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">
<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">14,90<span class=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span> <small class=\"m_3180768237544866075includes_tax\">(includes <span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">0,91<span class=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span> VAT)</small>
</td>
\t\t\t\t\t</tr>
\t\t\t\t\t\t\t</tfoot>
\t</table>
</div>
<table id=\"m_3180768237544866075addresses\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"width:100%;vertical-align:top;margin-bottom:40px;padding:0\">
\t<tbody><tr>
\t\t<td valign=\"top\" width=\"50%\" style=\"text-align:left;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;border:0;padding:0\">
\t\t\t<h2 style=\"display:block;font-family:&quot;Helvetica Neue&quot;,Helvetica,Roboto,Arial,sans-serif;font-size:18px;font-weight:bold;line-height:130%;margin:0 0 18px;text-align:left\">";
// line 61
yield $this->extensions['MailPoet\Twig\I18n']->translate("Billing address", "woocommerce");
yield "</h2>
\t\t\t<address class=\"m_3180768237544866075address\" style=\"padding:12px;border:1px solid #e4e4e4\">Jane Doe<br>42 rue Blue Origin<br>75000 Paris<br>France</address>
\t\t</td>
\t\t\t\t\t<td valign=\"top\" width=\"50%\" style=\"text-align:left;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;padding:0\">
\t\t\t\t<h2 style=\"display:block;font-family:&quot;Helvetica Neue&quot;,Helvetica,Roboto,Arial,sans-serif;font-size:18px;font-weight:bold;line-height:130%;margin:0 0 18px;text-align:left\">";
// line 66
yield $this->extensions['MailPoet\Twig\I18n']->translate("Shipping address", "woocommerce");
yield "</h2>
\t\t\t\t<address class=\"m_3180768237544866075address\" style=\"padding:12px;border:1px solid #e4e4e4\">Jane Doe<br>42 rue Blue Origin<br>75000 Paris<br>France</address>
\t\t\t</td>
\t\t\t</tr>
</tbody></table>
<p style=\"margin:0 0 16px\">";
// line 72
yield $this->extensions['MailPoet\Twig\I18n']->translate("Thanks for shopping with us.", "woocommerce");
yield "</p>
</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/woocommerceContent/completed_order.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 150 => 72, 141 => 66, 133 => 61, 118 => 49, 111 => 45, 102 => 39, 95 => 35, 76 => 19, 72 => 18, 68 => 17, 59 => 11, 52 => 7, 48 => 6, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/woocommerceContent/completed_order.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceContent/completed_order.hbs");
}
}
@@ -0,0 +1,227 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/woocommerceContent/processing_order.hbs */
class __TwigTemplate_8f3f546835c958a96946eb29080c28a9f1fac7112738cb53eb21899cdffd9244 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_tools\"></div>
<div class=\"mailpoet_woocommerce_content_overlay\">
<p>";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Autogenerated content by WooCommerce");
yield "</p>
</div>
<div class=\"mailpoet_content mailpoet_woocommerce_content\" data-automation-id=\"woocommerce_content\" style=\"font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:150%;text-align:left;\">
<p style=\"margin:0 0 16px;font-size:14px;\">";
// line 6
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::sprintf($this->extensions['MailPoet\Twig\I18n']->translate("Hi %s,", "woocommerce"), "Jane"), "html", null, true);
yield "</p>
<p style=\"margin:0 0 16px;font-size:14px;\">";
// line 7
yield MailPoetVendor\Twig\Extension\CoreExtension::sprintf($this->extensions['MailPoet\Twig\I18n']->translate("Just to let you know &mdash; we've received your order #%s, and it is now being processed:", "woocommerce"), "0001");
yield "</p>
<h2
\tstyle=\"display:block;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:18px;font-weight:bold;line-height:130%;margin:0 0 18px;text-align:left\">
\t";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("[Order #0001]", "woocommerce");
yield "</h2>
<div style=\"margin-bottom:40px\">
\t<table class=\"m_3180768237544866075td\" cellspacing=\"0\" cellpadding=\"6\" border=\"1\"
\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;width:100%;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif\">
\t\t<thead>
\t\t\t<tr>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"col\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translate("Product", "woocommerce");
yield "</th>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"col\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 21
yield $this->extensions['MailPoet\Twig\I18n']->translate("Quantity", "woocommerce");
yield "
\t\t\t\t</th>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"col\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 24
yield $this->extensions['MailPoet\Twig\I18n']->translate("Price", "woocommerce");
yield "</th>
\t\t\t</tr>
\t\t</thead>
\t\t<tbody>
\t\t\t<tr class=\"m_3180768237544866075order_item\">
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;padding:12px;text-align:left;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;word-wrap:break-word\">
\t\t\t\t\tMy First Product </td>
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;padding:12px;text-align:left;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif\">
\t\t\t\t\t1 </td>
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;padding:12px;text-align:left;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif\">
\t\t\t\t\t<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">10,00<span
\t\t\t\t\t\t\tclass=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span> </td>
\t\t\t</tr>
\t\t</tbody>
\t\t<tfoot>
\t\t\t<tr>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left;border-top-width:4px\">
\t\t\t\t\t";
// line 46
yield $this->extensions['MailPoet\Twig\I18n']->translate("Subtotal:", "woocommerce");
yield "</th>
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left;border-top-width:4px\">
\t\t\t\t\t<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">10,00<span
\t\t\t\t\t\t\tclass=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span></td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 54
yield $this->extensions['MailPoet\Twig\I18n']->translate("Shipping:", "woocommerce");
yield "
\t\t\t\t</th>
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">
\t\t\t\t\t<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">4,90<span
\t\t\t\t\t\t\tclass=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">
\t\t\t\t\t";
// line 65
yield $this->extensions['MailPoet\Twig\I18n']->translate("Payment method:", "woocommerce");
yield "</th>
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">Paypal</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th class=\"m_3180768237544866075td\" scope=\"row\" colspan=\"2\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">";
// line 71
yield $this->extensions['MailPoet\Twig\I18n']->translate("Total:", "woocommerce");
yield "</th>
\t\t\t\t<td class=\"m_3180768237544866075td\"
\t\t\t\t\tstyle=\"border:1px solid #e4e4e4;vertical-align:middle;padding:12px;text-align:left\">
\t\t\t\t\t<span class=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">14,90<span
\t\t\t\t\t\t\tclass=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span> <small
\t\t\t\t\t\tclass=\"m_3180768237544866075includes_tax\">(includes <span
\t\t\t\t\t\t\tclass=\"m_3180768237544866075woocommerce-Price-amount m_3180768237544866075amount\">0,91<span
\t\t\t\t\t\t\t\tclass=\"m_3180768237544866075woocommerce-Price-currencySymbol\">€</span></span> VAT)</small>
\t\t\t\t</td>
\t\t\t</tr>
\t\t</tfoot>
\t</table>
</div>
<table id=\"m_3180768237544866075addresses\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"
\tstyle=\"width:100%;vertical-align:top;margin-bottom:40px;padding:0\">
\t<tbody>
\t\t<tr>
\t\t\t<td valign=\"top\" width=\"50%\"
\t\t\t\tstyle=\"text-align:left;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;border:0;padding:0\">
\t\t\t\t<h2
\t\t\t\t\tstyle=\"display:block;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:18px;font-weight:bold;line-height:130%;margin:0 0 18px;text-align:left\">
\t\t\t\t\t";
// line 93
yield $this->extensions['MailPoet\Twig\I18n']->translate("Billing address", "woocommerce");
yield "</h2>
\t\t\t\t<address class=\"m_3180768237544866075address\" style=\"padding:12px;border:1px solid #e4e4e4\">Jane Doe
\t\t\t\t<br>42 rue Blue Origin<br>75000 Paris<br>France</address>
\t\t\t</td>
\t\t\t<td valign=\"top\" width=\"50%\"
\t\t\t\tstyle=\"text-align:left;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;padding:0\">
\t\t\t\t<h2
\t\t\t\t\tstyle=\"display:block;font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:18px;font-weight:bold;line-height:130%;margin:0 0 18px;text-align:left\">
\t\t\t\t\t";
// line 102
yield $this->extensions['MailPoet\Twig\I18n']->translate("Shipping address", "woocommerce");
yield "</h2>
\t\t\t\t<address class=\"m_3180768237544866075address\" style=\"padding:12px;border:1px solid #e4e4e4\">Jane Doe
\t\t\t\t<br>42 rue Blue Origin<br>75000 Paris<br>France</address>
\t\t\t</td>
\t\t</tr>
\t</tbody>
</table>
<p style=\"margin:0 0 16px;font-size:14px;\">";
// line 110
yield $this->extensions['MailPoet\Twig\I18n']->translate("Thanks for shopping with us.", "woocommerce");
yield "</p>
</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/woocommerceContent/processing_order.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 188 => 110, 177 => 102, 165 => 93, 140 => 71, 131 => 65, 117 => 54, 106 => 46, 81 => 24, 75 => 21, 70 => 19, 59 => 11, 52 => 7, 48 => 6, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/woocommerceContent/processing_order.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceContent/processing_order.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,78 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/social/widget.hbs */
class __TwigTemplate_81809817730fe748cb57e474cd67fd2caa284851e13612f199fef59a41b4eea8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\"><span class=\"dashicons dashicons-facebook\"></span></div>
<div class=\"mailpoet_widget_title\">";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Social");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/social/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/social/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/social/widget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,183 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/footer/settings.hbs */
class __TwigTemplate_4dad24d6979ff687df324ba72e4a627bdb1ada3d948a10097db0d3012378cd1b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield $this->extensions['MailPoet\Twig\I18n']->translate("Footer");
yield "</h3>
<div class=\"mailpoet_form_field mailpoet_form_narrow_select2\">
<div class=\"mailpoet_form_field_title\">";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield "</div>
<div class=\"mailpoet_form_field_input_option mailpoet_form_field_input_nowrap\">
<input type=\"text\" name=\"font-color\" id=\"mailpoet_field_footer_text_color\" class=\"mailpoet_field_footer_text_color mailpoet_color\" value=\"{{ model.styles.text.fontColor }}\" />
<select id=\"mailpoet_field_footer_text_font_family\" name=\"font-family\" class=\"mailpoet_select mailpoet_select_medium mailpoet_field_footer_text_font_family mailpoet_font_family\">
<optgroup label=\"";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("Standard fonts");
yield "\">
{{#each availableStyles.fonts.standard}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.styles.text.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
<optgroup label=\"";
// line 12
yield $this->extensions['MailPoet\Twig\I18n']->translate("Custom fonts");
yield "\">
{{#each availableStyles.fonts.custom}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.styles.text.fontFamily}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</optgroup>
</select>
<select id=\"mailpoet_field_footer_text_size\" name=\"font-size\" class=\"mailpoet_select mailpoet_select_small mailpoet_field_footer_text_size mailpoet_font_size\">
{{#each availableStyles.textSizes}}
<option value=\"{{ this }}\" {{#ifCond this '==' ../model.styles.text.fontSize}}SELECTED{{/ifCond}}>{{ this }}</option>
{{/each}}
</select>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_input_option\">
<input type=\"text\" class=\"mailpoet_color\" size=\"6\" maxlength=\"6\" name=\"link-color\" value=\"{{ model.styles.link.fontColor }}\" id=\"mailpoet_field_footer_link_color\" />
</div>
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_inline\">";
// line 29
yield $this->extensions['MailPoet\Twig\I18n']->translate("Links");
yield "</div>
<label>
<div class=\"mailpoet_form_field_checkbox_option mailpoet_option_offset_left_small\">
<input type=\"checkbox\" name=\"underline\" value=\"underline\" id=\"mailpoet_field_footer_link_underline\" {{#ifCond model.styles.link.textDecoration '==' 'underline'}}CHECKED{{/ifCond}}/> ";
// line 32
yield $this->extensions['MailPoet\Twig\I18n']->translate("Underline");
yield "
</div>
</label>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_input_option\">
<input type=\"text\" name=\"background-color\" class=\"mailpoet_field_footer_background_color mailpoet_color\" value=\"{{ model.styles.block.backgroundColor }}\" />
</div>
<div class=\"mailpoet_form_field_title mailpoet_form_field_title_inline\">";
// line 41
yield $this->extensions['MailPoet\Twig\I18n']->translate("Background");
yield "</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_field_footer_alignment\" value=\"left\" {{#ifCond model.styles.text.textAlign '===' 'left'}}CHECKED{{/ifCond}}/>
";
// line 48
yield $this->extensions['MailPoet\Twig\I18n']->translate("Left");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_field_footer_alignment\" value=\"center\" {{#ifCond model.styles.text.textAlign '===' 'center'}}CHECKED{{/ifCond}}/>
";
// line 54
yield $this->extensions['MailPoet\Twig\I18n']->translate("Center");
yield "
</label>
</div>
<div class=\"mailpoet_form_field_radio_option\">
<label>
<input type=\"radio\" name=\"alignment\" class=\"mailpoet_field_footer_alignment\" value=\"right\" {{#ifCond model.styles.text.textAlign '===' 'right'}}CHECKED{{/ifCond}}/>
";
// line 60
yield $this->extensions['MailPoet\Twig\I18n']->translate("Right");
yield "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<input type=\"button\" class=\"button button-primary mailpoet_done_editing\" data-automation-id=\"footer_done_button\" value=\"";
// line 66
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Done"), "html_attr");
yield "\" />
</div>
<div class=\"mailpoet_form_field\">
<p class=\"mailpoet_settings_notice\">";
// line 70
yield MailPoet\Util\Helpers::replaceLinkTags($this->extensions['MailPoet\Twig\I18n']->translate("If an email client [link]does not support a custom web font[/link], a similar standard font will be used instead."), "https://kb.mailpoet.com/article/176-which-fonts-can-be-used-in-mailpoet#custom-web-fonts", ["target" => "_blank"]);
yield "</p>
</div>
<script type=\"text/javascript\">
fontsSelect('#mailpoet_field_footer_text_font_family');
</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/footer/settings.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 141 => 70, 134 => 66, 125 => 60, 116 => 54, 107 => 48, 97 => 41, 85 => 32, 79 => 29, 59 => 12, 51 => 7, 44 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/footer/settings.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/footer/settings.hbs");
}
}
@@ -0,0 +1 @@
<?php

Some files were not shown because too many files have changed in this diff Show More