84 lines
2.7 KiB
PHP
84 lines
2.7 KiB
PHP
<?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/block.hbs */
|
|
class __TwigTemplate_709bc64c20c1cb2a0c7951555f91b3418244cd868174c39363a12b31433d6086 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=\"footer\">{{{ model.text }}}</div>
|
|
<div class=\"mailpoet_block_highlight\"></div>
|
|
";
|
|
return; yield '';
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName()
|
|
{
|
|
return "newsletter/templates/blocks/footer/block.hbs";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo()
|
|
{
|
|
return array ();
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "newsletter/templates/blocks/footer/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/footer/block.hbs");
|
|
}
|
|
}
|