init
This commit is contained in:
+160
@@ -0,0 +1,160 @@
|
||||
<?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;
|
||||
|
||||
/* parsley-translations.html */
|
||||
class __TwigTemplate_c57fdfc1a59b00dc7129161c18976ad5ba36cdd436a8430e0c1963def69c2803 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 "
|
||||
Parsley.addMessages('mailpoet', {
|
||||
defaultMessage: '";
|
||||
// line 3
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value seems to be invalid.");
|
||||
yield "',
|
||||
type: {
|
||||
email: '";
|
||||
// line 5
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid email.");
|
||||
yield "',
|
||||
url: '";
|
||||
// line 6
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid url.");
|
||||
yield "',
|
||||
number: '";
|
||||
// line 7
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid number.");
|
||||
yield "',
|
||||
integer: '";
|
||||
// line 8
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid integer.");
|
||||
yield "',
|
||||
digits: '";
|
||||
// line 9
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be digits.");
|
||||
yield "',
|
||||
alphanum: '";
|
||||
// line 10
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be alphanumeric.");
|
||||
yield "'
|
||||
},
|
||||
notblank: '";
|
||||
// line 12
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should not be blank.");
|
||||
yield "',
|
||||
required: '";
|
||||
// line 13
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is required.");
|
||||
yield "',
|
||||
pattern: '";
|
||||
// line 14
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value seems to be invalid.");
|
||||
yield "',
|
||||
min: '";
|
||||
// line 15
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be greater than or equal to %s.");
|
||||
yield "',
|
||||
max: '";
|
||||
// line 16
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be lower than or equal to %s.");
|
||||
yield "',
|
||||
range: '";
|
||||
// line 17
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be between %s and %s.");
|
||||
yield "',
|
||||
minlength: '";
|
||||
// line 18
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is too short. It should have %s characters or more.");
|
||||
yield "',
|
||||
maxlength: '";
|
||||
// line 19
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is too long. It should have %s characters or fewer.");
|
||||
yield "',
|
||||
length: '";
|
||||
// line 20
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value length is invalid. It should be between %s and %s characters long.");
|
||||
yield "',
|
||||
mincheck: '";
|
||||
// line 21
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select at least %s choices.");
|
||||
yield "',
|
||||
maxcheck: '";
|
||||
// line 22
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select %s choices or fewer.");
|
||||
yield "',
|
||||
check: '";
|
||||
// line 23
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select between %s and %s choices.");
|
||||
yield "',
|
||||
equalto: '";
|
||||
// line 24
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be the same.");
|
||||
yield "'
|
||||
});
|
||||
|
||||
Parsley.setLocale('mailpoet');
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "parsley-translations.html";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 120 => 24, 116 => 23, 112 => 22, 108 => 21, 104 => 20, 100 => 19, 96 => 18, 92 => 17, 88 => 16, 84 => 15, 80 => 14, 76 => 13, 72 => 12, 67 => 10, 63 => 9, 59 => 8, 55 => 7, 51 => 6, 47 => 5, 42 => 3, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "parsley-translations.html", "/home/circleci/mailpoet/mailpoet/views/parsley-translations.html");
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?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;
|
||||
|
||||
/* subscription/confirm_unsubscribe.html */
|
||||
class __TwigTemplate_b2e90aa663ee76ef09938814932102214bf0368922c2c205f621d8de92729c0a 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
|
||||
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 2
|
||||
yield "<p class=\"mailpoet_confirm_unsubscribe\">
|
||||
";
|
||||
// line 3
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Simply click on this link to stop receiving emails from us.");
|
||||
yield "
|
||||
<br>
|
||||
<a href=\"";
|
||||
// line 5
|
||||
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["unsubscribeUrl"] ?? null), "html", null, true);
|
||||
yield "\" rel=\"nofollow\">";
|
||||
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Yes, unsubscribe me", "Text in unsubscribe link");
|
||||
yield "</a>
|
||||
</p>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "subscription/confirm_unsubscribe.html";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 55 => 5, 50 => 3, 47 => 2, 39 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "subscription/confirm_unsubscribe.html", "/home/circleci/mailpoet/mailpoet/views/subscription/confirm_unsubscribe.html");
|
||||
}
|
||||
}
|
||||
+2134
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<?php
|
||||
Reference in New Issue
Block a user