90 lines
2.4 KiB
PHP
90 lines
2.4 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\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
|
|
echo "<p class=\"clearfix\">
|
|
<label>";
|
|
// line 2
|
|
echo $this->extensions['MailPoet\Twig\I18n']->translate("Is this field mandatory?");
|
|
echo "</label>
|
|
<span class=\"group\">
|
|
<label>
|
|
<input type=\"radio\"
|
|
class=\"mailpoet_radio\"
|
|
name=\"params[required]\"
|
|
value=\"1\"
|
|
{{#if params.required}}checked=\"checked\"{{/if}} />";
|
|
// line 9
|
|
echo $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
|
|
echo "
|
|
</label>
|
|
<label>
|
|
<input
|
|
class=\"mailpoet_radio\"
|
|
type=\"radio\"
|
|
name=\"params[required]\"
|
|
value=\"\"
|
|
{{#unless params.required}}checked=\"checked\"{{/unless}} />";
|
|
// line 17
|
|
echo $this->extensions['MailPoet\Twig\I18n']->translate("No");
|
|
echo "
|
|
</label>
|
|
</span>
|
|
</p>";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "form/templatesLegacy/settings/required.hbs";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 61 => 17, 50 => 9, 40 => 2, 37 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "form/templatesLegacy/settings/required.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/required.hbs");
|
|
}
|
|
}
|