geno/wp-content/plugins/mailpoet/generated/twig/6f/6fbe756b0b0b9041e2bdb1478d715627fe4bb93e10d6490c76c267e20b5b8aaf.php

364 lines
16 KiB
PHP
Raw Normal View History

2024-02-01 17:24:18 +05:30
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
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/settingsDisplayOptions.hbs */
class __TwigTemplate_06eb69614e63782dbf212c517de98466ef764932657f95db41872addc4edfe3f 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
echo "<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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Title only");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Title and a short description");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Title and description");
echo "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 25
echo $this->extensions['MailPoet\Twig\I18n']->translate("Title Format");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Heading 1");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Heading 2");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Heading 3");
echo "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 47
echo $this->extensions['MailPoet\Twig\I18n']->translate("Title Alignment");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Left");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Center");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Right");
echo "
</label>
</div>
</div>
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 69
echo $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Make the product title into a link", "Display the product title into a link");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("No");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Product title position", "Setting in the email designer to position an ecommerce product title");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Above the product", "Display the product title above the product block");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Above the product description", "Display the product title above the product description");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Product image position");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Centered");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Left");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Right");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Alternate");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("None");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Image width");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Full width");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Padded");
echo "
</label>
</div>
</div>
<hr class=\"mailpoet_separator\" />
<div class=\"mailpoet_form_field\">
<div class=\"mailpoet_form_field_title\">";
// line 158
echo $this->extensions['MailPoet\Twig\I18n']->translate("Price");
echo "</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Below text");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("Above text");
echo "
</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
echo $this->extensions['MailPoet\Twig\I18n']->translate("No");
echo "
</label>
</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 182
echo $this->extensions['MailPoet\Twig\I18n']->translate("Show divider between products");
echo "</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 186
echo $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
echo "
</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 192
echo $this->extensions['MailPoet\Twig\I18n']->translate("No");
echo "
</label>
</div>
<div class=\"mailpoet_form_field_input_option\">
<a href=\"javascript:;\" class=\"mailpoet_products_select_divider\">";
// line 196
echo $this->extensions['MailPoet\Twig\I18n']->translate("Select divider");
echo "</a>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "newsletter/templates/blocks/abandonedCartContent/settingsDisplayOptions.hbs";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 333 => 196, 326 => 192, 317 => 186, 310 => 182, 299 => 174, 290 => 168, 281 => 162, 274 => 158, 263 => 150, 254 => 144, 247 => 140, 238 => 134, 229 => 128, 220 => 122, 211 => 116, 202 => 110, 195 => 106, 183 => 97, 174 => 91, 167 => 87, 156 => 79, 147 => 73, 140 => 69, 131 => 63, 122 => 57, 113 => 51, 106 => 47, 97 => 41, 88 => 35, 79 => 29, 72 => 25, 61 => 17, 52 => 11, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/abandonedCartContent/settingsDisplayOptions.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/abandonedCartContent/settingsDisplayOptions.hbs");
}
}