geno/wp-content/plugins/mailpoet/generated/twig/71/71933443cfb7e7fd8c728d729372c2b0dd0ed1c5ab3055da9c38ce661abc608b.php

90 lines
2.4 KiB
PHP
Raw Permalink 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;
/* form/form_preview.html */
class __TwigTemplate_adb8eaf54da5046390145eb13175732db5c6d227482e34326cc5460308397132 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
$this->displayBlock('content', $context, $blocks);
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 2
echo " ";
if ((($context["formType"] ?? null) == "others")) {
// line 3
echo " <div id=\"mailpoet_widget_preview\" class=\"mailpoet_widget_preview\">
<div id=\"sidebar\" class=\"sidebar widget-area si-sidebar-container\">
<div class=\"widget si-widget\">
";
// line 6
echo ($context["form"] ?? null);
echo "
</div>
</div>
</div>
";
} else {
// line 11
echo " ";
echo ($context["post"] ?? null);
echo "
";
// line 12
echo ($context["form"] ?? null);
echo "
";
}
}
public function getTemplateName()
{
return "form/form_preview.html";
}
public function getDebugInfo()
{
return array ( 66 => 12, 61 => 11, 53 => 6, 48 => 3, 45 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/form_preview.html", "/home/circleci/mailpoet/mailpoet/views/form/form_preview.html");
}
}