93 lines
2.5 KiB
PHP
93 lines
2.5 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/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
|
|
echo "<p class=\"clearfix\">
|
|
<label>";
|
|
// line 2
|
|
echo $this->extensions['MailPoet\Twig\I18n']->translate("Preselect today's date:");
|
|
echo "</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
|
|
echo $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
|
|
echo "
|
|
</label>
|
|
<label>
|
|
<input
|
|
class=\"mailpoet_radio\"
|
|
type=\"radio\"
|
|
name=\"params[is_default_today]\"
|
|
value=\"\"
|
|
{{#unless params.is_default_today}}checked=\"checked\"{{/unless}}
|
|
/>";
|
|
// line 20
|
|
echo $this->extensions['MailPoet\Twig\I18n']->translate("No");
|
|
echo "
|
|
</label>
|
|
</span>
|
|
</p>";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "form/templatesLegacy/settings/date_default.hbs";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 64 => 20, 52 => 11, 40 => 2, 37 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "form/templatesLegacy/settings/date_default.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/date_default.hbs");
|
|
}
|
|
}
|