97 lines
2.5 KiB
PHP
97 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\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;
|
|
|
|
/* form/templatesLegacy/settings/values_item.hbs */
|
|
class __TwigTemplate_ad95371f127a37c3fd295b281998d07f4cab28c047de8b441cc7b6b9301afa1c 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
|
|
yield "<li class=\"clearfix\">
|
|
{{#ifCond type 'in' 'radio,select'}}
|
|
<input class=\"is_checked radio\" type=\"radio\" name=\"\"
|
|
{{#if is_checked}}checked=\"checked\"{{/if}} value=\"1\"/>
|
|
{{else}}
|
|
<input class=\"is_checked checkbox\" type=\"checkbox\" name=\"\"
|
|
{{#if is_checked}}checked=\"checked\"{{/if}} value=\"1\"/>
|
|
{{/ifCond}}
|
|
|
|
<input
|
|
type=\"text\"
|
|
name=\"\"
|
|
class=\"value\"
|
|
value=\"{{ value }}\"
|
|
data-parsley-errors-messages-disabled=\"true\"
|
|
data-parsley-required=\"true\"
|
|
/>
|
|
|
|
{{#ifCond type 'in' 'radio,select'}}
|
|
<a class=\"remove\" href=\"javascript:;\">";
|
|
// line 20
|
|
yield $this->extensions['MailPoet\Twig\I18n']->translate("Remove");
|
|
yield "</a>
|
|
{{/ifCond}}
|
|
</li>";
|
|
return; yield '';
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName()
|
|
{
|
|
return "form/templatesLegacy/settings/values_item.hbs";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 59 => 20, 38 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "form/templatesLegacy/settings/values_item.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/values_item.hbs");
|
|
}
|
|
}
|